Home
last modified time | relevance | path

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

/linux/lib/
H A Dfind_bit_benchmark.c26 #define BITMAP_LEN (4096UL * 8 * 10) macro
29 static DECLARE_BITMAP(bitmap, BITMAP_LEN) __initdata;
30 static DECLARE_BITMAP(bitmap2, BITMAP_LEN) __initdata;
37 static DECLARE_BITMAP(cp, BITMAP_LEN) __initdata; in test_find_first_bit()
41 bitmap_copy(cp, bitmap, BITMAP_LEN); in test_find_first_bit()
57 static DECLARE_BITMAP(cp, BITMAP_LEN) __initdata; in test_find_first_and_bit()
61 bitmap_copy(cp, bitmap, BITMAP_LEN); in test_find_first_and_bit()
80 for (cnt = i = 0; i < BITMAP_LEN; cnt++) in test_find_next_bit()
81 i = find_next_bit(bitmap, BITMAP_LEN, i) + 1; in test_find_next_bit()
94 for (cnt = i = 0; i < BITMAP_LEN; cnt++) in test_find_next_zero_bit()
[all …]