Lines Matching refs:mapped_src_nents
364 int src_nents, mapped_src_nents, dst_nents = 0, mapped_dst_nents = 0; in aead_edesc_alloc() local
402 mapped_src_nents = dma_map_sg(dev, req->src, src_nents, in aead_edesc_alloc()
404 if (unlikely(!mapped_src_nents)) { in aead_edesc_alloc()
410 mapped_src_nents = 0; in aead_edesc_alloc()
438 mapped_src_nents = dma_map_sg(dev, req->src, src_nents, in aead_edesc_alloc()
440 if (unlikely(!mapped_src_nents)) { in aead_edesc_alloc()
462 qm_sg_nents = 1 + !!ivsize + mapped_src_nents; in aead_edesc_alloc()
465 else if ((req->src == req->dst) && (mapped_src_nents > 1)) in aead_edesc_alloc()
468 pad_sg_nents(mapped_src_nents)); in aead_edesc_alloc()
530 qm_sg_index += mapped_src_nents; in aead_edesc_alloc()
559 if (mapped_src_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
1145 mapped_src_nents = dma_map_sg(dev, req->src, src_nents, in skcipher_edesc_alloc()
1147 if (unlikely(!mapped_src_nents)) { in skcipher_edesc_alloc()
1160 mapped_src_nents = dma_map_sg(dev, req->src, src_nents, in skcipher_edesc_alloc()
1162 if (unlikely(!mapped_src_nents)) { in skcipher_edesc_alloc()
1168 qm_sg_ents = 1 + mapped_src_nents; in skcipher_edesc_alloc()