Lines Matching refs:fs_runq
115 static struct fairshare_queue fs_runq;
702 fs_runq.count = 0;
703 queue_init(&fs_runq.queue);
2718 return fs_runq.count;
2724 return fs_runq.runq_stats.count_sum;
2730 queue_t queue = &fs_runq.queue;
2737 SCHED_STATS_RUNQ_CHANGE(&fs_runq.runq_stats, fs_runq.count);
2738 fs_runq.count++;
2749 if (fs_runq.count > 0) {
2750 thread = (thread_t)dequeue_head(&fs_runq.queue);
2753 SCHED_STATS_RUNQ_CHANGE(&fs_runq.runq_stats, fs_runq.count);
2754 fs_runq.count--;
2771 q = &fs_runq.queue;
2775 SCHED_STATS_RUNQ_CHANGE(&fs_runq.runq_stats, fs_runq.count);
2776 fs_runq.count--;