Searched refs:new_sg (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/crypto/ |
D | omap-crypto.c | 21 struct scatterlist *new_sg, u16 flags) in omap_crypto_copy_sg_lists() argument 27 new_sg = kmalloc_array(n, sizeof(*sg), GFP_KERNEL); in omap_crypto_copy_sg_lists() 28 if (!new_sg) in omap_crypto_copy_sg_lists() 31 sg_init_table(new_sg, n); in omap_crypto_copy_sg_lists() 34 tmp = new_sg; in omap_crypto_copy_sg_lists() 53 *sg = new_sg; in omap_crypto_copy_sg_lists() 59 struct scatterlist *new_sg, u16 flags) in omap_crypto_copy_sgs() argument 82 sg_init_table(new_sg, 1); in omap_crypto_copy_sgs() 84 sg_set_buf(new_sg, buf, new_len); in omap_crypto_copy_sgs() 86 *sg = new_sg; in omap_crypto_copy_sgs() [all …]
|
D | omap-crypto.h | 31 struct scatterlist *new_sg, u16 flags,
|
/Linux-v4.19/drivers/staging/android/ion/ |
D | ion.c | 170 struct scatterlist *sg, *new_sg; in dup_sg_table() local 182 new_sg = new_table->sgl; in dup_sg_table() 184 memcpy(new_sg, sg, sizeof(*sg)); in dup_sg_table() 185 new_sg->dma_address = 0; in dup_sg_table() 186 new_sg = sg_next(new_sg); in dup_sg_table()
|
/Linux-v4.19/drivers/gpu/drm/i915/ |
D | i915_gem.c | 2492 struct scatterlist *sg, *new_sg; in i915_sg_trim() local 2501 new_sg = new_st.sgl; in i915_sg_trim() 2503 sg_set_page(new_sg, sg_page(sg), sg->length, 0); in i915_sg_trim() 2505 new_sg = sg_next(new_sg); in i915_sg_trim() 2507 GEM_BUG_ON(new_sg); /* Should walk exactly nents and hit the end */ in i915_sg_trim()
|