Lines Matching refs:bulk_sz
19 test_stack_push_pop(struct rte_stack *s, void **obj_table, unsigned int bulk_sz) in test_stack_push_pop() argument
31 for (i = 0; i < STACK_SIZE; i += bulk_sz) { in test_stack_push_pop()
32 ret = rte_stack_push(s, &obj_table[i], bulk_sz); in test_stack_push_pop()
34 if (ret != bulk_sz) { in test_stack_push_pop()
36 __func__, __LINE__, ret, bulk_sz); in test_stack_push_pop()
41 if (rte_stack_count(s) != i + bulk_sz) { in test_stack_push_pop()
44 i + bulk_sz); in test_stack_push_pop()
49 if (rte_stack_free_count(s) != STACK_SIZE - i - bulk_sz) { in test_stack_push_pop()
52 STACK_SIZE - i - bulk_sz); in test_stack_push_pop()
58 for (i = 0; i < STACK_SIZE; i += bulk_sz) { in test_stack_push_pop()
59 ret = rte_stack_pop(s, &popped_objs[i], bulk_sz); in test_stack_push_pop()
61 if (ret != bulk_sz) { in test_stack_push_pop()
63 __func__, __LINE__, ret, bulk_sz); in test_stack_push_pop()
68 if (rte_stack_count(s) != STACK_SIZE - i - bulk_sz) { in test_stack_push_pop()
71 STACK_SIZE - i - bulk_sz); in test_stack_push_pop()
76 if (rte_stack_free_count(s) != i + bulk_sz) { in test_stack_push_pop()
79 i + bulk_sz); in test_stack_push_pop()