Lines Matching refs:visited
16 int visited; member
73 a.visited = 0; in hashtable_test_hash_add()
77 b.visited = 0; in hashtable_test_hash_add()
81 x->visited++; in hashtable_test_hash_add()
91 KUNIT_EXPECT_EQ(test, a.visited, 1); in hashtable_test_hash_add()
92 KUNIT_EXPECT_EQ(test, b.visited, 1); in hashtable_test_hash_add()
105 b.visited = 0; in hashtable_test_hash_del()
110 x->visited++; in hashtable_test_hash_del()
115 KUNIT_EXPECT_EQ(test, b.visited, 0); in hashtable_test_hash_del()
134 entries[i].visited = 0; in hashtable_test_hash_for_each()
140 x->visited += 1; in hashtable_test_hash_for_each()
149 KUNIT_EXPECT_EQ(test, entries[j].visited, 1); in hashtable_test_hash_for_each()
164 entries[i].visited = 0; in hashtable_test_hash_for_each_safe()
170 x->visited += 1; in hashtable_test_hash_for_each_safe()
182 KUNIT_EXPECT_EQ(test, entries[j].visited, 1); in hashtable_test_hash_for_each_safe()
197 entries[i].visited = 0; in hashtable_test_hash_for_each_possible()
204 entries[3].visited = 0; in hashtable_test_hash_for_each_possible()
209 x->visited += 1; in hashtable_test_hash_for_each_possible()
217 KUNIT_EXPECT_EQ(test, entries[j].visited, 1); in hashtable_test_hash_for_each_possible()
232 KUNIT_EXPECT_EQ(test, entries[3].visited, 1); in hashtable_test_hash_for_each_possible()
235 KUNIT_EXPECT_EQ(test, entries[3].visited, 0); in hashtable_test_hash_for_each_possible()
252 entries[i].visited = 0; in hashtable_test_hash_for_each_possible_safe()
259 entries[3].visited = 0; in hashtable_test_hash_for_each_possible_safe()
264 x->visited += 1; in hashtable_test_hash_for_each_possible_safe()
275 KUNIT_EXPECT_EQ(test, entries[j].visited, 1); in hashtable_test_hash_for_each_possible_safe()
290 KUNIT_EXPECT_EQ(test, entries[3].visited, 1); in hashtable_test_hash_for_each_possible_safe()
293 KUNIT_EXPECT_EQ(test, entries[3].visited, 0); in hashtable_test_hash_for_each_possible_safe()