Lines Matching refs:BITS_PER_LONG
18 #define BITOP_WORD(nr) ((nr) / BITS_PER_LONG)
28 unsigned long result = offset & ~(BITS_PER_LONG-1); in find_next_bit()
34 offset %= BITS_PER_LONG; in find_next_bit()
38 if (size < BITS_PER_LONG) in find_next_bit()
42 size -= BITS_PER_LONG; in find_next_bit()
43 result += BITS_PER_LONG; in find_next_bit()
45 while (size & ~(BITS_PER_LONG-1)) { in find_next_bit()
48 result += BITS_PER_LONG; in find_next_bit()
49 size -= BITS_PER_LONG; in find_next_bit()
56 tmp &= (~0UL >> (BITS_PER_LONG - size)); in find_next_bit()
74 while (size & ~(BITS_PER_LONG-1)) { in find_first_bit()
77 result += BITS_PER_LONG; in find_first_bit()
78 size -= BITS_PER_LONG; in find_first_bit()
83 tmp = (*p) & (~0UL >> (BITS_PER_LONG - size)); in find_first_bit()