Searched refs:privmask (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libc/inc/
H A Dpriv_private.h67 #define privmask(n) (1 << ((__NBWRD - 1) - ((n) % __NBWRD))) macro
74 privmask(p)
76 ~privmask(p)
78 privmask(p)) != 0)
/illumos-gate/usr/src/uts/common/sys/
H A Dpriv_impl.h95 #define privmask(n) (1U << ((__NBWRD - 1) - ((n) % __NBWRD))) macro
104 #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))

Completed in 67 milliseconds