Lines Matching refs:BITS_PER_LONG
39 tmp = addr[start / BITS_PER_LONG] ^ invert; in _find_next_bit()
43 start = round_down(start, BITS_PER_LONG); in _find_next_bit()
46 start += BITS_PER_LONG; in _find_next_bit()
50 tmp = addr[start / BITS_PER_LONG] ^ invert; in _find_next_bit()
86 for (idx = 0; idx * BITS_PER_LONG < size; idx++) { in find_first_bit()
88 return min(idx * BITS_PER_LONG + __ffs(addr[idx]), size); in find_first_bit()
104 for (idx = 0; idx * BITS_PER_LONG < size; idx++) { in find_first_zero_bit()
106 return min(idx * BITS_PER_LONG + ffz(addr[idx]), size); in find_first_zero_bit()
119 unsigned long idx = (size-1) / BITS_PER_LONG; in find_last_bit()
124 return idx * BITS_PER_LONG + __fls(val); in find_last_bit()
139 #if BITS_PER_LONG == 64 in ext2_swab()
141 #elif BITS_PER_LONG == 32 in ext2_swab()
144 #error BITS_PER_LONG not defined in ext2_swab()
157 tmp = addr[start / BITS_PER_LONG] ^ invert; in _find_next_bit_le()
161 start = round_down(start, BITS_PER_LONG); in _find_next_bit_le()
164 start += BITS_PER_LONG; in _find_next_bit_le()
168 tmp = addr[start / BITS_PER_LONG] ^ invert; in _find_next_bit_le()