Home
last modified time | relevance | path

Searched refs:BITMAP_FIRST_WORD_MASK (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/drivers/firmware/efi/libstub/
H A Dbitmap.c8 unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start); in __bitmap_set()
28 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in __bitmap_clear()
H A Dfind.c20 mask = MUNGE(BITMAP_FIRST_WORD_MASK(__start)); \
/openbmc/qemu/util/
H A Dbitmap.c165 unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start); in bitmap_set()
187 unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start); in bitmap_set_atomic()
226 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in bitmap_clear()
248 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in bitmap_test_and_clear()
293 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in bitmap_test_and_clear_atomic()
/openbmc/linux/tools/testing/radix-tree/
H A Dbitmap.c10 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in bitmap_clear()
/openbmc/linux/include/linux/
H A Dbitmap.h241 #define BITMAP_FIRST_WORD_MASK(start) (~0UL << ((start) & (BITS_PER_LONG - 1))) macro
645 value_low = map[index] & BITMAP_FIRST_WORD_MASK(start); in bitmap_read()
684 map[index] &= (fit ? (~(mask << offset)) : ~BITMAP_FIRST_WORD_MASK(start)); in bitmap_write()
689 map[index + 1] &= BITMAP_FIRST_WORD_MASK(start + nbits); in bitmap_write()
/openbmc/linux/tools/lib/
H A Dfind_bit.c56 mask = MUNGE(BITMAP_FIRST_WORD_MASK(__start)); \
/openbmc/linux/tools/include/linux/
H A Dbitmap.h26 #define BITMAP_FIRST_WORD_MASK(start) (~0UL << ((start) & (BITS_PER_LONG - 1))) macro
/openbmc/linux/lib/
H A Dfind_bit.c57 mask = MUNGE(BITMAP_FIRST_WORD_MASK(__start)); \
H A Dgenalloc.c90 unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start); in bitmap_set_ll()
126 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in bitmap_clear_ll()
H A Dbitmap.c367 unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start); in __bitmap_set()
388 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in __bitmap_clear()
/openbmc/qemu/include/qemu/
H A Dbitmap.h66 #define BITMAP_FIRST_WORD_MASK(start) (~0UL << ((start) & (BITS_PER_LONG - 1))) macro
/openbmc/linux/fs/ntfs3/
H A Dbitmap.c1524 bitmap_ulong mask_to_set = cpu_to_ul(BITMAP_FIRST_WORD_MASK(start)); in ntfs_bitmap_set_le()
1544 bitmap_ulong mask_to_clear = cpu_to_ul(BITMAP_FIRST_WORD_MASK(start)); in ntfs_bitmap_clear_le()