Lines Matching refs:thread_t
74 thread_t thread);
76 static thread_t
83 thread_t thread);
123 static thread_t
127 static thread_t
131 sched_grrr_compute_priority(thread_t thread,
137 thread_t thread);
142 thread_t thread,
152 thread_t thread);
169 sched_grrr_initial_quantum_size(thread_t thread);
178 sched_grrr_can_update_priority(thread_t thread);
181 sched_grrr_update_priority(thread_t thread);
184 sched_grrr_lightweight_update_priority(thread_t thread);
187 sched_grrr_quantum_expire(thread_t thread);
308 static thread_t
317 static thread_t
327 sched_grrr_compute_priority(thread_t thread,
336 thread_t thread)
344 thread_t thread,
362 thread_t thread;
376 while ((thread = (thread_t)dequeue_head(&bqueue)) != THREAD_NULL) {
382 while ((thread = (thread_t)dequeue_head(&tqueue)) != THREAD_NULL) {
394 thread_t thread)
482 sched_grrr_initial_quantum_size(thread_t thread __unused)
503 sched_grrr_can_update_priority(thread_t thread __unused)
509 sched_grrr_update_priority(thread_t thread __unused)
515 sched_grrr_lightweight_update_priority(thread_t thread __unused)
522 thread_t thread __unused)
583 static thread_t
586 thread_t thread;
594 thread = (thread_t)queue_first(&group->clients);
598 group->current_client = (thread_t)queue_next((queue_entry_t)thread);
600 group->current_client = (thread_t)queue_first(&group->clients);
609 static thread_t
612 thread_t thread;
710 thread_t thread)
754 static thread_t
757 thread_t thread;
800 thread_t thread)
905 sched_grrr_fairshare_enqueue(thread_t thread)
916 thread_t sched_grrr_fairshare_dequeue(void)
918 thread_t thread;
933 boolean_t sched_grrr_fairshare_queue_remove(thread_t thread)