MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rte_comp_op_bulk_free

Function rte_comp_op_bulk_free

dpdk/lib/compressdev/rte_comp.c:228–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228void
229rte_comp_op_bulk_free(struct rte_comp_op **ops, uint16_t nb_ops)
230{
231 uint16_t i;
232
233 for (i = 0; i < nb_ops; i++) {
234 if (ops[i] != NULL && ops[i]->mempool != NULL)
235 rte_mempool_put(ops[i]->mempool, ops[i]);
236 ops[i] = NULL;
237 }
238}

Callers 1

test_deflate_decomp_runFunction · 0.85

Calls 1

rte_mempool_putFunction · 0.85

Tested by 1

test_deflate_decomp_runFunction · 0.68