Lines Matching refs:len
36 static int __init test_find_first_bit(void *bitmap, unsigned long len) in test_find_first_bit() argument
42 for (cnt = i = 0; i < len; cnt++) { in test_find_first_bit()
43 i = find_first_bit(bitmap, len); in test_find_first_bit()
52 static int __init test_find_next_bit(const void *bitmap, unsigned long len) in test_find_next_bit() argument
66 static int __init test_find_next_zero_bit(const void *bitmap, unsigned long len) in test_find_next_zero_bit() argument
73 i = find_next_zero_bit(bitmap, len, i) + 1; in test_find_next_zero_bit()
80 static int __init test_find_last_bit(const void *bitmap, unsigned long len) in test_find_last_bit() argument
88 l = find_last_bit(bitmap, len); in test_find_last_bit()
89 if (l >= len) in test_find_last_bit()
91 len = l; in test_find_last_bit()
92 } while (len); in test_find_last_bit()
100 const void *bitmap2, unsigned long len) in test_find_next_and_bit() argument