Searched refs:sleep_reason (Results 1 – 2 of 2) sorted by relevance
570 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
924 enum { READERS, WRITER } sleep_reason = READERS; in __rw_wlock_hard() local1026 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()