Home
last modified time | relevance | path

Searched refs:mask_to_clear (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/radix-tree/
Dbitmap.c10 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in bitmap_clear() local
13 *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()
/kernel/linux/linux-5.10/lib/
Dgenalloc.c58 static int clear_bits_ll(unsigned long *addr, unsigned long mask_to_clear) in clear_bits_ll() argument
65 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() local
128 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()
Dbitmap.c377 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in __bitmap_clear() local
380 *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()
/kernel/linux/linux-5.10/fs/btrfs/
Dextent_io.c5966 u8 mask_to_clear = BITMAP_FIRST_BYTE_MASK(pos); in extent_buffer_bitmap_clear() local
5974 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()