Searched refs:mask_to_clear (Results 1 – 4 of 4) sorted by relevance
10 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in bitmap_clear() local13 *p &= ~mask_to_clear; in bitmap_clear()16 mask_to_clear = ~0UL; in bitmap_clear()20 mask_to_clear &= BITMAP_LAST_WORD_MASK(size); in bitmap_clear()21 *p &= ~mask_to_clear; in bitmap_clear()
58 static int clear_bits_ll(unsigned long *addr, unsigned long mask_to_clear) in clear_bits_ll() argument65 if ((val & mask_to_clear) != mask_to_clear) in clear_bits_ll()68 } while ((nval = cmpxchg(addr, val, val & ~mask_to_clear)) != val); in clear_bits_ll()125 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in bitmap_clear_ll() local128 if (clear_bits_ll(p, mask_to_clear)) in bitmap_clear_ll()132 mask_to_clear = ~0UL; in bitmap_clear_ll()136 mask_to_clear &= BITMAP_LAST_WORD_MASK(size); in bitmap_clear_ll()137 if (clear_bits_ll(p, mask_to_clear)) in bitmap_clear_ll()
377 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in __bitmap_clear() local380 *p &= ~mask_to_clear; in __bitmap_clear()383 mask_to_clear = ~0UL; in __bitmap_clear()387 mask_to_clear &= BITMAP_LAST_WORD_MASK(size); in __bitmap_clear()388 *p &= ~mask_to_clear; in __bitmap_clear()
5966 u8 mask_to_clear = BITMAP_FIRST_BYTE_MASK(pos); in extent_buffer_bitmap_clear() local5974 kaddr[offset] &= ~mask_to_clear; in extent_buffer_bitmap_clear()5977 mask_to_clear = ~0; in extent_buffer_bitmap_clear()5986 mask_to_clear &= BITMAP_LAST_BYTE_MASK(size); in extent_buffer_bitmap_clear()5987 kaddr[offset] &= ~mask_to_clear; in extent_buffer_bitmap_clear()