Lines Matching refs:lim

51 	unsigned int k, lim = bits/BITS_PER_LONG;  in __bitmap_equal()  local
52 for (k = 0; k < lim; ++k) in __bitmap_equal()
69 unsigned int k, lim = bits / BITS_PER_LONG; in __bitmap_or_equal() local
72 for (k = 0; k < lim; ++k) { in __bitmap_or_equal()
86 unsigned int k, lim = BITS_TO_LONGS(bits); in __bitmap_complement() local
87 for (k = 0; k < lim; ++k) in __bitmap_complement()
106 unsigned k, lim = BITS_TO_LONGS(nbits); in __bitmap_shift_right() local
109 for (k = 0; off + k < lim; ++k) { in __bitmap_shift_right()
116 if (!rem || off + k + 1 >= lim) in __bitmap_shift_right()
120 if (off + k + 1 == lim - 1) in __bitmap_shift_right()
125 if (off + k == lim - 1) in __bitmap_shift_right()
131 memset(&dst[lim - off], 0, off*sizeof(unsigned long)); in __bitmap_shift_right()
152 unsigned int lim = BITS_TO_LONGS(nbits); in __bitmap_shift_left() local
154 for (k = lim - off - 1; k >= 0; --k) { in __bitmap_shift_left()
244 unsigned int lim = bits/BITS_PER_LONG; in __bitmap_and() local
247 for (k = 0; k < lim; k++) in __bitmap_and()
282 unsigned int lim = bits/BITS_PER_LONG; in __bitmap_andnot() local
285 for (k = 0; k < lim; k++) in __bitmap_andnot()
309 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_intersects() local
310 for (k = 0; k < lim; ++k) in __bitmap_intersects()
324 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_subset() local
325 for (k = 0; k < lim; ++k) in __bitmap_subset()
338 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_weight() local
341 for (k = 0; k < lim; k++) in __bitmap_weight()