Home
last modified time | relevance | path

Searched refs:a_new (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/lib/
H A Dlist-test.c93 struct list_head a_old, a_new, b; in list_test_list_replace() local
100 list_replace(&a_old, &a_new); in list_test_list_replace()
103 KUNIT_EXPECT_PTR_EQ(test, list.next, &a_new); in list_test_list_replace()
104 KUNIT_EXPECT_PTR_EQ(test, b.prev, &a_new); in list_test_list_replace()
109 struct list_head a_old, a_new, b; in list_test_list_replace_init() local
116 list_replace_init(&a_old, &a_new); in list_test_list_replace_init()
119 KUNIT_EXPECT_PTR_EQ(test, list.next, &a_new); in list_test_list_replace_init()
120 KUNIT_EXPECT_PTR_EQ(test, b.prev, &a_new); in list_test_list_replace_init()