Lines Matching refs:BITS_PER_LONG
22 while (size & ~(BITS_PER_LONG - 1)) { in find_first_bit_inv()
25 result += BITS_PER_LONG; in find_first_bit_inv()
26 size -= BITS_PER_LONG; in find_first_bit_inv()
30 tmp = (*p) & (~0UL << (BITS_PER_LONG - size)); in find_first_bit_inv()
34 return result + (__fls(tmp) ^ (BITS_PER_LONG - 1)); in find_first_bit_inv()
41 const unsigned long *p = addr + (offset / BITS_PER_LONG); in find_next_bit_inv()
42 unsigned long result = offset & ~(BITS_PER_LONG - 1); in find_next_bit_inv()
48 offset %= BITS_PER_LONG; in find_next_bit_inv()
52 if (size < BITS_PER_LONG) in find_next_bit_inv()
56 size -= BITS_PER_LONG; in find_next_bit_inv()
57 result += BITS_PER_LONG; in find_next_bit_inv()
59 while (size & ~(BITS_PER_LONG-1)) { in find_next_bit_inv()
62 result += BITS_PER_LONG; in find_next_bit_inv()
63 size -= BITS_PER_LONG; in find_next_bit_inv()
69 tmp &= (~0UL << (BITS_PER_LONG - size)); in find_next_bit_inv()
73 return result + (__fls(tmp) ^ (BITS_PER_LONG - 1)); in find_next_bit_inv()