Searched refs:new_sg (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/crypto/ |
H A D | omap-crypto.c | 18 struct scatterlist *new_sg, u16 flags) in omap_crypto_copy_sg_lists() argument 24 new_sg = kmalloc_array(n, sizeof(*sg), GFP_KERNEL); in omap_crypto_copy_sg_lists() 25 if (!new_sg) in omap_crypto_copy_sg_lists() 28 sg_init_table(new_sg, n); in omap_crypto_copy_sg_lists() 31 tmp = new_sg; in omap_crypto_copy_sg_lists() 50 *sg = new_sg; in omap_crypto_copy_sg_lists() 56 struct scatterlist *new_sg, u16 flags) in omap_crypto_copy_sgs() argument 79 sg_init_table(new_sg, 1); in omap_crypto_copy_sgs() 81 sg_set_buf(new_sg, buf, new_len); in omap_crypto_copy_sgs() 83 *sg = new_sg; in omap_crypto_copy_sgs() [all …]
|
H A D | omap-crypto.h | 28 struct scatterlist *new_sg, u16 flags,
|
/linux/drivers/gpu/drm/i915/ |
H A D | i915_scatterlist.c | 18 struct scatterlist *sg, *new_sg; in i915_sg_trim() local 27 new_sg = new_st.sgl; in i915_sg_trim() 29 sg_set_page(new_sg, sg_page(sg), sg->length, 0); in i915_sg_trim() 30 sg_dma_address(new_sg) = sg_dma_address(sg); in i915_sg_trim() 31 sg_dma_len(new_sg) = sg_dma_len(sg); in i915_sg_trim() 33 new_sg = sg_next(new_sg); in i915_sg_trim() 35 GEM_BUG_ON(new_sg); /* Should walk exactly nents and hit the end */ in i915_sg_trim()
|
/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_bl.c | 375 struct scatterlist *new_sg; in qat_bl_realloc_map_new_dst() local 379 ret = qat_bl_sgl_alloc_map(accel_dev, &new_sg, &new_bl, dlen, gfp); in qat_bl_realloc_map_new_dst() 402 *sg = new_sg; in qat_bl_realloc_map_new_dst() 406 qat_bl_sgl_free_unmap(accel_dev, new_sg, new_bl, true); in qat_bl_realloc_map_new_dst()
|
/linux/lib/ |
H A D | scatterlist.c | 392 struct scatterlist *new_sg, *next_sg; in get_next_sg() local 403 new_sg = sg_kmalloc(alloc_size, gfp_mask); in get_next_sg() 404 if (!new_sg) in get_next_sg() 406 sg_init_table(new_sg, alloc_size); in get_next_sg() 409 __sg_chain(next_sg, new_sg); in get_next_sg() 411 table->sgt.sgl = new_sg; in get_next_sg() 414 return new_sg; in get_next_sg()
|