Home
last modified time | relevance | path

Searched refs:LK_SHARERS (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/kern/
H A Dkern_lock.c533 if (LK_SHARERS(*xp) > 1 || !(*xp & LK_ALL_WAITERS)) { in lockmgr_sunlock_try()
558 if ((x & LK_SHARE) && LK_SHARERS(x) > 0) in lockmgr_slock_adaptive()
714 (x & LK_SHARE) == 0 ? 0 : LK_SHARERS(x)); in lockmgr_slock_hard()
743 if ((x & LK_SHARE) && LK_SHARERS(x) > 0) in lockmgr_xlock_adaptive()
952 (x & LK_SHARE) == 0 ? 0 : LK_SHARERS(x)); in lockmgr_xlock_hard()
986 if (LK_SHARERS(v) > 1) { in lockmgr_upgrade()
1533 (v & LK_SHARE) && !LK_SHARERS(v); in __lockmgr_args()
1649 (uintmax_t)LK_SHARERS(lk->lk_lock)); in lockmgr_printinfo()
1788 (uintmax_t)LK_SHARERS(lk->lk_lock)); in lockmgr_chain()
1808 db_printf("SLOCK: %ju\n", (uintmax_t)LK_SHARERS(lk->lk_lock)); in db_show_lockmgr()
/freebsd/sys/sys/
H A Dlockmgr.h51 #define LK_SHARERS(x) (LK_HOLDER(x) >> LK_SHARERS_SHIFT) macro