Home
last modified time | relevance | path

Searched refs:max_thread (Results 1 – 1 of 1) sorted by relevance

/xnu-12377.1.9/osfmk/kern/
H A Dturnstile.c2443 thread_t max_thread = THREAD_NULL; in turnstile_recompute_priority_locked() local
2455 max_thread = priority_queue_max(&turnstile->ts_waitq.waitq_prio_queue, in turnstile_recompute_priority_locked()
2458 if (max_thread) { in turnstile_recompute_priority_locked()
2461 &max_thread->wait_prioq_links); in turnstile_recompute_priority_locked()
2606 thread_t max_thread; in turnstile_workloop_pusher_info() local
2616 max_thread = priority_queue_max(&turnstile->ts_waitq.waitq_prio_queue, in turnstile_workloop_pusher_info()
2618 if (max_thread) { in turnstile_workloop_pusher_info()
2621 &max_thread->wait_prioq_links); in turnstile_workloop_pusher_info()
2658 thread_reference(max_thread); in turnstile_workloop_pusher_info()
2659 *thread_out = max_thread; in turnstile_workloop_pusher_info()