Lines Matching refs:lim
48 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_equal() local
49 for (k = 0; k < lim; ++k) in __bitmap_equal()
63 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_complement() local
64 for (k = 0; k < lim; ++k) in __bitmap_complement()
86 unsigned k, lim = BITS_TO_LONGS(nbits); in __bitmap_shift_right() local
89 for (k = 0; off + k < lim; ++k) { in __bitmap_shift_right()
96 if (!rem || off + k + 1 >= lim) in __bitmap_shift_right()
100 if (off + k + 1 == lim - 1) in __bitmap_shift_right()
105 if (off + k == lim - 1) in __bitmap_shift_right()
111 memset(&dst[lim - off], 0, off*sizeof(unsigned long)); in __bitmap_shift_right()
132 unsigned int lim = BITS_TO_LONGS(nbits); in __bitmap_shift_left() local
134 for (k = lim - off - 1; k >= 0; --k) { in __bitmap_shift_left()
157 unsigned int lim = bits/BITS_PER_LONG; in __bitmap_and() local
160 for (k = 0; k < lim; k++) in __bitmap_and()
195 unsigned int lim = bits/BITS_PER_LONG; in __bitmap_andnot() local
198 for (k = 0; k < lim; k++) in __bitmap_andnot()
210 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_intersects() local
211 for (k = 0; k < lim; ++k) in __bitmap_intersects()
225 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_subset() local
226 for (k = 0; k < lim; ++k) in __bitmap_subset()
239 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_weight() local
242 for (k = 0; k < lim; k++) in __bitmap_weight()