Searched refs:BIT_MASK (Results 1 – 3 of 3) sorted by relevance
99 #define BIT_MASK(__c) (1 << ((__c) % BITS_PER)) macro109 return ((bitmap_t *)(bmap))[BIT_ENTRY(cc)] & BIT_MASK(cc); in exfat_bitmap_get()116 (((bitmap_t *)(bmap))[BIT_ENTRY(cc)] |= BIT_MASK(cc)); in exfat_bitmap_set()122 (((bitmap_t *)(bmap))[BIT_ENTRY(cc)] &= ~BIT_MASK(cc)); in exfat_bitmap_clear()
407 #define BIT_MASK(type, size) (((((type)1 << (NUM_BITS(size) - 1)) - 1) << 1) + 1) macro421 …( ( (type)x & ~(BIT_MASK(type, size) << LOW_BIT(size)) ) | ( ((type)v & BIT_MASK(type, size)) << L…
578 #define BIT_MASK(nr) (1 << (nr % BITS_PER_LONG)) macro