Lines Matching refs:obj_table
19 test_stack_push_pop(struct rte_stack *s, void **obj_table, unsigned int bulk_sz) in test_stack_push_pop() argument
32 ret = rte_stack_push(s, &obj_table[i], bulk_sz); in test_stack_push_pop()
86 if (obj_table[i] != popped_objs[STACK_SIZE - i - 1]) { in test_stack_push_pop()
104 void **obj_table = NULL; in test_stack_basic() local
107 obj_table = rte_calloc(NULL, STACK_SIZE, sizeof(void *), 0); in test_stack_basic()
108 if (obj_table == NULL) { in test_stack_basic()
115 obj_table[i] = (void *)(uintptr_t)i; in test_stack_basic()
142 ret = test_stack_push_pop(s, obj_table, 1); in test_stack_basic()
149 ret = test_stack_push_pop(s, obj_table, MAX_BULK); in test_stack_basic()
156 ret = rte_stack_push(s, obj_table, 2 * STACK_SIZE); in test_stack_basic()
163 ret = rte_stack_pop(s, obj_table, 1); in test_stack_basic()
175 rte_free(obj_table); in test_stack_basic()
283 void *obj_table[MAX_BULK]; in stack_thread_push_pop() local
291 if (rte_stack_push(thread_test_args.s, obj_table, num) != num) { in stack_thread_push_pop()
297 if (rte_stack_pop(thread_test_args.s, obj_table, num) != num) { in stack_thread_push_pop()