Lines Matching defs:wrparam

796  *	@wrparam: Container for create_cipher_wr()'s parameters
798 static struct sk_buff *create_cipher_wr(struct cipher_wr_param *wrparam)
800 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(wrparam->req);
809 skcipher_request_ctx(wrparam->req);
814 gfp_t flags = wrparam->req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP ?
820 nents = sg_nents_xlen(reqctx->dstsg, wrparam->bytes, CHCR_DST_SG_SIZE,
825 nents = sg_nents_xlen(reqctx->srcsg, wrparam->bytes,
827 temp = reqctx->imm ? roundup(wrparam->bytes, 16) :
840 chcr_req->sec_cpl.pldlen = htonl(IV + wrparam->bytes);
876 chcr_add_cipher_src_ent(wrparam->req, ulptx, wrparam);
877 chcr_add_cipher_dst_ent(wrparam->req, phys_cpl, wrparam, wrparam->qid);
881 + (reqctx->imm ? (wrparam->bytes) : 0);
882 create_wreq(c_ctx(tfm), chcr_req, &(wrparam->req->base), reqctx->imm, 0,
889 sg_pcopy_to_buffer(wrparam->req->src,
890 sg_nents(wrparam->req->src), wrparam->req->iv, 16,
891 reqctx->processed + wrparam->bytes - AES_BLOCK_SIZE);
1167 struct cipher_wr_param wrparam;
1209 wrparam.qid = u_ctx->lldi.rxq_ids[reqctx->rxqidx];
1210 wrparam.req = req;
1211 wrparam.bytes = bytes;
1212 skb = create_cipher_wr(&wrparam);
1252 struct cipher_wr_param wrparam;
1343 wrparam.qid = qid;
1344 wrparam.req = req;
1345 wrparam.bytes = bytes;
1346 *skb = create_cipher_wr(&wrparam);
2728 struct cipher_wr_param *wrparam)
2738 buf, wrparam->bytes, reqctx->processed);
2741 ulptx_walk_add_sg(&ulp_walk, reqctx->srcsg, wrparam->bytes,
2751 struct cipher_wr_param *wrparam,
2755 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(wrparam->req);
2763 dsgl_walk_add_sg(&dsgl_walk, reqctx->dstsg, wrparam->bytes,