Lines Matching refs:sgl
40 struct scatterlist *sgl; /* the list */ member
202 for_each_sg((sgt)->sgl, sg, (sgt)->orig_nents, i)
210 for_each_sg((sgt)->sgl, sg, (sgt)->nents, i)
213 struct scatterlist *sgl) in __sg_chain() argument
225 chain_sg->page_link = ((unsigned long) sgl | SG_CHAIN) & ~SG_END; in __sg_chain()
239 struct scatterlist *sgl) in sg_chain() argument
241 __sg_chain(&prv[prv_nents - 1], sgl); in sg_chain()
413 static inline void sg_init_marker(struct scatterlist *sgl, in sg_init_marker() argument
416 sg_mark_end(&sgl[nents - 1]); in sg_init_marker()
487 void sgl_free_n_order(struct scatterlist *sgl, int nents, int order);
488 void sgl_free_order(struct scatterlist *sgl, int order);
489 void sgl_free(struct scatterlist *sgl);
492 size_t sg_copy_buffer(struct scatterlist *sgl, unsigned int nents, void *buf,
495 size_t sg_copy_from_buffer(struct scatterlist *sgl, unsigned int nents,
497 size_t sg_copy_to_buffer(struct scatterlist *sgl, unsigned int nents,
500 size_t sg_pcopy_from_buffer(struct scatterlist *sgl, unsigned int nents,
502 size_t sg_pcopy_to_buffer(struct scatterlist *sgl, unsigned int nents,
504 size_t sg_zero_buffer(struct scatterlist *sgl, unsigned int nents,
638 for_each_sg_page((sgt)->sgl, piter, (sgt)->orig_nents, pgoffset)
652 for_each_sg_dma_page((sgt)->sgl, dma_iter, (sgt)->nents, pgoffset)
689 void sg_miter_start(struct sg_mapping_iter *miter, struct scatterlist *sgl,