Lines Matching refs:NENTRIES

4 #define	NENTRIES 9  macro
20 for (i = 0; i < NENTRIES; i++) { in init_entries()
32 for (i = 0; i < NENTRIES; i++) { in test_independent_entries()
41 for (i = 0; i < NENTRIES; i++) { in test_independent_entries()
50 for (i = 0; i < NENTRIES; i++) { in test_independent_entries()
56 for (i = 0; i < NENTRIES; i++) { in test_independent_entries()
66 ring_t entries[NENTRIES]; in TEST_BEGIN()
79 for (i = 0; i < NENTRIES; i++) { in test_entries_ring()
82 assert_c_eq(t->id, entries[(i+j) % NENTRIES].id, in test_entries_ring()
87 for (i = 0; i < NENTRIES; i++) { in test_entries_ring()
90 assert_c_eq(t->id, entries[(NENTRIES+i-j-1) % in test_entries_ring()
91 NENTRIES].id, "Element id mismatch"); in test_entries_ring()
95 for (i = 0; i < NENTRIES; i++) { in test_entries_ring()
97 assert_c_eq(t->id, entries[(i+1) % NENTRIES].id, in test_entries_ring()
100 for (i = 0; i < NENTRIES; i++) { in test_entries_ring()
102 assert_c_eq(t->id, entries[(NENTRIES+i-1) % NENTRIES].id, in test_entries_ring()
109 ring_t entries[NENTRIES]; in TEST_BEGIN()
113 for (i = 1; i < NENTRIES; i++) in TEST_BEGIN()
121 ring_t entries[NENTRIES]; in TEST_BEGIN()
126 for (i = 1; i < NENTRIES; i++) in TEST_BEGIN()
129 for (i = 0; i < NENTRIES; i++) { in TEST_BEGIN()
138 assert_c_eq(t->id, entries[NENTRIES - 1 - j].id, in TEST_BEGIN()
150 ring_t entries[NENTRIES]; in TEST_BEGIN()
155 for (i = 1; i < NENTRIES; i++) in TEST_BEGIN()
157 for (i = 0; i < NENTRIES; i++) { in TEST_BEGIN()
160 assert_c_eq(t->id, entries[(NENTRIES+i-j) % in TEST_BEGIN()
161 NENTRIES].id, "Element id mismatch"); in TEST_BEGIN()
165 for (i = 0; i < NENTRIES; i++) { in TEST_BEGIN()
168 assert_c_eq(t->id, entries[(i+j+1) % NENTRIES].id, in TEST_BEGIN()
173 for (i = 0; i < NENTRIES; i++) { in TEST_BEGIN()
175 assert_c_eq(t->id, entries[(NENTRIES+i-1) % NENTRIES].id, in TEST_BEGIN()
178 for (i = 0; i < NENTRIES; i++) { in TEST_BEGIN()
180 assert_c_eq(t->id, entries[(i+1) % NENTRIES].id, in TEST_BEGIN()
192 for (i = 0; i < NENTRIES; i++) { in test_split_entries()
201 (NENTRIES-SPLIT_INDEX) + SPLIT_INDEX].id, in test_split_entries()
211 ring_t entries[NENTRIES]; in TEST_BEGIN()
215 for (i = 1; i < NENTRIES; i++) in TEST_BEGIN()