Searched refs:SX_LOCK_WAITERS (Results 1 – 2 of 2) sorted by relevance
446 waiters = (x & SX_LOCK_WAITERS); in sx_try_upgrade_int()792 setx = x & (SX_LOCK_WAITERS | SX_LOCK_WRITE_SPINNER); in _sx_xlock_hard()1314 if (SX_SHARERS(*xp) > 1 || !(*xp & SX_LOCK_WAITERS)) { in _sx_sunlock_try()
76 #define SX_LOCK_WAITERS (SX_LOCK_SHARED_WAITERS | SX_LOCK_EXCLUSIVE_WAITERS) macro