Lines Matching refs:srcsg

601 	int srcsg = minsg;  in chcr_hash_ent_in_wr()  local
608 while (src && space > (sgl_ent_len[srcsg + 1])) { in chcr_hash_ent_in_wr()
613 srcsg++; in chcr_hash_ent_in_wr()
631 int srcsg = minsg, dstsg = minsg; in chcr_sg_ent_in_wr() local
644 space > (sgl_ent_len[srcsg + 1] + dsgl_ent_len[dstsg])) { in chcr_sg_ent_in_wr()
648 srcsg++; in chcr_sg_ent_in_wr()
651 space > (sgl_ent_len[srcsg] + dsgl_ent_len[dstsg + 1])) { in chcr_sg_ent_in_wr()
763 nents = sg_nents_xlen(reqctx->srcsg, wrparam->bytes, in create_cipher_wr()
1114 bytes = chcr_sg_ent_in_wr(reqctx->srcsg, reqctx->dstsg, 0, in chcr_handle_cipher_resp()
1253 reqctx->srcsg = req->src; in process_cipher()
1488 nents = sg_nents_xlen(req_ctx->hctx_wr.srcsg, param->sg_len, in create_hash_wr()
1606 req_ctx->hctx_wr.srcsg = req->src; in chcr_ahash_update()
1674 req_ctx->hctx_wr.srcsg = req->src; in chcr_ahash_final()
1755 req_ctx->hctx_wr.srcsg = req->src; in chcr_ahash_finup()
1836 req_ctx->hctx_wr.srcsg = req->src; in chcr_ahash_digest()
1881 params.sg_len = chcr_hash_ent_in_wr(hctx_wr->srcsg, 0, in chcr_ahash_continue()
2543 ulptx_walk_add_sg(&ulp_walk, reqctx->srcsg, wrparam->bytes, in chcr_add_cipher_src_ent()
2545 reqctx->srcsg = ulp_walk.last_sg; in chcr_add_cipher_src_ent()
2585 sg_pcopy_to_buffer(reqctx->hctx_wr.srcsg, in chcr_add_hash_src_ent()
2586 sg_nents(reqctx->hctx_wr.srcsg), buf, in chcr_add_hash_src_ent()
2593 ulptx_walk_add_sg(&ulp_walk, reqctx->hctx_wr.srcsg, in chcr_add_hash_src_ent()
2595 reqctx->hctx_wr.srcsg = ulp_walk.last_sg; in chcr_add_hash_src_ent()