Searched refs:LK_HOLDER (Results 1 – 2 of 2) sorted by relevance
49 #define LK_HOLDER(x) ((x) & ~LK_FLAGMASK) macro51 #define LK_SHARERS(x) (LK_HOLDER(x) >> LK_SHARERS_SHIFT)134 (LK_HOLDER((v)) == LK_KERNPROC)
255 return ((x & LK_SHARE) ? NULL : (struct thread *)LK_HOLDER(x)); in lockmgr_xholder()553 owner = (struct thread *)LK_HOLDER(x); in lockmgr_slock_adaptive()572 owner = (struct thread *)LK_HOLDER(x); in lockmgr_slock_adaptive()610 if (LK_HOLDER(x) == tid) { in lockmgr_slock_hard()738 owner = (struct thread *)LK_HOLDER(x); in lockmgr_xlock_adaptive()757 owner = (struct thread *)LK_HOLDER(x); in lockmgr_xlock_adaptive()1615 if (LK_HOLDER(lk->lk_lock) != tid) in _lockmgr_disown()1681 v = LK_HOLDER(x); in lockstatus()