Lines Matching refs:current_thread
420 thread_t thread = current_thread(); in _disable_preemption()
468 thread_t t = current_thread(); in _disable_preemption_without_measurements()
545 thread_t thread = current_thread(); in _enable_preemption()
576 return current_thread()->machine.preemption_count; in get_preemption_level()
724 …if ((LCK_MTX_STATE_TO_THREAD(lock->lck_spin_data) != current_thread()) && LOCK_CORRECTNESS_PANIC()… in lck_spin_unlock()
741 …if ((LCK_MTX_STATE_TO_THREAD(lock->lck_spin_data) != current_thread()) && LOCK_CORRECTNESS_PANIC()… in lck_spin_unlock_nopreempt()
996 thread = current_thread(); in lck_mtx_lock()
1484 lck_mtx_lock_contended(lock, current_thread(), TRUE); in lck_mtx_lock_spin_internal()
1528 thread_t thread = current_thread(); in lck_mtx_try_lock()
1634 thread_t thread = current_thread(); in lck_mtx_unlock()
1719 thread = current_thread(); in lck_mtx_assert()
1751 thread_t thread = current_thread(); in lck_mtx_convert_spin()
1810 thread = current_thread(); in lck_spin_assert()