Lines Matching refs:mapped_src_nents
900 int mapped_src_nents; member
926 int mapped_src_nents; member
1092 src_dma = edesc->mapped_src_nents ? sg_dma_address(req->src) : in init_aead_job()
1097 sec4_sg_index += edesc->mapped_src_nents; in init_aead_job()
1278 if (ivsize || edesc->mapped_src_nents > 1) { in init_skcipher_job()
1280 sec4_sg_index = edesc->mapped_src_nents + !!ivsize; in init_skcipher_job()
1315 int src_nents, mapped_src_nents, dst_nents = 0, mapped_dst_nents = 0; in aead_edesc_alloc() local
1351 mapped_src_nents = dma_map_sg(jrdev, req->src, src_nents, in aead_edesc_alloc()
1353 if (unlikely(!mapped_src_nents)) { in aead_edesc_alloc()
1360 mapped_src_nents = dma_map_sg(jrdev, req->src, in aead_edesc_alloc()
1362 if (unlikely(!mapped_src_nents)) { in aead_edesc_alloc()
1367 mapped_src_nents = 0; in aead_edesc_alloc()
1390 sec4_sg_len = mapped_src_nents > 1 ? mapped_src_nents : 0; in aead_edesc_alloc()
1408 edesc->mapped_src_nents = mapped_src_nents; in aead_edesc_alloc()
1415 *all_contig_ptr = !(mapped_src_nents > 1); in aead_edesc_alloc()
1418 if (mapped_src_nents > 1) { in aead_edesc_alloc()
1421 sec4_sg_index += mapped_src_nents; in aead_edesc_alloc()
1621 int src_nents, mapped_src_nents, dst_nents = 0, mapped_dst_nents = 0; in skcipher_edesc_alloc() local
1646 mapped_src_nents = dma_map_sg(jrdev, req->src, src_nents, in skcipher_edesc_alloc()
1648 if (unlikely(!mapped_src_nents)) { in skcipher_edesc_alloc()
1653 mapped_src_nents = dma_map_sg(jrdev, req->src, src_nents, in skcipher_edesc_alloc()
1655 if (unlikely(!mapped_src_nents)) { in skcipher_edesc_alloc()
1668 if (!ivsize && mapped_src_nents == 1) in skcipher_edesc_alloc()
1671 sec4_sg_ents = mapped_src_nents + !!ivsize; in skcipher_edesc_alloc()
1716 edesc->mapped_src_nents = mapped_src_nents; in skcipher_edesc_alloc()