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

Function rte_mempool_put

dpdk/lib/mempool/rte_mempool.h:1476–1480  ·  view source on GitHub ↗

* Put one object back in the mempool. * * This function calls the multi-producer or the single-producer * version depending on the default behavior that was specified at * mempool creation time (see flags). * * @param mp * A pointer to the mempool structure. * @param obj * A pointer to the object to be added. */

Source from the content-addressed store, hash-verified

1474 * A pointer to the object to be added.
1475 */
1476static __rte_always_inline void
1477rte_mempool_put(struct rte_mempool *mp, void *obj)
1478{
1479 rte_mempool_put_bulk(mp, &obj, 1);
1480}
1481
1482/**
1483 * @internal Get several objects from the mempool; used internally.

Callers 15

ff_ipc_msg_freeFunction · 0.85
handle_msgFunction · 0.85
rte_comp_op_freeFunction · 0.85
rte_comp_op_bulk_freeFunction · 0.85
write_back_dataFunction · 0.85
free_wb_dataFunction · 0.85
edma_enq_to_dma_devFunction · 0.85
edma_ops_enqueue_burstFunction · 0.85
swtim_free_timFunction · 0.85

Calls 1

rte_mempool_put_bulkFunction · 0.85

Tested by 15

test_timer_secondaryFunction · 0.68
test_op_forward_modeFunction · 0.68
test_timer_stateFunction · 0.68
_wait_timer_triggersFunction · 0.68
test_timer_cancelFunction · 0.68
_cancel_threadFunction · 0.68
test_timer_cancel_randomFunction · 0.68
event_timer_armFunction · 0.68
event_timer_arm_doubleFunction · 0.68
event_timer_arm_expiryFunction · 0.68
event_timer_arm_rearmFunction · 0.68