Lines Matching refs:BITS_PER_LONG
49 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_equal()
54 if (bits % BITS_PER_LONG) in __bitmap_equal()
67 unsigned int k, lim = bits / BITS_PER_LONG; in __bitmap_or_equal()
75 if (!(bits % BITS_PER_LONG)) in __bitmap_or_equal()
105 unsigned off = shift/BITS_PER_LONG, rem = shift % BITS_PER_LONG; in __bitmap_shift_right()
120 upper <<= (BITS_PER_LONG - rem); in __bitmap_shift_right()
151 unsigned int off = shift/BITS_PER_LONG, rem = shift % BITS_PER_LONG; in __bitmap_shift_left()
160 lower = src[k - 1] >> (BITS_PER_LONG - rem); in __bitmap_shift_left()
175 unsigned int lim = bits/BITS_PER_LONG; in __bitmap_and()
180 if (bits % BITS_PER_LONG) in __bitmap_and()
213 unsigned int lim = bits/BITS_PER_LONG; in __bitmap_andnot()
218 if (bits % BITS_PER_LONG) in __bitmap_andnot()
228 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_intersects()
233 if (bits % BITS_PER_LONG) in __bitmap_intersects()
243 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_subset()
248 if (bits % BITS_PER_LONG) in __bitmap_subset()
257 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_weight()
263 if (bits % BITS_PER_LONG) in __bitmap_weight()
274 int bits_to_set = BITS_PER_LONG - (start % BITS_PER_LONG); in __bitmap_set()
280 bits_to_set = BITS_PER_LONG; in __bitmap_set()
295 int bits_to_clear = BITS_PER_LONG - (start % BITS_PER_LONG); in __bitmap_clear()
301 bits_to_clear = BITS_PER_LONG; in __bitmap_clear()
1048 index = pos / BITS_PER_LONG; in __reg_op()
1049 offset = pos - (index * BITS_PER_LONG); in __reg_op()
1051 nbitsinlong = min(nbits_reg, BITS_PER_LONG); in __reg_op()
1161 for (i = 0; i < nbits/BITS_PER_LONG; i++) { in bitmap_copy_le()
1162 if (BITS_PER_LONG == 64) in bitmap_copy_le()
1190 #if BITS_PER_LONG == 64
1209 if (nbits % BITS_PER_LONG) in bitmap_from_arr32()
1232 if (nbits % BITS_PER_LONG) in bitmap_to_arr32()