Lines Matching refs:sgl
37 struct scatterlist *sgl; /* the list */ member
158 for_each_sg((sgt)->sgl, sg, (sgt)->orig_nents, i)
166 for_each_sg((sgt)->sgl, sg, (sgt)->nents, i)
169 struct scatterlist *sgl) in __sg_chain() argument
181 chain_sg->page_link = ((unsigned long) sgl | SG_CHAIN) & ~SG_END; in __sg_chain()
195 struct scatterlist *sgl) in sg_chain() argument
197 __sg_chain(&prv[prv_nents - 1], sgl); in sg_chain()
267 static inline void sg_init_marker(struct scatterlist *sgl, in sg_init_marker() argument
270 sg_mark_end(&sgl[nents - 1]); in sg_init_marker()
341 void sgl_free_n_order(struct scatterlist *sgl, int nents, int order);
342 void sgl_free_order(struct scatterlist *sgl, int order);
343 void sgl_free(struct scatterlist *sgl);
346 size_t sg_copy_buffer(struct scatterlist *sgl, unsigned int nents, void *buf,
349 size_t sg_copy_from_buffer(struct scatterlist *sgl, unsigned int nents,
351 size_t sg_copy_to_buffer(struct scatterlist *sgl, unsigned int nents,
354 size_t sg_pcopy_from_buffer(struct scatterlist *sgl, unsigned int nents,
356 size_t sg_pcopy_to_buffer(struct scatterlist *sgl, unsigned int nents,
358 size_t sg_zero_buffer(struct scatterlist *sgl, unsigned int nents,
492 for_each_sg_page((sgt)->sgl, piter, (sgt)->orig_nents, pgoffset)
506 for_each_sg_dma_page((sgt)->sgl, dma_iter, (sgt)->nents, pgoffset)
543 void sg_miter_start(struct sg_mapping_iter *miter, struct scatterlist *sgl,