H A D | scatterlist.h | 60 unsigned int nents; 69 unsigned int nents; 94 #define for_each_sg_page(sgl, iter, nents, pgoffset) \ argument 95 for (_sg_iter_init(sgl, iter, nents, pgoffset); \ 97 #define for_each_sg_dma_page(sgl, iter, nents, pgoffset) \ 98 for_each_sg_page(sgl, &(iter)->base, nents, pgoffset) 110 for_each_sg((sgt)->sgl, sg, (sgt)->nents, iter) 113 for_each_sg_dma_page((sgt)->sgl, iter, (sgt)->nents, pgoffset) 192 sg_init_table(struct scatterlist *sg, unsigned int nents) in sg_init_table() 194 bzero(sg, sizeof(*sg) * nents); 57 unsigned int nents; global() member 66 unsigned int nents; global() member 91 for_each_sg_page(sgl,iter,nents,pgoffset) global() argument 189 sg_init_table(struct scatterlist * sg,unsigned int nents) sg_init_table() argument 203 sg_kmalloc(unsigned int nents,gfp_t gfp_mask) sg_kmalloc() argument 212 sg_kfree(struct scatterlist * sg,unsigned int nents) sg_kfree() argument 261 __sg_alloc_table(struct sg_table * table,unsigned int nents,unsigned int max_ents,struct scatterlist * first_chunk,gfp_t gfp_mask,sg_alloc_fn * alloc_fn) __sg_alloc_table() argument 316 sg_alloc_table(struct sg_table * table,unsigned int nents,gfp_t gfp_mask) sg_alloc_table() argument 451 int nents; sg_nents() local 460 __sg_page_iter_start(struct sg_page_iter * piter,struct scatterlist * sglist,unsigned int nents,unsigned long pgoffset) __sg_page_iter_start() argument 530 _sg_iter_init(struct scatterlist * sgl,struct sg_page_iter * iter,unsigned int nents,unsigned long pgoffset) _sg_iter_init() argument 566 sg_pcopy_from_buffer(struct scatterlist * sgl,unsigned int nents,const void * buf,size_t buflen,off_t skip) sg_pcopy_from_buffer() argument 618 sg_copy_from_buffer(struct scatterlist * sgl,unsigned int nents,const void * buf,size_t buflen) sg_copy_from_buffer() argument 625 sg_pcopy_to_buffer(struct scatterlist * sgl,unsigned int nents,void * buf,size_t buflen,off_t offset) sg_pcopy_to_buffer() argument [all...] |