Home
last modified time | relevance | path

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

/freebsd/sys/kern/
H A Dkern_sx.c570 enum { READERS, WRITER } sleep_reason = READERS; in _sx_xlock_hard()
678 sleep_reason = WRITER; in _sx_xlock_hard()
697 sleep_reason = READERS; in _sx_xlock_hard()
770 } else if (SX_SHARERS(x) > 0 && sleep_reason == WRITER) { in _sx_xlock_hard()
575 enum { READERS, WRITER } sleep_reason = READERS; _sx_xlock_hard() local
H A Dkern_rwlock.c924 enum { READERS, WRITER } sleep_reason = READERS; in __rw_wlock_hard() local
1026 sleep_reason = WRITER; in __rw_wlock_hard()
1045 sleep_reason = READERS; in __rw_wlock_hard()
1107 } else if (RW_READERS(v) > 0 && sleep_reason == WRITER) { in __rw_wlock_hard()