Lines Matching refs:sgl
40 struct scatterlist *sgl; /* the list */ member
178 for_each_sg((sgt)->sgl, sg, (sgt)->orig_nents, i)
186 for_each_sg((sgt)->sgl, sg, (sgt)->nents, i)
189 struct scatterlist *sgl) in __sg_chain() argument
201 chain_sg->page_link = ((unsigned long) sgl | SG_CHAIN) & ~SG_END; in __sg_chain()
215 struct scatterlist *sgl) in sg_chain() argument
217 __sg_chain(&prv[prv_nents - 1], sgl); in sg_chain()
353 static inline void sg_init_marker(struct scatterlist *sgl, in sg_init_marker() argument
356 sg_mark_end(&sgl[nents - 1]); in sg_init_marker()
427 void sgl_free_n_order(struct scatterlist *sgl, int nents, int order);
428 void sgl_free_order(struct scatterlist *sgl, int order);
429 void sgl_free(struct scatterlist *sgl);
432 size_t sg_copy_buffer(struct scatterlist *sgl, unsigned int nents, void *buf,
435 size_t sg_copy_from_buffer(struct scatterlist *sgl, unsigned int nents,
437 size_t sg_copy_to_buffer(struct scatterlist *sgl, unsigned int nents,
440 size_t sg_pcopy_from_buffer(struct scatterlist *sgl, unsigned int nents,
442 size_t sg_pcopy_to_buffer(struct scatterlist *sgl, unsigned int nents,
444 size_t sg_zero_buffer(struct scatterlist *sgl, unsigned int nents,
578 for_each_sg_page((sgt)->sgl, piter, (sgt)->orig_nents, pgoffset)
592 for_each_sg_dma_page((sgt)->sgl, dma_iter, (sgt)->nents, pgoffset)
629 void sg_miter_start(struct sg_mapping_iter *miter, struct scatterlist *sgl,