mapped_src_nents 887 drivers/crypto/caam/caamalg.c int mapped_src_nents; mapped_src_nents 911 drivers/crypto/caam/caamalg.c int mapped_src_nents; mapped_src_nents 1109 drivers/crypto/caam/caamalg.c src_dma = edesc->mapped_src_nents ? sg_dma_address(req->src) : mapped_src_nents 1114 drivers/crypto/caam/caamalg.c sec4_sg_index += edesc->mapped_src_nents; mapped_src_nents 1294 drivers/crypto/caam/caamalg.c if (ivsize || edesc->mapped_src_nents > 1) { mapped_src_nents 1296 drivers/crypto/caam/caamalg.c sec4_sg_index = edesc->mapped_src_nents + !!ivsize; mapped_src_nents 1330 drivers/crypto/caam/caamalg.c int src_nents, mapped_src_nents, dst_nents = 0, mapped_dst_nents = 0; mapped_src_nents 1366 drivers/crypto/caam/caamalg.c mapped_src_nents = dma_map_sg(jrdev, req->src, src_nents, mapped_src_nents 1368 drivers/crypto/caam/caamalg.c if (unlikely(!mapped_src_nents)) { mapped_src_nents 1375 drivers/crypto/caam/caamalg.c mapped_src_nents = dma_map_sg(jrdev, req->src, mapped_src_nents 1377 drivers/crypto/caam/caamalg.c if (unlikely(!mapped_src_nents)) { mapped_src_nents 1382 drivers/crypto/caam/caamalg.c mapped_src_nents = 0; mapped_src_nents 1405 drivers/crypto/caam/caamalg.c sec4_sg_len = mapped_src_nents > 1 ? mapped_src_nents : 0; mapped_src_nents 1424 drivers/crypto/caam/caamalg.c edesc->mapped_src_nents = mapped_src_nents; mapped_src_nents 1428 drivers/crypto/caam/caamalg.c *all_contig_ptr = !(mapped_src_nents > 1); mapped_src_nents 1431 drivers/crypto/caam/caamalg.c if (mapped_src_nents > 1) { mapped_src_nents 1434 drivers/crypto/caam/caamalg.c sec4_sg_index += mapped_src_nents; mapped_src_nents 1687 drivers/crypto/caam/caamalg.c int src_nents, mapped_src_nents, dst_nents = 0, mapped_dst_nents = 0; mapped_src_nents 1711 drivers/crypto/caam/caamalg.c mapped_src_nents = dma_map_sg(jrdev, req->src, src_nents, mapped_src_nents 1713 drivers/crypto/caam/caamalg.c if (unlikely(!mapped_src_nents)) { mapped_src_nents 1718 drivers/crypto/caam/caamalg.c mapped_src_nents = dma_map_sg(jrdev, req->src, src_nents, mapped_src_nents 1720 drivers/crypto/caam/caamalg.c if (unlikely(!mapped_src_nents)) { mapped_src_nents 1733 drivers/crypto/caam/caamalg.c if (!ivsize && mapped_src_nents == 1) mapped_src_nents 1736 drivers/crypto/caam/caamalg.c sec4_sg_ents = mapped_src_nents + !!ivsize; mapped_src_nents 1777 drivers/crypto/caam/caamalg.c edesc->mapped_src_nents = mapped_src_nents; mapped_src_nents 948 drivers/crypto/caam/caamalg_qi.c int src_nents, mapped_src_nents, dst_nents = 0, mapped_dst_nents = 0; mapped_src_nents 982 drivers/crypto/caam/caamalg_qi.c mapped_src_nents = dma_map_sg(qidev, req->src, src_nents, mapped_src_nents 984 drivers/crypto/caam/caamalg_qi.c if (unlikely(!mapped_src_nents)) { mapped_src_nents 1010 drivers/crypto/caam/caamalg_qi.c mapped_src_nents = dma_map_sg(qidev, req->src, mapped_src_nents 1012 drivers/crypto/caam/caamalg_qi.c if (unlikely(!mapped_src_nents)) { mapped_src_nents 1018 drivers/crypto/caam/caamalg_qi.c mapped_src_nents = 0; mapped_src_nents 1052 drivers/crypto/caam/caamalg_qi.c qm_sg_ents = 1 + !!ivsize + mapped_src_nents; mapped_src_nents 1055 drivers/crypto/caam/caamalg_qi.c else if ((req->src == req->dst) && (mapped_src_nents > 1)) mapped_src_nents 1057 drivers/crypto/caam/caamalg_qi.c 1 + !!ivsize + pad_sg_nents(mapped_src_nents)); mapped_src_nents 1114 drivers/crypto/caam/caamalg_qi.c qm_sg_index += mapped_src_nents; mapped_src_nents 1140 drivers/crypto/caam/caamalg_qi.c if (mapped_src_nents == 1) mapped_src_nents 1254 drivers/crypto/caam/caamalg_qi.c int src_nents, mapped_src_nents, dst_nents = 0, mapped_dst_nents = 0; mapped_src_nents 1282 drivers/crypto/caam/caamalg_qi.c mapped_src_nents = dma_map_sg(qidev, req->src, src_nents, mapped_src_nents 1284 drivers/crypto/caam/caamalg_qi.c if (unlikely(!mapped_src_nents)) { mapped_src_nents 1297 drivers/crypto/caam/caamalg_qi.c mapped_src_nents = dma_map_sg(qidev, req->src, src_nents, mapped_src_nents 1299 drivers/crypto/caam/caamalg_qi.c if (unlikely(!mapped_src_nents)) { mapped_src_nents 1305 drivers/crypto/caam/caamalg_qi.c qm_sg_ents = 1 + mapped_src_nents; mapped_src_nents 360 drivers/crypto/caam/caamalg_qi2.c int src_nents, mapped_src_nents, dst_nents = 0, mapped_dst_nents = 0; mapped_src_nents 398 drivers/crypto/caam/caamalg_qi2.c mapped_src_nents = dma_map_sg(dev, req->src, src_nents, mapped_src_nents 400 drivers/crypto/caam/caamalg_qi2.c if (unlikely(!mapped_src_nents)) { mapped_src_nents 406 drivers/crypto/caam/caamalg_qi2.c mapped_src_nents = 0; mapped_src_nents 434 drivers/crypto/caam/caamalg_qi2.c mapped_src_nents = dma_map_sg(dev, req->src, src_nents, mapped_src_nents 436 drivers/crypto/caam/caamalg_qi2.c if (unlikely(!mapped_src_nents)) { mapped_src_nents 458 drivers/crypto/caam/caamalg_qi2.c qm_sg_nents = 1 + !!ivsize + mapped_src_nents; mapped_src_nents 461 drivers/crypto/caam/caamalg_qi2.c else if ((req->src == req->dst) && (mapped_src_nents > 1)) mapped_src_nents 464 drivers/crypto/caam/caamalg_qi2.c pad_sg_nents(mapped_src_nents)); mapped_src_nents 526 drivers/crypto/caam/caamalg_qi2.c qm_sg_index += mapped_src_nents; mapped_src_nents 555 drivers/crypto/caam/caamalg_qi2.c if (mapped_src_nents == 1) { mapped_src_nents 1126 drivers/crypto/caam/caamalg_qi2.c int src_nents, mapped_src_nents, dst_nents = 0, mapped_dst_nents = 0; mapped_src_nents 1149 drivers/crypto/caam/caamalg_qi2.c mapped_src_nents = dma_map_sg(dev, req->src, src_nents, mapped_src_nents 1151 drivers/crypto/caam/caamalg_qi2.c if (unlikely(!mapped_src_nents)) { mapped_src_nents 1164 drivers/crypto/caam/caamalg_qi2.c mapped_src_nents = dma_map_sg(dev, req->src, src_nents, mapped_src_nents 1166 drivers/crypto/caam/caamalg_qi2.c if (unlikely(!mapped_src_nents)) { mapped_src_nents 1172 drivers/crypto/caam/caamalg_qi2.c qm_sg_ents = 1 + mapped_src_nents;