Searched refs:BS_BIT (Results 1 – 1 of 1) sorted by relevance
337 #define BS_BIT(pos) (1 << (pos % BITS_IN_ROOM)) macro339 #define BITSET_AT(bs, pos) (BS_ROOM(bs,pos) & BS_BIT(pos))340 #define BITSET_SET_BIT(bs, pos) BS_ROOM(bs,pos) |= BS_BIT(pos)341 #define BITSET_CLEAR_BIT(bs, pos) BS_ROOM(bs,pos) &= ~(BS_BIT(pos))342 #define BITSET_INVERT_BIT(bs, pos) BS_ROOM(bs,pos) ^= BS_BIT(pos)