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

Function rte_comp_op_free

dpdk/lib/compressdev/rte_comp.c:221–226  ·  view source on GitHub ↗

* free operation structure * If operation has been allocate from a rte_mempool, then the operation will * be returned to the mempool. * * @param op * Compress operation */

Source from the content-addressed store, hash-verified

219 * Compress operation
220 */
221void
222rte_comp_op_free(struct rte_comp_op *op)
223{
224 if (op != NULL && op->mempool != NULL)
225 rte_mempool_put(op->mempool, op);
226}
227
228void
229rte_comp_op_bulk_free(struct rte_comp_op **ops, uint16_t nb_ops)

Callers 2

test_deflate_comp_runFunction · 0.85
test_deflate_comp_decompFunction · 0.85

Calls 1

rte_mempool_putFunction · 0.85

Tested by 2

test_deflate_comp_runFunction · 0.68
test_deflate_comp_decompFunction · 0.68