Lines Matching refs:srcsg

614 	int srcsg = minsg;  in chcr_hash_ent_in_wr()  local
621 while (src && space > (sgl_ent_len[srcsg + 1])) { in chcr_hash_ent_in_wr()
626 srcsg++; in chcr_hash_ent_in_wr()
644 int srcsg = minsg, dstsg = minsg; in chcr_sg_ent_in_wr() local
657 space > (sgl_ent_len[srcsg + 1] + dsgl_ent_len[dstsg])) { in chcr_sg_ent_in_wr()
661 srcsg++; in chcr_sg_ent_in_wr()
664 space > (sgl_ent_len[srcsg] + dsgl_ent_len[dstsg + 1])) { in chcr_sg_ent_in_wr()
825 nents = sg_nents_xlen(reqctx->srcsg, wrparam->bytes, in create_cipher_wr()
1181 bytes = chcr_sg_ent_in_wr(reqctx->srcsg, reqctx->dstsg, 0, in chcr_handle_cipher_resp()
1339 reqctx->srcsg = req->src; in process_cipher()
1583 nents = sg_nents_xlen(req_ctx->hctx_wr.srcsg, param->sg_len, in create_hash_wr()
1718 req_ctx->hctx_wr.srcsg = req->src; in chcr_ahash_update()
1799 req_ctx->hctx_wr.srcsg = req->src; in chcr_ahash_final()
1897 req_ctx->hctx_wr.srcsg = req->src; in chcr_ahash_finup()
1991 req_ctx->hctx_wr.srcsg = req->src; in chcr_ahash_digest()
2044 params.sg_len = chcr_hash_ent_in_wr(hctx_wr->srcsg, 0, in chcr_ahash_continue()
2740 ulptx_walk_add_sg(&ulp_walk, reqctx->srcsg, wrparam->bytes, in chcr_add_cipher_src_ent()
2742 reqctx->srcsg = ulp_walk.last_sg; in chcr_add_cipher_src_ent()
2784 sg_pcopy_to_buffer(reqctx->hctx_wr.srcsg, in chcr_add_hash_src_ent()
2785 sg_nents(reqctx->hctx_wr.srcsg), buf, in chcr_add_hash_src_ent()
2792 ulptx_walk_add_sg(&ulp_walk, reqctx->hctx_wr.srcsg, in chcr_add_hash_src_ent()
2794 reqctx->hctx_wr.srcsg = ulp_walk.last_sg; in chcr_add_hash_src_ent()