Go to the documentation of this file. 1 #ifndef __ASM_GENERIC_SCATTERLIST_H
2 #define __ASM_GENERIC_SCATTERLIST_H
4 #include <linux/types.h>
8 unsigned long sg_magic;
14 #ifdef CONFIG_NEED_SG_DMA_LENGTH
15 unsigned int dma_length;
26 #define sg_dma_address(sg) ((sg)->dma_address)
28 #ifdef CONFIG_NEED_SG_DMA_LENGTH
29 #define sg_dma_len(sg) ((sg)->dma_length)
31 #define sg_dma_len(sg) ((sg)->length)