Home
last modified time | relevance | path

Searched refs:LK_HOLDER (Results 1 – 3 of 3) sorted by relevance

/freebsd-14-stable/sys/sys/
HDlockmgr.h49 #define LK_HOLDER(x) ((x) & ~LK_FLAGMASK) macro
51 #define LK_SHARERS(x) (LK_HOLDER(x) >> LK_SHARERS_SHIFT)
/freebsd-14-stable/sys/kern/
HDkern_lock.c247 if (LK_HOLDER(lockmgr_read_value(lk)) != LK_KERNPROC) { in lockmgr_note_exclusive_release()
261 return ((x & LK_SHARE) ? NULL : (struct thread *)LK_HOLDER(x)); in lockmgr_xholder()
563 owner = (struct thread *)LK_HOLDER(x); in lockmgr_slock_adaptive()
582 owner = (struct thread *)LK_HOLDER(x); in lockmgr_slock_adaptive()
620 if (LK_HOLDER(x) == tid) { in lockmgr_slock_hard()
748 owner = (struct thread *)LK_HOLDER(x); in lockmgr_xlock_adaptive()
767 owner = (struct thread *)LK_HOLDER(x); in lockmgr_xlock_adaptive()
1139 if (LK_HOLDER(x) == LK_KERNPROC) in lockmgr_xunlock_hard()
1637 if (LK_HOLDER(lk->lk_lock) != tid) in _lockmgr_disown()
1703 v = LK_HOLDER(x); in lockstatus()
/freebsd-14-stable/sys/geom/
HDgeom_vfs.c128 if (LK_HOLDER(bp->b_lock.lk_lock) == LK_KERNPROC) in g_vfs_done()
133 if (LK_HOLDER(bp->b_lock.lk_lock) == LK_KERNPROC) in g_vfs_done()