Lines Matching refs:mempool
59 struct rte_mempool *tmp_mp = op->mempool; in rte_comp_op_reset()
65 op->mempool = tmp_mp; in rte_comp_op_reset()
90 rte_comp_op_raw_bulk_alloc(struct rte_mempool *mempool, in rte_comp_op_raw_bulk_alloc() argument
93 if (rte_mempool_get_bulk(mempool, (void **)ops, nb_ops) == 0) in rte_comp_op_raw_bulk_alloc()
101 rte_comp_op_init(struct rte_mempool *mempool, in rte_comp_op_init() argument
108 memset(_op_data, 0, mempool->elt_size); in rte_comp_op_init()
112 op->mempool = mempool; in rte_comp_op_init()
171 rte_comp_op_alloc(struct rte_mempool *mempool) in rte_comp_op_alloc() argument
176 retval = rte_comp_op_raw_bulk_alloc(mempool, &op, 1); in rte_comp_op_alloc()
186 rte_comp_op_bulk_alloc(struct rte_mempool *mempool, in rte_comp_op_bulk_alloc() argument
192 retval = rte_comp_op_raw_bulk_alloc(mempool, ops, nb_ops); in rte_comp_op_bulk_alloc()
213 if (op != NULL && op->mempool != NULL) in rte_comp_op_free()
214 rte_mempool_put(op->mempool, op); in rte_comp_op_free()
223 if (ops[i] != NULL && ops[i]->mempool != NULL) in rte_comp_op_bulk_free()
224 rte_mempool_put(ops[i]->mempool, ops[i]); in rte_comp_op_bulk_free()