Lines Matching refs:count

121  * Consider the right way to handle runq count - I don't want to iterate groups.
434 assert(sched_group->runq.count == 0);
482 assert(rq->count != 0);
513 assert(rq->count != 0);
572 if (main_entryq->count == 0)
594 if (group->runq.count == 0)
620 assert(rq->count > 0);
625 SCHED_STATS_RUNQ_CHANGE(&rq->runq_stats, rq->count);
626 rq->count--;
672 SCHED_STATS_RUNQ_CHANGE(&rq->runq_stats, rq->count);
673 rq->count++;
698 SCHED_STATS_RUNQ_CHANGE(&rq->runq_stats, rq->count);
699 rq->count--;
728 assert(rq->count > 0);
735 SCHED_STATS_RUNQ_CHANGE(&rq->runq_stats, rq->count);
736 rq->count--;
784 SCHED_STATS_RUNQ_CHANGE(&rq->runq_stats, rq->count);
785 rq->count++;
806 SCHED_STATS_RUNQ_CHANGE(&rq->runq_stats, rq->count);
807 rq->count--;
840 assert(main_entryq->count > 0);
869 assert(main_entryq->count > 0);
997 if (bound_runq->count && main_entryq->count) {
1003 } else if (bound_runq->count) {
1005 } else if (main_entryq->count) {
1035 if (group->runq.count != 0 && (reason & AST_PREEMPTION) == 0) {
1147 return multiq_main_entryq(processor)->count == 0 &&
1148 multiq_bound_runq(processor)->count == 0;
1210 * TODO: Decide whether to keep a count of runnable threads in the pset
1211 * or just return something less than the true count.
1218 return multiq_main_entryq(processor)->count + multiq_bound_runq(processor)->count;
1240 return multiq_bound_runq(processor)->count;
1261 while (main_entryq->count > 0) {
1336 int count;
1341 if ((count = runq->count) > 0) {
1343 while (count > 0) {
1346 if (group->runq.count > 0) {
1350 count--;