Lines Matching refs:mapped_nents
3543 int src_nents, mapped_nents, qm_sg_bytes, qm_sg_src_index; in ahash_update_ctx() local
3561 mapped_nents = dma_map_sg(ctx->dev, req->src, src_nents, in ahash_update_ctx()
3563 if (!mapped_nents) { in ahash_update_ctx()
3568 mapped_nents = 0; in ahash_update_ctx()
3581 qm_sg_bytes = pad_sg_nents(qm_sg_src_index + mapped_nents) * in ahash_update_ctx()
3594 if (mapped_nents) { in ahash_update_ctx()
3731 int src_nents, mapped_nents; in ahash_finup_ctx() local
3744 mapped_nents = dma_map_sg(ctx->dev, req->src, src_nents, in ahash_finup_ctx()
3746 if (!mapped_nents) { in ahash_finup_ctx()
3751 mapped_nents = 0; in ahash_finup_ctx()
3763 qm_sg_bytes = pad_sg_nents(qm_sg_src_index + mapped_nents) * in ahash_finup_ctx()
3824 int src_nents, mapped_nents; in ahash_digest() local
3837 mapped_nents = dma_map_sg(ctx->dev, req->src, src_nents, in ahash_digest()
3839 if (!mapped_nents) { in ahash_digest()
3844 mapped_nents = 0; in ahash_digest()
3857 if (mapped_nents > 1) { in ahash_digest()
3861 qm_sg_bytes = pad_sg_nents(mapped_nents) * sizeof(*sg_table); in ahash_digest()
3995 int qm_sg_bytes, src_nents, mapped_nents; in ahash_update_no_ctx() local
4013 mapped_nents = dma_map_sg(ctx->dev, req->src, src_nents, in ahash_update_no_ctx()
4015 if (!mapped_nents) { in ahash_update_no_ctx()
4020 mapped_nents = 0; in ahash_update_no_ctx()
4032 qm_sg_bytes = pad_sg_nents(1 + mapped_nents) * in ahash_update_no_ctx()
4113 int qm_sg_bytes, src_nents, mapped_nents; in ahash_finup_no_ctx() local
4126 mapped_nents = dma_map_sg(ctx->dev, req->src, src_nents, in ahash_finup_no_ctx()
4128 if (!mapped_nents) { in ahash_finup_no_ctx()
4133 mapped_nents = 0; in ahash_finup_no_ctx()
4144 qm_sg_bytes = pad_sg_nents(2 + mapped_nents) * sizeof(*sg_table); in ahash_finup_no_ctx()
4212 int src_nents, mapped_nents; in ahash_update_first() local
4231 mapped_nents = dma_map_sg(ctx->dev, req->src, src_nents, in ahash_update_first()
4233 if (!mapped_nents) { in ahash_update_first()
4238 mapped_nents = 0; in ahash_update_first()
4256 if (mapped_nents > 1) { in ahash_update_first()
4260 qm_sg_bytes = pad_sg_nents(mapped_nents) * in ahash_update_first()