Lines Matching refs:BITS_PER_LONG

53 	unsigned int k, lim = bits/BITS_PER_LONG;  in __bitmap_equal()
58 if (bits % BITS_PER_LONG) in __bitmap_equal()
89 unsigned off = shift/BITS_PER_LONG, rem = shift % BITS_PER_LONG; in __bitmap_shift_right()
104 upper <<= (BITS_PER_LONG - rem); in __bitmap_shift_right()
135 unsigned int off = shift/BITS_PER_LONG, rem = shift % BITS_PER_LONG; in __bitmap_shift_left()
144 lower = src[k - 1] >> (BITS_PER_LONG - rem); in __bitmap_shift_left()
159 unsigned int lim = bits/BITS_PER_LONG; in __bitmap_and()
164 if (bits % BITS_PER_LONG) in __bitmap_and()
197 unsigned int lim = bits/BITS_PER_LONG; in __bitmap_andnot()
202 if (bits % BITS_PER_LONG) in __bitmap_andnot()
212 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_intersects()
217 if (bits % BITS_PER_LONG) in __bitmap_intersects()
227 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_subset()
232 if (bits % BITS_PER_LONG) in __bitmap_subset()
241 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_weight()
247 if (bits % BITS_PER_LONG) in __bitmap_weight()
258 int bits_to_set = BITS_PER_LONG - (start % BITS_PER_LONG); in __bitmap_set()
264 bits_to_set = BITS_PER_LONG; in __bitmap_set()
279 int bits_to_clear = BITS_PER_LONG - (start % BITS_PER_LONG); in __bitmap_clear()
285 bits_to_clear = BITS_PER_LONG; in __bitmap_clear()
1006 index = pos / BITS_PER_LONG; in __reg_op()
1007 offset = pos - (index * BITS_PER_LONG); in __reg_op()
1009 nbitsinlong = min(nbits_reg, BITS_PER_LONG); in __reg_op()
1119 for (i = 0; i < nbits/BITS_PER_LONG; i++) { in bitmap_copy_le()
1120 if (BITS_PER_LONG == 64) in bitmap_copy_le()
1148 #if BITS_PER_LONG == 64
1167 if (nbits % BITS_PER_LONG) in bitmap_from_arr32()
1190 if (nbits % BITS_PER_LONG) in bitmap_to_arr32()