Home
last modified time | relevance | path

Searched refs:BITMAP_FIRST_WORD_MASK (Results 1 – 10 of 10) 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/include/linux/
H A Dbitmap.h226 #define BITMAP_FIRST_WORD_MASK(start) (~0UL << ((start) & (BITS_PER_LONG - 1))) macro
778 value_low = map[index] & BITMAP_FIRST_WORD_MASK(start); in bitmap_read()
818 map[index] &= (fit ? (~(mask << offset)) : ~BITMAP_FIRST_WORD_MASK(start)); in bitmap_write()
823 map[index + 1] &= BITMAP_FIRST_WORD_MASK(start + nbits); in bitmap_write()
/linux/tools/lib/
H A Dfind_bit.c56 mask = MUNGE(BITMAP_FIRST_WORD_MASK(__start)); \
H A Dbitmap.c109 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in __bitmap_clear()
/linux/tools/include/linux/
H A Dbitmap.h26 #define BITMAP_FIRST_WORD_MASK(start) (~0UL << ((start) & (BITS_PER_LONG - 1))) macro
/linux/lib/
H A Dbitmap.c363 unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start); in __bitmap_set()
384 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()
H A Dfind_bit.c57 mask = MUNGE(BITMAP_FIRST_WORD_MASK(__start)); \
/linux/fs/ntfs3/
H A Dbitmap.c1496 bitmap_ulong mask_to_set = cpu_to_ul(BITMAP_FIRST_WORD_MASK(start)); in ntfs_bitmap_set_le()
1516 bitmap_ulong mask_to_clear = cpu_to_ul(BITMAP_FIRST_WORD_MASK(start)); in ntfs_bitmap_clear_le()