Lines Matching refs:BITS_PER_LONG
91 int bit = nr % BITS_PER_LONG; in set_bit()
119 int bit = nr % BITS_PER_LONG; in clear_bit()
160 int bit = nr % BITS_PER_LONG; in change_bit()
182 int bit = nr % BITS_PER_LONG; in test_and_set_bit_lock()
226 int bit = nr % BITS_PER_LONG; in test_and_clear_bit()
263 int bit = nr % BITS_PER_LONG; in test_and_change_bit()
311 if (BITS_PER_LONG == 32 && !__builtin_constant_p(word) && in __fls()
324 if (BITS_PER_LONG == 64 && !__builtin_constant_p(word) && in __fls()
337 num = BITS_PER_LONG - 1; in __fls()
339 #if BITS_PER_LONG == 64 in __fls()
345 if (!(word & (~0ul << (BITS_PER_LONG-16)))) { in __fls()
349 if (!(word & (~0ul << (BITS_PER_LONG-8)))) { in __fls()
353 if (!(word & (~0ul << (BITS_PER_LONG-4)))) { in __fls()
357 if (!(word & (~0ul << (BITS_PER_LONG-2)))) { in __fls()
361 if (!(word & (~0ul << (BITS_PER_LONG-1)))) in __fls()