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

Function rte_mempool_in_use_count

dpdk/lib/mempool/rte_mempool.c:1028–1032  ·  view source on GitHub ↗

return the number of entries allocated from the mempool */

Source from the content-addressed store, hash-verified

1026
1027/* return the number of entries allocated from the mempool */
1028unsigned int
1029rte_mempool_in_use_count(const struct rte_mempool *mp)
1030{
1031 return mp->size - rte_mempool_avail_count(mp);
1032}
1033
1034/* dump the cache status */
1035static unsigned

Callers 6

qede_alloc_rx_bufferFunction · 0.85
qede_alloc_rx_bulk_mbufsFunction · 0.85
test_mempool_basic_exFunction · 0.85
testsuite_teardownFunction · 0.85
show_mempoolFunction · 0.85

Calls 1

rte_mempool_avail_countFunction · 0.85

Tested by 2

test_mempool_basic_exFunction · 0.68
testsuite_teardownFunction · 0.68