Lines Matching refs:bitmap2
30 static DECLARE_BITMAP(bitmap2, BITMAP_LEN) __initdata;
52 static int __init test_find_first_and_bit(void *bitmap, const void *bitmap2, unsigned long len) in test_find_first_and_bit() argument
62 i = find_first_and_bit(cp, bitmap2, len); in test_find_first_and_bit()
135 const void *bitmap2, unsigned long len) in test_find_next_and_bit() argument
142 i = find_next_and_bit(bitmap, bitmap2, BITMAP_LEN, i + 1); in test_find_next_and_bit()
156 get_random_bytes(bitmap2, sizeof(bitmap2)); in find_bit_test()
168 test_find_first_and_bit(bitmap, bitmap2, BITMAP_LEN / 2); in find_bit_test()
169 test_find_next_and_bit(bitmap, bitmap2, BITMAP_LEN); in find_bit_test()
174 bitmap_zero(bitmap2, BITMAP_LEN); in find_bit_test()
178 __set_bit(get_random_u32_below(BITMAP_LEN), bitmap2); in find_bit_test()
186 test_find_first_and_bit(bitmap, bitmap2, BITMAP_LEN); in find_bit_test()
187 test_find_next_and_bit(bitmap, bitmap2, BITMAP_LEN); in find_bit_test()