Lines Matching refs:mp
10 __stack_alloc(struct rte_mempool *mp, uint32_t flags) in __stack_alloc() argument
17 RTE_MEMPOOL_MZ_FORMAT, mp->name); in __stack_alloc()
23 s = rte_stack_create(name, mp->size, mp->socket_id, flags); in __stack_alloc()
27 mp->pool_data = s; in __stack_alloc()
33 stack_alloc(struct rte_mempool *mp) in stack_alloc() argument
35 return __stack_alloc(mp, 0); in stack_alloc()
39 lf_stack_alloc(struct rte_mempool *mp) in lf_stack_alloc() argument
41 return __stack_alloc(mp, RTE_STACK_F_LF); in lf_stack_alloc()
45 stack_enqueue(struct rte_mempool *mp, void * const *obj_table, in stack_enqueue() argument
48 struct rte_stack *s = mp->pool_data; in stack_enqueue()
54 stack_dequeue(struct rte_mempool *mp, void **obj_table, in stack_dequeue() argument
57 struct rte_stack *s = mp->pool_data; in stack_dequeue()
63 stack_get_count(const struct rte_mempool *mp) in stack_get_count() argument
65 struct rte_stack *s = mp->pool_data; in stack_get_count()
71 stack_free(struct rte_mempool *mp) in stack_free() argument
73 struct rte_stack *s = mp->pool_data; in stack_free()