Home
last modified time | relevance | path

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

/f-stack/freebsd/kern/
H A Dkern_lock.c537 if (LK_SHARERS(*xp) > 1 || !(*xp & LK_ALL_WAITERS)) { in lockmgr_sunlock_try()
562 if ((x & LK_SHARE) && LK_SHARERS(x) > 0) in lockmgr_slock_adaptive()
717 (x & LK_SHARE) == 0 ? 0 : LK_SHARERS(x)); in lockmgr_slock_hard()
746 if ((x & LK_SHARE) && LK_SHARERS(x) > 0) in lockmgr_xlock_adaptive()
953 (x & LK_SHARE) == 0 ? 0 : LK_SHARERS(x)); in lockmgr_xlock_hard()
987 if (LK_SHARERS(v) > 1) { in lockmgr_upgrade()
1544 (v & LK_SHARE) && !LK_SHARERS(v); in __lockmgr_args()
1662 (uintmax_t)LK_SHARERS(lk->lk_lock)); in lockmgr_printinfo()
1801 (uintmax_t)LK_SHARERS(lk->lk_lock)); in lockmgr_chain()
1821 db_printf("SLOCK: %ju\n", (uintmax_t)LK_SHARERS(lk->lk_lock)); in db_show_lockmgr()
/f-stack/freebsd/sys/
H A Dlockmgr.h53 #define LK_SHARERS(x) (LK_HOLDER(x) >> LK_SHARERS_SHIFT) macro