Lines Matching defs:wrparam
805 static struct sk_buff *create_cipher_wr(struct cipher_wr_param *wrparam)
807 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(wrparam->req);
816 skcipher_request_ctx(wrparam->req);
821 gfp_t flags = wrparam->req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP ?
827 nents = sg_nents_xlen(reqctx->dstsg, wrparam->bytes, CHCR_DST_SG_SIZE,
832 nents = sg_nents_xlen(reqctx->srcsg, wrparam->bytes,
834 temp = reqctx->imm ? roundup(wrparam->bytes, 16) :
847 chcr_req->sec_cpl.pldlen = htonl(IV + wrparam->bytes);
883 chcr_add_cipher_src_ent(wrparam->req, ulptx, wrparam);
884 chcr_add_cipher_dst_ent(wrparam->req, phys_cpl, wrparam, wrparam->qid);
888 + (reqctx->imm ? (wrparam->bytes) : 0);
889 create_wreq(c_ctx(tfm), chcr_req, &(wrparam->req->base), reqctx->imm, 0,
896 sg_pcopy_to_buffer(wrparam->req->src,
897 sg_nents(wrparam->req->src), wrparam->req->iv, 16,
898 reqctx->processed + wrparam->bytes - AES_BLOCK_SIZE);
1174 struct cipher_wr_param wrparam;
1216 wrparam.qid = u_ctx->lldi.rxq_ids[reqctx->rxqidx];
1217 wrparam.req = req;
1218 wrparam.bytes = bytes;
1219 skb = create_cipher_wr(&wrparam);
1259 struct cipher_wr_param wrparam;
1350 wrparam.qid = qid;
1351 wrparam.req = req;
1352 wrparam.bytes = bytes;
1353 *skb = create_cipher_wr(&wrparam);
2733 struct cipher_wr_param *wrparam)
2743 buf, wrparam->bytes, reqctx->processed);
2746 ulptx_walk_add_sg(&ulp_walk, reqctx->srcsg, wrparam->bytes,
2756 struct cipher_wr_param *wrparam,
2760 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(wrparam->req);
2768 dsgl_walk_add_sg(&dsgl_walk, reqctx->dstsg, wrparam->bytes,