Searched refs:TEST_LIST_LEN (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.1/lib/ |
D | test_list_sort.c | 16 #define TEST_LIST_LEN (512+128+2) /* not including head */ macro 33 KUNIT_EXPECT_LT_MSG(test, ela->serial, (unsigned int)TEST_LIST_LEN, "incorrect serial"); in check() 34 KUNIT_EXPECT_LT_MSG(test, elb->serial, (unsigned int)TEST_LIST_LEN, "incorrect serial"); in check() 65 elts = kunit_kcalloc(test, TEST_LIST_LEN, sizeof(*elts), GFP_KERNEL); in list_sort_test() 69 for (i = 0; i < TEST_LIST_LEN; i++) { in list_sort_test() 74 el->value = prandom_u32_max(TEST_LIST_LEN / 3); in list_sort_test() 106 KUNIT_EXPECT_EQ_MSG(test, count, TEST_LIST_LEN, in list_sort_test()
|