Lines Matching refs:sg_len
1582 param->sg_len) <= SGE_MAX_WR_LEN; in create_hash_wr()
1583 nents = sg_nents_xlen(req_ctx->hctx_wr.srcsg, param->sg_len, in create_hash_wr()
1587 param->sg_len, 16) : (sgl_len(nents) * 8); in create_hash_wr()
1598 chcr_req->sec_cpl.pldlen = htonl(param->bfr_len + param->sg_len); in create_hash_wr()
1644 (param->sg_len + param->bfr_len) : 0); in create_hash_wr()
1707 params.sg_len = chcr_hash_ent_in_wr(req->src, !!req_ctx->reqlen, in chcr_ahash_update()
1709 if (params.sg_len > req->nbytes) in chcr_ahash_update()
1710 params.sg_len = req->nbytes; in chcr_ahash_update()
1711 params.sg_len = rounddown(params.sg_len + req_ctx->reqlen, bs) - in chcr_ahash_update()
1721 req_ctx->data_len += params.sg_len + params.bfr_len; in chcr_ahash_update()
1728 req_ctx->hctx_wr.processed += params.sg_len; in chcr_ahash_update()
1785 params.sg_len = 0; in chcr_ahash_final()
1798 req_ctx->data_len += params.bfr_len + params.sg_len; in chcr_ahash_final()
1873 params.sg_len = chcr_hash_ent_in_wr(req->src, !!req_ctx->reqlen, in chcr_ahash_finup()
1875 if (params.sg_len < req->nbytes) { in chcr_ahash_finup()
1882 params.sg_len = rounddown(params.sg_len + req_ctx->reqlen, bs) in chcr_ahash_finup()
1889 params.sg_len = req->nbytes; in chcr_ahash_finup()
1892 params.sg_len; in chcr_ahash_finup()
1895 req_ctx->data_len += params.bfr_len + params.sg_len; in chcr_ahash_finup()
1911 req_ctx->hctx_wr.processed += params.sg_len; in chcr_ahash_finup()
1969 params.sg_len = chcr_hash_ent_in_wr(req->src, !!req_ctx->reqlen, in chcr_ahash_digest()
1971 if (params.sg_len < req->nbytes) { in chcr_ahash_digest()
1979 params.sg_len = rounddown(params.sg_len, bs); in chcr_ahash_digest()
1982 params.sg_len = req->nbytes; in chcr_ahash_digest()
1992 req_ctx->data_len += params.bfr_len + params.sg_len; in chcr_ahash_digest()
2005 req_ctx->hctx_wr.processed += params.sg_len; in chcr_ahash_digest()
2044 params.sg_len = chcr_hash_ent_in_wr(hctx_wr->srcsg, 0, in chcr_ahash_continue()
2047 if ((params.sg_len + hctx_wr->processed) > req->nbytes) in chcr_ahash_continue()
2048 params.sg_len = req->nbytes - hctx_wr->processed; in chcr_ahash_continue()
2050 ((params.sg_len + hctx_wr->processed) < req->nbytes)) { in chcr_ahash_continue()
2057 params.sg_len = rounddown(params.sg_len, bs); in chcr_ahash_continue()
2064 params.scmd1 = reqctx->data_len + params.sg_len; in chcr_ahash_continue()
2067 reqctx->data_len += params.sg_len; in chcr_ahash_continue()
2073 hctx_wr->processed += params.sg_len; in chcr_ahash_continue()
2786 param->sg_len, 0); in chcr_add_hash_src_ent()
2793 param->sg_len, reqctx->hctx_wr.src_ofst); in chcr_add_hash_src_ent()