| 51 | } |
| 52 | |
| 53 | static int |
| 54 | stack_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 | |
| 62 | static unsigned |
| 63 | stack_get_count(const struct rte_mempool *mp) |
nothing calls this directly
no test coverage detected