Lines Matching refs:current_thread
110 result = SCHED(thread_should_yield)(myprocessor, current_thread()); in swtch_continue()
127 if (!SCHED(thread_should_yield)(myprocessor, current_thread())) { in swtch()
143 thread_depress_abort(current_thread()); in swtch_pri_continue()
147 result = SCHED(thread_should_yield)(myprocessor, current_thread()); in swtch_pri_continue()
164 if (!SCHED(thread_should_yield)(myprocessor, current_thread())) { in swtch_pri()
179 thread_t self = current_thread(); in thread_switch_continue()
202 thread_t self = current_thread(); in thread_switch()
306 bool should_yield = SCHED(thread_should_yield)(current_processor(), current_thread()); in thread_switch()
352 thread_t self = current_thread(); in thread_handoff_internal()
433 thread_t self = current_thread(); in thread_depress_abstime()
555 assert(self == current_thread()); in thread_poll_yield()
598 thread_t self = current_thread(); in thread_yield_internal()
639 thread_t self = current_thread(); in thread_yield_to_preemption()