Lines Matching refs:BITS_PER_LONG
48 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_equal()
53 if (bits % BITS_PER_LONG) in __bitmap_equal()
63 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_complement()
67 if (bits % BITS_PER_LONG) in __bitmap_complement()
87 unsigned off = shift/BITS_PER_LONG, rem = shift % BITS_PER_LONG; in __bitmap_shift_right()
102 upper <<= (BITS_PER_LONG - rem); in __bitmap_shift_right()
133 unsigned int off = shift/BITS_PER_LONG, rem = shift % BITS_PER_LONG; in __bitmap_shift_left()
142 lower = src[k - 1] >> (BITS_PER_LONG - rem); in __bitmap_shift_left()
157 unsigned int lim = bits/BITS_PER_LONG; in __bitmap_and()
162 if (bits % BITS_PER_LONG) in __bitmap_and()
195 unsigned int lim = bits/BITS_PER_LONG; in __bitmap_andnot()
200 if (bits % BITS_PER_LONG) in __bitmap_andnot()
210 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_intersects()
215 if (bits % BITS_PER_LONG) in __bitmap_intersects()
225 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_subset()
230 if (bits % BITS_PER_LONG) in __bitmap_subset()
239 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_weight()
245 if (bits % BITS_PER_LONG) in __bitmap_weight()
256 int bits_to_set = BITS_PER_LONG - (start % BITS_PER_LONG); in bitmap_set()
262 bits_to_set = BITS_PER_LONG; in bitmap_set()
277 int bits_to_clear = BITS_PER_LONG - (start % BITS_PER_LONG); in bitmap_clear()
283 bits_to_clear = BITS_PER_LONG; in bitmap_clear()
952 index = pos / BITS_PER_LONG; in __reg_op()
953 offset = pos - (index * BITS_PER_LONG); in __reg_op()
955 nbitsinlong = min(nbits_reg, BITS_PER_LONG); in __reg_op()
1065 for (i = 0; i < nbits/BITS_PER_LONG; i++) { in bitmap_copy_le()
1066 if (BITS_PER_LONG == 64) in bitmap_copy_le()