Lines Matching refs:lim
40 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_equal() local
41 for (k = 0; k < lim; ++k) in __bitmap_equal()
58 unsigned int k, lim = bits / BITS_PER_LONG; in __bitmap_or_equal() local
61 for (k = 0; k < lim; ++k) { in __bitmap_or_equal()
75 unsigned int k, lim = BITS_TO_LONGS(bits); in __bitmap_complement() local
76 for (k = 0; k < lim; ++k) in __bitmap_complement()
95 unsigned k, lim = BITS_TO_LONGS(nbits); in __bitmap_shift_right() local
98 for (k = 0; off + k < lim; ++k) { in __bitmap_shift_right()
105 if (!rem || off + k + 1 >= lim) in __bitmap_shift_right()
109 if (off + k + 1 == lim - 1) in __bitmap_shift_right()
114 if (off + k == lim - 1) in __bitmap_shift_right()
120 memset(&dst[lim - off], 0, off*sizeof(unsigned long)); in __bitmap_shift_right()
141 unsigned int lim = BITS_TO_LONGS(nbits); in __bitmap_shift_left() local
143 for (k = lim - off - 1; k >= 0; --k) { in __bitmap_shift_left()
233 unsigned int lim = bits/BITS_PER_LONG; in __bitmap_and() local
236 for (k = 0; k < lim; k++) in __bitmap_and()
271 unsigned int lim = bits/BITS_PER_LONG; in __bitmap_andnot() local
274 for (k = 0; k < lim; k++) in __bitmap_andnot()
298 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_intersects() local
299 for (k = 0; k < lim; ++k) in __bitmap_intersects()
313 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_subset() local
314 for (k = 0; k < lim; ++k) in __bitmap_subset()