Lines Matching defs:nents
27 int nents; in sg_nents() local
50 int nents; in sg_nents_for_len() local
81 struct scatterlist *sg_last(struct scatterlist *sgl, unsigned int nents) in sg_last()
104 void sg_init_table(struct scatterlist *sgl, unsigned int nents) in sg_init_table()
129 static struct scatterlist *sg_kmalloc(unsigned int nents, gfp_t gfp_mask) in sg_kmalloc()
149 static void sg_kfree(struct scatterlist *sg, unsigned int nents) in sg_kfree()
263 int __sg_alloc_table(struct sg_table *table, unsigned int nents, in __sg_alloc_table()
352 int sg_alloc_table(struct sg_table *table, unsigned int nents, gfp_t gfp_mask) in sg_alloc_table()
663 void sgl_free_n_order(struct scatterlist *sgl, int nents, int order) in sgl_free_n_order()
704 struct scatterlist *sglist, unsigned int nents, in __sg_page_iter_start()
779 unsigned int nents, unsigned int flags) in sg_miter_start()
944 size_t sg_copy_buffer(struct scatterlist *sgl, unsigned int nents, void *buf, in sg_copy_buffer()
990 size_t sg_copy_from_buffer(struct scatterlist *sgl, unsigned int nents, in sg_copy_from_buffer()
1007 size_t sg_copy_to_buffer(struct scatterlist *sgl, unsigned int nents, in sg_copy_to_buffer()
1025 size_t sg_pcopy_from_buffer(struct scatterlist *sgl, unsigned int nents, in sg_pcopy_from_buffer()
1043 size_t sg_pcopy_to_buffer(struct scatterlist *sgl, unsigned int nents, in sg_pcopy_to_buffer()
1059 size_t sg_zero_buffer(struct scatterlist *sgl, unsigned int nents, in sg_zero_buffer()