Lines Matching refs:mempool
58 struct rte_mempool *tmp_mp = op->mempool; in rte_comp_op_reset()
64 op->mempool = tmp_mp; in rte_comp_op_reset()
89 rte_comp_op_raw_bulk_alloc(struct rte_mempool *mempool, in rte_comp_op_raw_bulk_alloc() argument
92 if (rte_mempool_get_bulk(mempool, (void **)ops, nb_ops) == 0) in rte_comp_op_raw_bulk_alloc()
100 rte_comp_op_init(struct rte_mempool *mempool, in rte_comp_op_init() argument
107 memset(_op_data, 0, mempool->elt_size); in rte_comp_op_init()
111 op->mempool = mempool; in rte_comp_op_init()
170 rte_comp_op_alloc(struct rte_mempool *mempool) in rte_comp_op_alloc() argument
175 retval = rte_comp_op_raw_bulk_alloc(mempool, &op, 1); in rte_comp_op_alloc()
185 rte_comp_op_bulk_alloc(struct rte_mempool *mempool, in rte_comp_op_bulk_alloc() argument
191 retval = rte_comp_op_raw_bulk_alloc(mempool, ops, nb_ops); in rte_comp_op_bulk_alloc()
212 if (op != NULL && op->mempool != NULL) in rte_comp_op_free()
213 rte_mempool_put(op->mempool, op); in rte_comp_op_free()
222 if (ops[i] != NULL && ops[i]->mempool != NULL) in rte_comp_op_bulk_free()
223 rte_mempool_put(ops[i]->mempool, ops[i]); in rte_comp_op_bulk_free()