Lines Matching refs:s
13 struct rte_stack *s; in __stack_alloc() local
23 s = rte_stack_create(name, mp->size, mp->socket_id, flags); in __stack_alloc()
24 if (s == NULL) in __stack_alloc()
27 mp->pool_data = s; in __stack_alloc()
48 struct rte_stack *s = mp->pool_data; in stack_enqueue() local
50 return rte_stack_push(s, obj_table, n) == 0 ? -ENOBUFS : 0; in stack_enqueue()
57 struct rte_stack *s = mp->pool_data; in stack_dequeue() local
59 return rte_stack_pop(s, obj_table, n) == 0 ? -ENOBUFS : 0; in stack_dequeue()
65 struct rte_stack *s = mp->pool_data; in stack_get_count() local
67 return rte_stack_count(s); in stack_get_count()
73 struct rte_stack *s = mp->pool_data; in stack_free() local
75 rte_stack_free(s); in stack_free()