Lines Matching refs:num
34 enqueue_cop_bulk(struct cdev_qp *cqp, struct rte_crypto_op *cop[], uint32_t num) in enqueue_cop_bulk() argument
44 if (num >= RTE_DIM(cqp->buf) * 3 / 4 && len == 0) { in enqueue_cop_bulk()
45 n = rte_cryptodev_enqueue_burst(cqp->id, cqp->qp, cop, num); in enqueue_cop_bulk()
47 free_cops(cop + n, num - n); in enqueue_cop_bulk()
55 n = RTE_MIN(num - k, n); in enqueue_cop_bulk()
74 } while (k != num); in enqueue_cop_bulk()
113 struct rte_ipsec_group grp[], uint32_t num) in sa_group() argument
121 for (i = 0, n = 0; i != num; i++) { in sa_group()
146 uint32_t num) in copy_to_trf() argument
171 for (j = 0, s = out->num; j != num; j++) { in copy_to_trf()
177 out->num += num; in copy_to_trf()
309 n = sa_group(trf->ipsec.saptr, trf->ipsec.pkts, grp, trf->ipsec.num); in ipsec_process()
359 cqp_dequeue(struct cdev_qp *cqp, struct rte_crypto_op *cop[], uint32_t num) in cqp_dequeue() argument
366 n = rte_cryptodev_dequeue_burst(cqp->id, cqp->qp, cop, num); in cqp_dequeue()
374 ctx_dequeue(struct ipsec_ctx *ctx, struct rte_crypto_op *cop[], uint32_t num) in ctx_dequeue() argument
380 for (i = ctx->last_qp; n != num && i != ctx->nb_qps; i++) in ctx_dequeue()
381 n += cqp_dequeue(ctx->tbl + i, cop + n, num - n); in ctx_dequeue()
383 for (i = 0; n != num && i != ctx->last_qp; i++) in ctx_dequeue()
384 n += cqp_dequeue(ctx->tbl + i, cop + n, num - n); in ctx_dequeue()
404 trf->ip4.num = 0; in ipsec_cqp_process()
405 trf->ip6.num = 0; in ipsec_cqp_process()