Searched refs:array_prog2b (Results 1 – 1 of 1) sorted by relevance
/linux/lib/ |
H A D | util_macros_kunit.c | 32 static u32 array_prog2b[] = { 2, 4, 6, 8 }; in test_find_closest() local 92 FIND_CLOSEST_RANGE_CHECK(-3, 3, array_prog2b, 0); in test_find_closest() 93 FIND_CLOSEST_RANGE_CHECK(4, 5, array_prog2b, 1); in test_find_closest() 94 FIND_CLOSEST_RANGE_CHECK(6, 7, array_prog2b, 2); in test_find_closest() 95 FIND_CLOSEST_RANGE_CHECK(8, 10, array_prog2b, 3); in test_find_closest() 140 static u32 array_prog2b[] = { 8, 6, 4, 2 }; in test_find_closest_descending() local 199 FIND_CLOSEST_DESC_RANGE_CHECK(-3, 3, array_prog2b, 3); in test_find_closest_descending() 200 FIND_CLOSEST_DESC_RANGE_CHECK(4, 5, array_prog2b, 2); in test_find_closest_descending() 201 FIND_CLOSEST_DESC_RANGE_CHECK(6, 7, array_prog2b, 1); in test_find_closest_descending() 202 FIND_CLOSEST_DESC_RANGE_CHECK(8, 10, array_prog2b, 0); in test_find_closest_descending()
|