Lines Matching refs:BITS_PER_LONG
92 int bit = nr % BITS_PER_LONG; in set_bit()
120 int bit = nr % BITS_PER_LONG; in clear_bit()
161 int bit = nr % BITS_PER_LONG; in change_bit()
183 int bit = nr % BITS_PER_LONG; in test_and_set_bit_lock()
227 int bit = nr % BITS_PER_LONG; in test_and_clear_bit()
264 int bit = nr % BITS_PER_LONG; in test_and_change_bit()
334 if (BITS_PER_LONG == 32 && !__builtin_constant_p(word) && in __fls()
347 if (BITS_PER_LONG == 64 && !__builtin_constant_p(word) && in __fls()
360 num = BITS_PER_LONG - 1; in __fls()
362 #if BITS_PER_LONG == 64 in __fls()
368 if (!(word & (~0ul << (BITS_PER_LONG-16)))) { in __fls()
372 if (!(word & (~0ul << (BITS_PER_LONG-8)))) { in __fls()
376 if (!(word & (~0ul << (BITS_PER_LONG-4)))) { in __fls()
380 if (!(word & (~0ul << (BITS_PER_LONG-2)))) { in __fls()
384 if (!(word & (~0ul << (BITS_PER_LONG-1)))) in __fls()