Lines Matching refs:bits_to_clear
225 int bits_to_clear = BITS_PER_LONG - (start % BITS_PER_LONG); in bitmap_clear() local
230 while (nr - bits_to_clear >= 0) { in bitmap_clear()
232 nr -= bits_to_clear; in bitmap_clear()
233 bits_to_clear = BITS_PER_LONG; in bitmap_clear()
247 int bits_to_clear = BITS_PER_LONG - (start % BITS_PER_LONG); in bitmap_test_and_clear() local
254 if (nr - bits_to_clear > 0) { in bitmap_test_and_clear()
259 nr -= bits_to_clear; in bitmap_test_and_clear()
260 bits_to_clear = BITS_PER_LONG; in bitmap_test_and_clear()
265 if (bits_to_clear == BITS_PER_LONG) { in bitmap_test_and_clear()
292 int bits_to_clear = BITS_PER_LONG - (start % BITS_PER_LONG); in bitmap_test_and_clear_atomic() local
300 if (nr - bits_to_clear > 0) { in bitmap_test_and_clear_atomic()
303 nr -= bits_to_clear; in bitmap_test_and_clear_atomic()
304 bits_to_clear = BITS_PER_LONG; in bitmap_test_and_clear_atomic()
310 if (bits_to_clear == BITS_PER_LONG) { in bitmap_test_and_clear_atomic()