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

Function stack_dequeue

dpdk/drivers/mempool/stack/rte_mempool_stack.c:53–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53static int
54stack_dequeue(struct rte_mempool *mp, void **obj_table,
55 unsigned int n)
56{
57 struct rte_stack *s = mp->pool_data;
58
59 return rte_stack_pop(s, obj_table, n) == 0 ? -ENOBUFS : 0;
60}
61
62static unsigned
63stack_get_count(const struct rte_mempool *mp)

Callers

nothing calls this directly

Calls 1

rte_stack_popFunction · 0.85

Tested by

no test coverage detected