Searched defs:BIT_MASK (Results 1 – 10 of 10) sorted by relevance
49 #define BIT_MASK(x) (((x) >= sizeof(unsigned long) * 8) ? (0UL-1) : ((1UL << (x)) - 1)) macro
335 const BIT_MASK: usize = (usize::BITS - 1) as usize; constant
99 #define BIT_MASK(__c) (1 << ((__c) % BITS_PER)) macro
157 #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) macro
80 #define BIT_MASK(x, y) (((1U << (y)) - 1) << (x)) macro
30 #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) macro
81 #define BIT_MASK(x, y) (((1U << (y)) - 1) << (x)) macro
108 #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) macro
403 #define BIT_MASK(type, size) (((((type)1 << (NUM_BITS(size) - 1)) - 1) << 1) + 1) macro
526 #define BIT_MASK(nr) (1 << (nr % BITS_PER_LONG)) macro