Lines Matching refs:nr_running
272 if (!(flags & DEQUEUE_SAVE) && rq->nr_running == 1 && in sched_core_dequeue()
1237 if (rq->nr_running > 1) in sched_can_stop_tick()
4000 if (!cpu_rq(cpu)->nr_running) in ttwu_queue_cond()
5415 unsigned int nr_running(void) in nr_running() function
5420 sum += cpu_rq(i)->nr_running; in nr_running()
5424 EXPORT_SYMBOL(nr_running);
5441 return raw_rq()->nr_running == 1; in single_task_running()
6036 rq->nr_running == rq->cfs.h_nr_running)) { in __pick_next_task()
6246 if (rq_i->nr_running) { in pick_next_task()
6426 if (!rq->nr_running) /* not forced idle */ in queue_core_balance()
7374 if (rq->nr_running) in idle_cpu()
8905 if (rq->nr_running == 1 && p_rq->nr_running == 1) { in yield_to()
9465 if (!rq->nr_running && !rq_has_pinned_tasks(rq) && in balance_push()
9518 rq->nr_running == 1 && !rq_has_pinned_tasks(rq), in balance_hotplug_wait()
9790 printk("%sCPU%d enqueued tasks (%u total):\n", loglvl, cpu, rq->nr_running); in dump_rq_tasks()
9811 if (rq->nr_running != 1 || rq_has_pinned_tasks(rq)) { in sched_cpu_dying()
9956 rq->nr_running = 0; in sched_init()