Lines Matching refs:bulk_sz
18 test_stack_push_pop(struct rte_stack *s, void **obj_table, unsigned int bulk_sz) in test_stack_push_pop() argument
30 for (i = 0; i < STACK_SIZE; i += bulk_sz) { in test_stack_push_pop()
31 ret = rte_stack_push(s, &obj_table[i], bulk_sz); in test_stack_push_pop()
33 if (ret != bulk_sz) { in test_stack_push_pop()
35 __func__, __LINE__, ret, bulk_sz); in test_stack_push_pop()
40 if (rte_stack_count(s) != i + bulk_sz) { in test_stack_push_pop()
43 i + bulk_sz); in test_stack_push_pop()
48 if (rte_stack_free_count(s) != STACK_SIZE - i - bulk_sz) { in test_stack_push_pop()
51 STACK_SIZE - i - bulk_sz); in test_stack_push_pop()
57 for (i = 0; i < STACK_SIZE; i += bulk_sz) { in test_stack_push_pop()
58 ret = rte_stack_pop(s, &popped_objs[i], bulk_sz); in test_stack_push_pop()
60 if (ret != bulk_sz) { in test_stack_push_pop()
62 __func__, __LINE__, ret, bulk_sz); in test_stack_push_pop()
67 if (rte_stack_count(s) != STACK_SIZE - i - bulk_sz) { in test_stack_push_pop()
70 STACK_SIZE - i - bulk_sz); in test_stack_push_pop()
75 if (rte_stack_free_count(s) != i + bulk_sz) { in test_stack_push_pop()
78 i + bulk_sz); in test_stack_push_pop()