Searched refs:SX_OWNER (Results 1 – 2 of 2) sorted by relevance
80 #define SX_OWNER(x) ((x) & ~SX_LOCK_FLAGMASK) macro82 #define SX_SHARERS(x) (SX_OWNER(x) >> SX_SHARERS_SHIFT)98 ((v & SX_LOCK_SHARED) ? NULL : (struct thread *)SX_OWNER(v))250 (struct thread *)SX_OWNER((sx)->sx_lock))
223 ((*owner = (struct thread *)SX_OWNER(x)) != NULL)); in owner_sx()769 owner = (struct thread *)SX_OWNER(x); in _sx_xlock_hard()1172 owner = (struct thread *)SX_OWNER(x); in _sx_slock_hard()