Home
last modified time | relevance | path

Searched refs:new_sg (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/crypto/
H A Domap-crypto.c18 struct scatterlist *new_sg, u16 flags) in omap_crypto_copy_sg_lists() argument
24 new_sg = kmalloc_objs(*new_sg, n); 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 Domap-crypto.h28 struct scatterlist *new_sg, u16 flags,
/linux/lib/
H A Dscatterlist.c394 struct scatterlist *new_sg, *next_sg; in get_next_sg() local
405 new_sg = sg_kmalloc(alloc_size, gfp_mask); in get_next_sg()
406 if (!new_sg) in get_next_sg()
408 sg_init_table(new_sg, alloc_size); in get_next_sg()
411 __sg_chain(next_sg, new_sg); in get_next_sg()
413 table->sgt.sgl = new_sg; in get_next_sg()
416 return new_sg; in get_next_sg()