Lines Matching refs:current_thread
482 thread_t thread = current_thread(); in hw_wait_while_equals32()
545 thread_t thread = current_thread(); in hw_wait_while_equals64()
623 thread_t thread = current_thread();
636 thread_t thread = current_thread();
653 thread_t thread = current_thread();
670 thread_t thread = current_thread();
705 thread_t thread = current_thread();
718 thread_t thread = current_thread();
777 thread_t thread = current_thread(); in hw_lock_bit_to_contended()
903 __lck_require_preemption_disabled(lock, current_thread());
955 __lck_require_preemption_disabled(lock, current_thread()); in hw_unlock_bit_nopreempt()
1172 thread_t thread = current_thread(); in lck_mtx_lock_wait()
1247 thread_t thread = current_thread(); in lck_mtx_lock_acquire()
1287 thread_t thread = current_thread(); in lck_mtx_unlock_wakeup()
1536 thread_set_pending_block_hint(current_thread(), kThreadWaitSleepWithInheritor);
2007 … close a gate already closed gate %p holder %p current_thread %p", gate, holder, current_thread()); in gate_already_owned_panic()
2016 thread_t thread = current_thread(); in gate_try_close()
2031 state = GATE_THREAD_TO_STATE(current_thread()); in gate_try_close()
2036 if (holder == current_thread()) { in gate_try_close()
2051 thread_t thread = current_thread(); in gate_close()
2101 …panic("Trying to open a gate %p owned by %p from current_thread %p", gate, holder, current_thread(… in gate_not_owned_panic()
2103 …("Trying to handoff a gate %p owned by %p from current_thread %p", gate, holder, current_thread()); in gate_not_owned_panic()
2113 thread_t thread = current_thread(); in gate_open()
2211 thread_t thread = current_thread(); in gate_handoff()
2228 if (holder != current_thread()) { in gate_handoff()
2285 panic("Trying to wait on a not closed gate %p from current_thread %p", gate, current_thread()); in gate_not_closed_panic()
2287 panic("Trying to steal a not closed gate %p from current_thread %p", gate, current_thread()); in gate_not_closed_panic()
2296 thread_t thread = current_thread(); in gate_steal()
2365 holder == current_thread())) { // thread was woken up and it is the new holder in gate_wait_turnstile()
2454 assert(holder != current_thread());
2481 if (holder == current_thread()) {
2537 assert(holder == current_thread()); in gate_assert()
2639 …gate_alloc_init(). gate_free() should be used instead, gate %p thread %p", gate, current_thread()); in gate_destroy_panic()
2656 …ee a gate that was not allocated by gate_alloc_init(), gate %p thread %p", gate, current_thread()); in gate_free_panic()