Home
last modified time | relevance | path

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

/linux-6.6.21/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()
/linux-6.6.21/drivers/firmware/efi/libstub/
Dbitmap.c28 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in __bitmap_clear() local
31 *p &= ~mask_to_clear; in __bitmap_clear()
34 mask_to_clear = ~0UL; in __bitmap_clear()
38 mask_to_clear &= BITMAP_LAST_WORD_MASK(size); in __bitmap_clear()
39 *p &= ~mask_to_clear; in __bitmap_clear()
/linux-6.6.21/lib/
Dgenalloc.c60 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 (!try_cmpxchg(addr, &val, val & ~mask_to_clear)); in clear_bits_ll()
126 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in bitmap_clear_ll() local
129 if (clear_bits_ll(p, mask_to_clear)) in bitmap_clear_ll()
133 mask_to_clear = ~0UL; in bitmap_clear_ll()
137 mask_to_clear &= BITMAP_LAST_WORD_MASK(size); in bitmap_clear_ll()
138 if (clear_bits_ll(p, mask_to_clear)) in bitmap_clear_ll()
Dbitmap.c388 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in __bitmap_clear() local
391 *p &= ~mask_to_clear; in __bitmap_clear()
394 mask_to_clear = ~0UL; in __bitmap_clear()
398 mask_to_clear &= BITMAP_LAST_WORD_MASK(size); in __bitmap_clear()
399 *p &= ~mask_to_clear; in __bitmap_clear()
/linux-6.6.21/fs/ntfs3/
Dbitmap.c1544 bitmap_ulong mask_to_clear = cpu_to_ul(BITMAP_FIRST_WORD_MASK(start)); in ntfs_bitmap_clear_le() local
1547 *p &= ~mask_to_clear; in ntfs_bitmap_clear_le()
1550 mask_to_clear = cpu_to_ul(~0UL); in ntfs_bitmap_clear_le()
1554 mask_to_clear &= cpu_to_ul(BITMAP_LAST_WORD_MASK(size)); in ntfs_bitmap_clear_le()
1555 *p &= ~mask_to_clear; in ntfs_bitmap_clear_le()