Searched refs:mask_to_clear (Results 1 – 2 of 2) sorted by relevance
60 static int clear_bits_ll(unsigned long *addr, unsigned long mask_to_clear) in clear_bits_ll() argument67 if ((val & mask_to_clear) != mask_to_clear) in clear_bits_ll()70 } while ((nval = cmpxchg(addr, val, val & ~mask_to_clear)) != val); in clear_bits_ll()127 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in bitmap_clear_ll() local130 if (clear_bits_ll(p, mask_to_clear)) in bitmap_clear_ll()134 mask_to_clear = ~0UL; in bitmap_clear_ll()138 mask_to_clear &= BITMAP_LAST_WORD_MASK(size); in bitmap_clear_ll()139 if (clear_bits_ll(p, mask_to_clear)) in bitmap_clear_ll()
279 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in bitmap_clear() local282 *p &= ~mask_to_clear; in bitmap_clear()285 mask_to_clear = ~0UL; in bitmap_clear()289 mask_to_clear &= BITMAP_LAST_WORD_MASK(size); in bitmap_clear()290 *p &= ~mask_to_clear; in bitmap_clear()