Lines Matching refs:srcsg
619 int srcsg = minsg; in chcr_hash_ent_in_wr() local
626 while (src && space > (sgl_ent_len[srcsg + 1])) { in chcr_hash_ent_in_wr()
631 srcsg++; in chcr_hash_ent_in_wr()
649 int srcsg = minsg, dstsg = minsg; in chcr_sg_ent_in_wr() local
662 space > (sgl_ent_len[srcsg + 1] + dsgl_ent_len[dstsg])) { in chcr_sg_ent_in_wr()
666 srcsg++; in chcr_sg_ent_in_wr()
669 space > (sgl_ent_len[srcsg] + dsgl_ent_len[dstsg + 1])) { in chcr_sg_ent_in_wr()
781 nents = sg_nents_xlen(reqctx->srcsg, wrparam->bytes, in create_cipher_wr()
1134 bytes = chcr_sg_ent_in_wr(reqctx->srcsg, reqctx->dstsg, 0, in chcr_handle_cipher_resp()
1277 reqctx->srcsg = req->src; in process_cipher()
1511 nents = sg_nents_xlen(req_ctx->hctx_wr.srcsg, param->sg_len, in create_hash_wr()
1641 req_ctx->hctx_wr.srcsg = req->src; in chcr_ahash_update()
1717 req_ctx->hctx_wr.srcsg = req->src; in chcr_ahash_final()
1811 req_ctx->hctx_wr.srcsg = req->src; in chcr_ahash_finup()
1902 req_ctx->hctx_wr.srcsg = req->src; in chcr_ahash_digest()
1949 params.sg_len = chcr_hash_ent_in_wr(hctx_wr->srcsg, 0, in chcr_ahash_continue()
2594 ulptx_walk_add_sg(&ulp_walk, reqctx->srcsg, wrparam->bytes, in chcr_add_cipher_src_ent()
2596 reqctx->srcsg = ulp_walk.last_sg; in chcr_add_cipher_src_ent()
2636 sg_pcopy_to_buffer(reqctx->hctx_wr.srcsg, in chcr_add_hash_src_ent()
2637 sg_nents(reqctx->hctx_wr.srcsg), buf, in chcr_add_hash_src_ent()
2644 ulptx_walk_add_sg(&ulp_walk, reqctx->hctx_wr.srcsg, in chcr_add_hash_src_ent()
2646 reqctx->hctx_wr.srcsg = ulp_walk.last_sg; in chcr_add_hash_src_ent()