Searched refs:a_new (Results 1 - 1 of 1) sorted by relevance
/linux-master/lib/ |
H A D | list-test.c | 93 struct list_head a_old, a_new, b; local 100 list_replace(&a_old, &a_new); 102 /* now: [list] -> a_new -> b */ 103 KUNIT_EXPECT_PTR_EQ(test, list.next, &a_new); 104 KUNIT_EXPECT_PTR_EQ(test, b.prev, &a_new); 109 struct list_head a_old, a_new, b; local 116 list_replace_init(&a_old, &a_new); 118 /* now: [list] -> a_new -> b */ 119 KUNIT_EXPECT_PTR_EQ(test, list.next, &a_new); 120 KUNIT_EXPECT_PTR_EQ(test, b.prev, &a_new); [all...] |
Completed in 91 milliseconds