Lines Matching refs:lim
49 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_equal() local
50 for (k = 0; k < lim; ++k) in __bitmap_equal()
67 unsigned int k, lim = bits / BITS_PER_LONG; in __bitmap_or_equal() local
70 for (k = 0; k < lim; ++k) { in __bitmap_or_equal()
84 unsigned int k, lim = BITS_TO_LONGS(bits); in __bitmap_complement() local
85 for (k = 0; k < lim; ++k) in __bitmap_complement()
104 unsigned k, lim = BITS_TO_LONGS(nbits); in __bitmap_shift_right() local
107 for (k = 0; off + k < lim; ++k) { in __bitmap_shift_right()
114 if (!rem || off + k + 1 >= lim) in __bitmap_shift_right()
118 if (off + k + 1 == lim - 1) in __bitmap_shift_right()
123 if (off + k == lim - 1) in __bitmap_shift_right()
129 memset(&dst[lim - off], 0, off*sizeof(unsigned long)); in __bitmap_shift_right()
150 unsigned int lim = BITS_TO_LONGS(nbits); in __bitmap_shift_left() local
152 for (k = lim - off - 1; k >= 0; --k) { in __bitmap_shift_left()
175 unsigned int lim = bits/BITS_PER_LONG; in __bitmap_and() local
178 for (k = 0; k < lim; k++) in __bitmap_and()
213 unsigned int lim = bits/BITS_PER_LONG; in __bitmap_andnot() local
216 for (k = 0; k < lim; k++) in __bitmap_andnot()
228 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_intersects() local
229 for (k = 0; k < lim; ++k) in __bitmap_intersects()
243 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_subset() local
244 for (k = 0; k < lim; ++k) in __bitmap_subset()
257 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_weight() local
260 for (k = 0; k < lim; k++) in __bitmap_weight()