Searched refs:BIT_MASK (Results 1 – 4 of 4) sorted by relevance
31 #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) macro38 unsigned long mask = BIT_MASK(nr); in set_bit()46 unsigned long mask = BIT_MASK(nr); in clear_bit()
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…
35 #define BIT_MASK(__c) (1 << ((__c) % BITS_PER)) macro41 (((bitmap_t *)(__bmap))[BIT_ENTRY(__c)] & BIT_MASK(__c))44 BIT_MASK(__c))
574 #define BIT_MASK(nr) (1 << (nr % BITS_PER_LONG)) macro