Lines Matching refs:current_thread
141 lock_disable_preemption_for_thread(current_thread()); in hw_lck_ticket_init_locked()
497 thread_t cthread = current_thread(); in hw_lck_ticket_lock()
518 thread_t cthread = current_thread(); in hw_lck_ticket_lock_to()
539 thread_t cthread = current_thread(); in lck_ticket_lock()
560 lock_disable_preemption_for_thread(current_thread()); in hw_lck_ticket_lock_try()
580 thread_t cthread = current_thread(); in lck_ticket_lock_try()
630 thread_t cthread = current_thread(); in hw_lck_ticket_reserve()
650 lock_disable_preemption_for_thread(current_thread()); in hw_lck_ticket_reserve_allow_invalid()
675 return hw_lck_ticket_contended(lck, current_thread(), arg, timeout, in hw_lck_ticket_wait()
695 return hw_lck_ticket_contended(lck, current_thread(), arg, timeout, in hw_lck_ticket_lock_allow_invalid()
728 assertf(tlock->lck_owner == (uintptr_t)current_thread(), in lck_ticket_unlock()
742 self = current_thread(); in lck_ticket_assert_owned()