Lines Matching refs:mapped_nents
3529 int src_nents, mapped_nents, qm_sg_bytes, qm_sg_src_index; in ahash_update_ctx() local
3547 mapped_nents = dma_map_sg(ctx->dev, req->src, src_nents, in ahash_update_ctx()
3549 if (!mapped_nents) { in ahash_update_ctx()
3554 mapped_nents = 0; in ahash_update_ctx()
3567 qm_sg_bytes = pad_sg_nents(qm_sg_src_index + mapped_nents) * in ahash_update_ctx()
3580 if (mapped_nents) { in ahash_update_ctx()
3717 int src_nents, mapped_nents; in ahash_finup_ctx() local
3730 mapped_nents = dma_map_sg(ctx->dev, req->src, src_nents, in ahash_finup_ctx()
3732 if (!mapped_nents) { in ahash_finup_ctx()
3737 mapped_nents = 0; in ahash_finup_ctx()
3749 qm_sg_bytes = pad_sg_nents(qm_sg_src_index + mapped_nents) * in ahash_finup_ctx()
3810 int src_nents, mapped_nents; in ahash_digest() local
3823 mapped_nents = dma_map_sg(ctx->dev, req->src, src_nents, in ahash_digest()
3825 if (!mapped_nents) { in ahash_digest()
3830 mapped_nents = 0; in ahash_digest()
3843 if (mapped_nents > 1) { in ahash_digest()
3847 qm_sg_bytes = pad_sg_nents(mapped_nents) * sizeof(*sg_table); in ahash_digest()
3981 int qm_sg_bytes, src_nents, mapped_nents; in ahash_update_no_ctx() local
3999 mapped_nents = dma_map_sg(ctx->dev, req->src, src_nents, in ahash_update_no_ctx()
4001 if (!mapped_nents) { in ahash_update_no_ctx()
4006 mapped_nents = 0; in ahash_update_no_ctx()
4018 qm_sg_bytes = pad_sg_nents(1 + mapped_nents) * in ahash_update_no_ctx()
4099 int qm_sg_bytes, src_nents, mapped_nents; in ahash_finup_no_ctx() local
4112 mapped_nents = dma_map_sg(ctx->dev, req->src, src_nents, in ahash_finup_no_ctx()
4114 if (!mapped_nents) { in ahash_finup_no_ctx()
4119 mapped_nents = 0; in ahash_finup_no_ctx()
4130 qm_sg_bytes = pad_sg_nents(2 + mapped_nents) * sizeof(*sg_table); in ahash_finup_no_ctx()
4198 int src_nents, mapped_nents; in ahash_update_first() local
4217 mapped_nents = dma_map_sg(ctx->dev, req->src, src_nents, in ahash_update_first()
4219 if (!mapped_nents) { in ahash_update_first()
4224 mapped_nents = 0; in ahash_update_first()
4242 if (mapped_nents > 1) { in ahash_update_first()
4246 qm_sg_bytes = pad_sg_nents(mapped_nents) * in ahash_update_first()