Searched refs:mapped_dst_nents (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/crypto/caam/ |
D | caampkc.c | 263 int mapped_src_nents, mapped_dst_nents; in rsa_edesc_alloc() local 300 mapped_dst_nents = dma_map_sg(dev, req->dst, dst_nents, in rsa_edesc_alloc() 302 if (unlikely(!mapped_dst_nents)) { in rsa_edesc_alloc() 313 if (mapped_dst_nents > 1) in rsa_edesc_alloc() 314 sec4_sg_len += pad_sg_nents(mapped_dst_nents); in rsa_edesc_alloc() 334 if (mapped_dst_nents > 1) in rsa_edesc_alloc() 348 edesc->mapped_dst_nents = mapped_dst_nents; in rsa_edesc_alloc() 436 if (edesc->mapped_dst_nents > 1) { in set_rsa_pub_pdb() 484 if (edesc->mapped_dst_nents > 1) { in set_rsa_priv_f1_pdb() 549 if (edesc->mapped_dst_nents > 1) { in set_rsa_priv_f2_pdb() [all …]
|
D | caamalg.c | 901 int mapped_dst_nents; member 927 int mapped_dst_nents; member 1108 if (!edesc->mapped_dst_nents) { in init_aead_job() 1111 } else if (edesc->mapped_dst_nents == 1) { in init_aead_job() 1291 } else if (!ivsize && edesc->mapped_dst_nents == 1) { in init_skcipher_job() 1315 int src_nents, mapped_src_nents, dst_nents = 0, mapped_dst_nents = 0; in aead_edesc_alloc() local 1372 mapped_dst_nents = dma_map_sg(jrdev, req->dst, in aead_edesc_alloc() 1375 if (unlikely(!mapped_dst_nents)) { in aead_edesc_alloc() 1382 mapped_dst_nents = 0; in aead_edesc_alloc() 1391 if (mapped_dst_nents > 1) in aead_edesc_alloc() [all …]
|
D | caamalg_qi.c | 951 int src_nents, mapped_src_nents, dst_nents = 0, mapped_dst_nents = 0; in aead_edesc_alloc() local 1025 mapped_dst_nents = dma_map_sg(qidev, req->dst, in aead_edesc_alloc() 1028 if (unlikely(!mapped_dst_nents)) { in aead_edesc_alloc() 1036 mapped_dst_nents = 0; in aead_edesc_alloc() 1056 if (mapped_dst_nents > 1) in aead_edesc_alloc() 1057 qm_sg_ents += pad_sg_nents(mapped_dst_nents); in aead_edesc_alloc() 1119 if (mapped_dst_nents > 1) in aead_edesc_alloc() 1150 } else if (mapped_dst_nents <= 1) { in aead_edesc_alloc() 1262 int src_nents, mapped_src_nents, dst_nents = 0, mapped_dst_nents = 0; in skcipher_edesc_alloc() local 1298 mapped_dst_nents = dma_map_sg(qidev, req->dst, dst_nents, in skcipher_edesc_alloc() [all …]
|
D | caampkc.h | 135 int mapped_dst_nents; member
|
D | caamalg_qi2.c | 364 int src_nents, mapped_src_nents, dst_nents = 0, mapped_dst_nents = 0; in aead_edesc_alloc() local 414 mapped_dst_nents = dma_map_sg(dev, req->dst, dst_nents, in aead_edesc_alloc() 416 if (unlikely(!mapped_dst_nents)) { in aead_edesc_alloc() 424 mapped_dst_nents = 0; in aead_edesc_alloc() 463 if (mapped_dst_nents > 1) in aead_edesc_alloc() 464 qm_sg_nents += pad_sg_nents(mapped_dst_nents); in aead_edesc_alloc() 532 if (mapped_dst_nents > 1) in aead_edesc_alloc() 567 } else if (!mapped_dst_nents) { in aead_edesc_alloc() 575 } else if (mapped_dst_nents == 1) { in aead_edesc_alloc() 1122 int src_nents, mapped_src_nents, dst_nents = 0, mapped_dst_nents = 0; in skcipher_edesc_alloc() local [all …]
|