Lines Matching refs:BITS_PER_LONG
93 int bit = nr % BITS_PER_LONG; in set_bit()
121 int bit = nr % BITS_PER_LONG; in clear_bit()
162 int bit = nr % BITS_PER_LONG; in change_bit()
184 int bit = nr % BITS_PER_LONG; in test_and_set_bit_lock()
228 int bit = nr % BITS_PER_LONG; in test_and_clear_bit()
265 int bit = nr % BITS_PER_LONG; in test_and_change_bit()
313 if (BITS_PER_LONG == 32 && !__builtin_constant_p(word) && in __fls()
326 if (BITS_PER_LONG == 64 && !__builtin_constant_p(word) && in __fls()
339 num = BITS_PER_LONG - 1; in __fls()
341 #if BITS_PER_LONG == 64 in __fls()
347 if (!(word & (~0ul << (BITS_PER_LONG-16)))) { in __fls()
351 if (!(word & (~0ul << (BITS_PER_LONG-8)))) { in __fls()
355 if (!(word & (~0ul << (BITS_PER_LONG-4)))) { in __fls()
359 if (!(word & (~0ul << (BITS_PER_LONG-2)))) { in __fls()
363 if (!(word & (~0ul << (BITS_PER_LONG-1)))) in __fls()