Lines Matching refs:mask_to_clear
226 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in bitmap_clear() local
231 *p &= ~mask_to_clear; in bitmap_clear()
234 mask_to_clear = ~0UL; in bitmap_clear()
238 mask_to_clear &= BITMAP_LAST_WORD_MASK(size); in bitmap_clear()
239 *p &= ~mask_to_clear; in bitmap_clear()
248 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in bitmap_test_and_clear() local
255 if ((*p) & mask_to_clear) { in bitmap_test_and_clear()
258 *p &= ~mask_to_clear; in bitmap_test_and_clear()
278 mask_to_clear &= BITMAP_LAST_WORD_MASK(size); in bitmap_test_and_clear()
279 if ((*p) & mask_to_clear) { in bitmap_test_and_clear()
282 *p &= ~mask_to_clear; in bitmap_test_and_clear()
293 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in bitmap_test_and_clear_atomic() local
301 old_bits = qatomic_fetch_and(p, ~mask_to_clear); in bitmap_test_and_clear_atomic()
302 dirty |= old_bits & mask_to_clear; in bitmap_test_and_clear_atomic()
305 mask_to_clear = ~0UL; in bitmap_test_and_clear_atomic()
323 mask_to_clear &= BITMAP_LAST_WORD_MASK(size); in bitmap_test_and_clear_atomic()
324 old_bits = qatomic_fetch_and(p, ~mask_to_clear); in bitmap_test_and_clear_atomic()
325 dirty |= old_bits & mask_to_clear; in bitmap_test_and_clear_atomic()