Lines Matching defs:runq
182 return &processor->runq;
673 run_queue_init(&processor->runq);
1680 thread->runq = PROCESSOR_NULL;
1734 thread->runq = PROCESSOR_NULL;
2001 thread->runq = PROCESSOR_NULL;
2243 assert(self->runq == PROCESSOR_NULL);
2736 thread->runq = FS_RUNQ;
2752 thread->runq = PROCESSOR_NULL;
2773 if (FS_RUNQ == thread->runq) {
2778 thread->runq = PROCESSOR_NULL;
2787 assert(thread->runq == PROCESSOR_NULL);
2819 thread->runq = PROCESSOR_NULL;
2902 thread->runq = PROCESSOR_NULL;
2969 thread->runq = RT_RUNQ;
3056 thread->runq = processor;
3166 * The pset runq contains the count of all runnable threads
3174 * shared runq.
3186 run_queue_t runq;
3191 runq = runq_for_processor(processor);
3193 has_higher = (runq->highq > processor->current_pri);
3195 has_higher = (runq->highq >= processor->current_pri);
3198 if (runq->urgency > 0)
3537 assert(thread->runq == PROCESSOR_NULL);
3654 thread->runq = PROCESSOR_NULL;
3778 if (rq != thread->runq)
3779 panic("run_queue_check: thread runq");
3814 if (processor == thread->runq) {
3827 assert(thread->runq == PROCESSOR_NULL);
3850 processor_t processor = thread->runq;
3877 if (processor == thread->runq) {
3886 thread->runq = PROCESSOR_NULL;
3893 assert(thread->runq == PROCESSOR_NULL);
3929 thread->runq = PROCESSOR_NULL;
4349 * Scan a runq for candidate threads.
4355 run_queue_t runq)
4361 if ((count = runq->count) > 0) {
4362 q = runq->queues + runq->highq;