Lines Matching refs:sgl
43 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()
309 void sgl_free_n_order(struct scatterlist *sgl, int nents, int order);
310 void sgl_free_order(struct scatterlist *sgl, int order);
311 void sgl_free(struct scatterlist *sgl);
314 size_t sg_copy_buffer(struct scatterlist *sgl, unsigned int nents, void *buf,
317 size_t sg_copy_from_buffer(struct scatterlist *sgl, unsigned int nents,
319 size_t sg_copy_to_buffer(struct scatterlist *sgl, unsigned int nents,
322 size_t sg_pcopy_from_buffer(struct scatterlist *sgl, unsigned int nents,
324 size_t sg_pcopy_to_buffer(struct scatterlist *sgl, unsigned int nents,
326 size_t sg_zero_buffer(struct scatterlist *sgl, unsigned int nents,
460 for_each_sg_page((sgt)->sgl, piter, (sgt)->orig_nents, pgoffset)
474 for_each_sg_dma_page((sgt)->sgl, dma_iter, (sgt)->nents, pgoffset)
511 void sg_miter_start(struct sg_mapping_iter *miter, struct scatterlist *sgl,