Searched refs:privmask (Results 1 – 2 of 2) sorted by relevance
67 #define privmask(n) (1 << ((__NBWRD - 1) - ((n) % __NBWRD))) macro74 privmask(p)76 ~privmask(p)78 privmask(p)) != 0)
95 #define privmask(n) (1U << ((__NBWRD - 1) - ((n) % __NBWRD))) macro104 #define __PRIV_ASSERT(a, b) ((a)->pbits[privword(b)] |= privmask(b))105 #define __PRIV_CLEAR(a, b) ((a)->pbits[privword(b)] &= ~privmask(b))106 #define __PRIV_ISASSERT(a, b) ((a)->pbits[privword(b)] & privmask(b))