Lines Matching refs:srcsg
618 int srcsg = minsg; in chcr_hash_ent_in_wr() local
625 while (src && space > (sgl_ent_len[srcsg + 1])) { in chcr_hash_ent_in_wr()
630 srcsg++; in chcr_hash_ent_in_wr()
648 int srcsg = minsg, dstsg = minsg; in chcr_sg_ent_in_wr() local
661 space > (sgl_ent_len[srcsg + 1] + dsgl_ent_len[dstsg])) { in chcr_sg_ent_in_wr()
665 srcsg++; in chcr_sg_ent_in_wr()
668 space > (sgl_ent_len[srcsg] + dsgl_ent_len[dstsg + 1])) { in chcr_sg_ent_in_wr()
832 nents = sg_nents_xlen(reqctx->srcsg, wrparam->bytes, in create_cipher_wr()
1188 bytes = chcr_sg_ent_in_wr(reqctx->srcsg, reqctx->dstsg, 0, in chcr_handle_cipher_resp()
1346 reqctx->srcsg = req->src; in process_cipher()
1589 nents = sg_nents_xlen(req_ctx->hctx_wr.srcsg, param->sg_len, in create_hash_wr()
1724 req_ctx->hctx_wr.srcsg = req->src; in chcr_ahash_update()
1805 req_ctx->hctx_wr.srcsg = req->src; in chcr_ahash_final()
1903 req_ctx->hctx_wr.srcsg = req->src; in chcr_ahash_finup()
1997 req_ctx->hctx_wr.srcsg = req->src; in chcr_ahash_digest()
2050 params.sg_len = chcr_hash_ent_in_wr(hctx_wr->srcsg, 0, in chcr_ahash_continue()
2746 ulptx_walk_add_sg(&ulp_walk, reqctx->srcsg, wrparam->bytes, in chcr_add_cipher_src_ent()
2748 reqctx->srcsg = ulp_walk.last_sg; in chcr_add_cipher_src_ent()
2790 sg_pcopy_to_buffer(reqctx->hctx_wr.srcsg, in chcr_add_hash_src_ent()
2791 sg_nents(reqctx->hctx_wr.srcsg), buf, in chcr_add_hash_src_ent()
2798 ulptx_walk_add_sg(&ulp_walk, reqctx->hctx_wr.srcsg, in chcr_add_hash_src_ent()
2800 reqctx->hctx_wr.srcsg = ulp_walk.last_sg; in chcr_add_hash_src_ent()