Lines Matching refs:nr_running
263 if (!(flags & DEQUEUE_SAVE) && rq->nr_running == 1 && in sched_core_dequeue()
1195 if (rq->nr_running != 1) in __need_bw_check()
1239 if (rq->nr_running > 1) in sched_can_stop_tick()
3993 if (!cpu_rq(cpu)->nr_running) in ttwu_queue_cond()
5392 unsigned int nr_running(void) in nr_running() function
5397 sum += cpu_rq(i)->nr_running; in nr_running()
5417 return raw_rq()->nr_running == 1; in single_task_running()
6003 rq->nr_running == rq->cfs.h_nr_running)) { in __pick_next_task()
6213 if (rq_i->nr_running) { in pick_next_task()
6397 if (!rq->nr_running) /* not forced idle */ in queue_core_balance()
7334 if (rq->nr_running) in idle_cpu()
8949 if (rq->nr_running == 1 && p_rq->nr_running == 1) { in yield_to()
9496 if (!rq->nr_running && !rq_has_pinned_tasks(rq) && in balance_push()
9549 rq->nr_running == 1 && !rq_has_pinned_tasks(rq), in balance_hotplug_wait()
9846 printk("%sCPU%d enqueued tasks (%u total):\n", loglvl, cpu, rq->nr_running); in dump_rq_tasks()
9867 if (rq->nr_running != 1 || rq_has_pinned_tasks(rq)) { in sched_cpu_dying()
10008 rq->nr_running = 0; in sched_init()