Home
last modified time | relevance | path

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

/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)); \
/linux/tools/lib/
H A Dbitmap.c109 unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start); in __bitmap_set()
129 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in __bitmap_clear()
H A Dfind_bit.c56 mask = MUNGE(BITMAP_FIRST_WORD_MASK(__start)); \
/linux/include/linux/
H A Dbitmap.h236 #define BITMAP_FIRST_WORD_MASK(start) (~0UL << ((start) & (BITS_PER_LONG - 1))) macro
838 value_low = map[index] & BITMAP_FIRST_WORD_MASK(start); in bitmap_read()
878 map[index] &= (fit ? (~(mask << offset)) : ~BITMAP_FIRST_WORD_MASK(start)); in bitmap_write()
883 map[index + 1] &= BITMAP_FIRST_WORD_MASK(start + nbits); in bitmap_write()
/linux/tools/include/linux/
H A Dbitmap.h34 #define BITMAP_FIRST_WORD_MASK(start) (~0UL << ((start) & (BITS_PER_LONG - 1)))
32 #define BITMAP_FIRST_WORD_MASK( global() macro
/linux/lib/
H A Dbitmap.c378 unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start); in __bitmap_set()
399 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in __bitmap_clear()
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()
/linux/fs/ntfs3/
H A Dbitmap.c1514 bitmap_ulong mask_to_set = cpu_to_ul(BITMAP_FIRST_WORD_MASK(start)); in ntfs_bitmap_set_le()
1534 bitmap_ulong mask_to_clear = cpu_to_ul(BITMAP_FIRST_WORD_MASK(start)); in ntfs_bitmap_clear_le()