Lines Matching refs:event_t

897 			assert_wait((event_t) var, THREAD_UNINT);  in wait_threads()
913 thread_wakeup((event_t) var); in wake_threads()
1198 …ret = lck_mtx_sleep_with_inheritor(&info->mtx_lock, LCK_SLEEP_DEFAULT, (event_t) &info->thread_inh… in primitive_sleep_with_inheritor()
1201 …ret = lck_rw_sleep_with_inheritor(&info->rw_lock, LCK_SLEEP_DEFAULT, (event_t) &info->thread_inher… in primitive_sleep_with_inheritor()
1216 …wakeup_one_with_inheritor((event_t) &info->thread_inheritor, THREAD_AWAKENED, LCK_WAKE_DEFAULT, &i… in primitive_wakeup_one_with_inheritor()
1229 wakeup_all_with_inheritor((event_t) &info->thread_inheritor, THREAD_AWAKENED); in primitive_wakeup_all_with_inheritor()
1243 change_sleep_inheritor((event_t) &info->thread_inheritor, info->thread_inheritor); in primitive_change_sleep_inheritor()
1671 wakeup_all_with_inheritor((event_t) &info->thread_inheritor, THREAD_AWAKENED); in thread_mtx_work()
1682 …lck_mtx_sleep_with_inheritor(&info->mtx_lock, LCK_SLEEP_DEFAULT, (event_t) &info->thread_inheritor… in thread_mtx_work()
1686 …lck_mtx_sleep_with_inheritor(&info->mtx_lock, LCK_SLEEP_UNLOCK, (event_t) &info->thread_inheritor,… in thread_mtx_work()
1715 wakeup_all_with_inheritor((event_t) &info->thread_inheritor, THREAD_AWAKENED); in thread_mtx_work()
1723 …lck_mtx_sleep_with_inheritor(&info->mtx_lock, LCK_SLEEP_SPIN, (event_t) &info->thread_inheritor, i… in thread_mtx_work()
1727 …lck_mtx_sleep_with_inheritor(&info->mtx_lock, LCK_SLEEP_SPIN_ALWAYS, (event_t) &info->thread_inher… in thread_mtx_work()
1777 wakeup_all_with_inheritor((event_t) &info->thread_inheritor, THREAD_AWAKENED); in thread_rw_work()
1792 …lck_rw_sleep_with_inheritor(&info->rw_lock, LCK_SLEEP_DEFAULT, (event_t) &info->thread_inheritor, … in thread_rw_work()
1796 …lck_rw_sleep_with_inheritor(&info->rw_lock, LCK_SLEEP_UNLOCK, (event_t) &info->thread_inheritor, i… in thread_rw_work()
1799 …lck_rw_sleep_with_inheritor(&info->rw_lock, LCK_SLEEP_SHARED, (event_t) &info->thread_inheritor, i… in thread_rw_work()
1803 …lck_rw_sleep_with_inheritor(&info->rw_lock, LCK_SLEEP_EXCLUSIVE, (event_t) &info->thread_inheritor… in thread_rw_work()
2908 event_t wait_event, wake_event; in thread_sleep_gate_chain_work()
2951 wait_event = (event_t) &info->head.threads[i - 1]; in thread_sleep_gate_chain_work()
2952 wake_event = (event_t) &info->head.threads[i]; in thread_sleep_gate_chain_work()
3065 event_t wait_event, wake_event; in thread_sleep_chain_work()
3088 …ret = wakeup_one_with_inheritor((event_t) &info->head.threads[0], THREAD_AWAKENED, LCK_WAKE_DO_NOT… in thread_sleep_chain_work()
3093 ret = wakeup_all_with_inheritor((event_t) &info->head.threads[0], LCK_WAKE_DEFAULT); in thread_sleep_chain_work()
3101 wait_event = (event_t) &info->head.threads[i - 1]; in thread_sleep_chain_work()
3102 wake_event = (event_t) &info->head.threads[i]; in thread_sleep_chain_work()