Lines Matching refs:mapped_dst_nents
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()
1392 sec4_sg_len += pad_sg_nents(mapped_dst_nents); in aead_edesc_alloc()
1409 edesc->mapped_dst_nents = mapped_dst_nents; in aead_edesc_alloc()
1423 if (mapped_dst_nents > 1) { in aead_edesc_alloc()
1621 int src_nents, mapped_src_nents, dst_nents = 0, mapped_dst_nents = 0; in skcipher_edesc_alloc() local
1659 mapped_dst_nents = dma_map_sg(jrdev, req->dst, dst_nents, in skcipher_edesc_alloc()
1661 if (unlikely(!mapped_dst_nents)) { in skcipher_edesc_alloc()
1686 if (ivsize || mapped_dst_nents > 1) { in skcipher_edesc_alloc()
1690 sec4_sg_ents += pad_sg_nents(mapped_dst_nents + in skcipher_edesc_alloc()
1717 edesc->mapped_dst_nents = mapped_dst_nents; in skcipher_edesc_alloc()
1743 if (req->src != req->dst && (ivsize || mapped_dst_nents > 1)) in skcipher_edesc_alloc()
1749 mapped_dst_nents, iv_dma, ivsize, 0); in skcipher_edesc_alloc()
1751 if (ivsize || mapped_dst_nents > 1) in skcipher_edesc_alloc()
1753 mapped_dst_nents - 1 + !!ivsize); in skcipher_edesc_alloc()