Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/lib/
H A Dtest_list_sort.c16 #define TEST_LIST_LEN (512+128+2) /* not including head */ macro
34 if (ela->serial >= TEST_LIST_LEN) { in check()
38 if (elb->serial >= TEST_LIST_LEN) { in check()
79 elts = kcalloc(TEST_LIST_LEN, sizeof(*elts), GFP_KERNEL); in list_sort_test()
83 for (i = 0; i < TEST_LIST_LEN; i++) { in list_sort_test()
89 el->value = prandom_u32() % (TEST_LIST_LEN / 3); in list_sort_test()
135 if (count != TEST_LIST_LEN) { in list_sort_test()
142 for (i = 0; i < TEST_LIST_LEN; i++) in list_sort_test()
/OK3568_Linux_fs/u-boot/lib/
H A Dlist_sort.c158 #define TEST_LIST_LEN (512+128+2) /* not including head */ macro
176 if (ela->serial >= TEST_LIST_LEN) { in check()
181 if (elb->serial >= TEST_LIST_LEN) { in check()
223 elts = kmalloc(sizeof(void *) * TEST_LIST_LEN, GFP_KERNEL); in list_sort_test()
230 for (i = 0; i < TEST_LIST_LEN; i++) { in list_sort_test()
238 el->value = prandom_u32() % (TEST_LIST_LEN / 3); in list_sort_test()
281 if (count != TEST_LIST_LEN) { in list_sort_test()