Lines Matching refs:current_thread

898 	__assert_only thread_t self = current_thread();
975 thread_set_pending_block_hint(current_thread(), kThreadWaitKernelRWLockWrite);
1051 thread_set_pending_block_hint(current_thread(), kThreadWaitKernelRWLockWrite);
1150 thread_t thread = current_thread(); in lck_rw_lock_exclusive_check_contended()
1186 thread_t thread = current_thread();
1295 __assert_only thread_t self = current_thread();
1370 thread_set_pending_block_hint(current_thread(), kThreadWaitKernelRWLockRead);
1424 thread_t thread = current_thread();
1573 thread_t thread = current_thread(); in lck_rw_lock_shared_to_exclusive_failure()
1673 thread_set_pending_block_hint(current_thread(), kThreadWaitKernelRWLockUpgrade); in lck_rw_lock_shared_to_exclusive_success()
1730 thread_t thread = current_thread(); in lck_rw_lock_shared_to_exclusive()
1733 assertf(lock->lck_rw_priv_excl != 0, "lock %p thread %p", lock, current_thread()); in lck_rw_lock_shared_to_exclusive()
1831 thread_t thread = current_thread(); in lck_rw_lock_exclusive_to_shared_gen()
1854 assertf(lock->lck_rw_owner == current_thread()->ctid, in lck_rw_lock_exclusive_to_shared()
1938 thread_t thread = current_thread(); in lck_rw_try_lock_shared_internal_inline()
2054 thread_t thread = current_thread(); in lck_rw_try_lock_exclusive_internal_inline()
2205 thread = current_thread(); in lck_rw_done_gen()
2244 thread_t thread = current_thread(); in lck_rw_done()
2274 assertf(lock->lck_rw_owner == current_thread()->ctid, in lck_rw_done()
2352 assertf(lck->lck_rw_owner == current_thread()->ctid, in lck_rw_unlock_exclusive()
2414 thread_t thread = current_thread(); in lck_rw_assert()