Lines Matching refs:mapped_src_nents
951 int src_nents, mapped_src_nents, dst_nents = 0, mapped_dst_nents = 0; in aead_edesc_alloc() local
985 mapped_src_nents = dma_map_sg(qidev, req->src, src_nents, in aead_edesc_alloc()
987 if (unlikely(!mapped_src_nents)) { in aead_edesc_alloc()
1013 mapped_src_nents = dma_map_sg(qidev, req->src, in aead_edesc_alloc()
1015 if (unlikely(!mapped_src_nents)) { in aead_edesc_alloc()
1021 mapped_src_nents = 0; in aead_edesc_alloc()
1055 qm_sg_ents = 1 + !!ivsize + mapped_src_nents; in aead_edesc_alloc()
1058 else if ((req->src == req->dst) && (mapped_src_nents > 1)) in aead_edesc_alloc()
1060 1 + !!ivsize + pad_sg_nents(mapped_src_nents)); in aead_edesc_alloc()
1117 qm_sg_index += mapped_src_nents; in aead_edesc_alloc()
1143 if (mapped_src_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
1291 mapped_src_nents = dma_map_sg(qidev, req->src, src_nents, in skcipher_edesc_alloc()
1293 if (unlikely(!mapped_src_nents)) { in skcipher_edesc_alloc()
1306 mapped_src_nents = dma_map_sg(qidev, req->src, src_nents, in skcipher_edesc_alloc()
1308 if (unlikely(!mapped_src_nents)) { in skcipher_edesc_alloc()
1314 qm_sg_ents = 1 + mapped_src_nents; in skcipher_edesc_alloc()