Lines Matching refs:nr_running
1045 if (cfs_rq->nr_running > 1) { in update_deadline()
1974 unsigned int nr_running; member
2004 if ((ns->nr_running > ns->weight) && in numa_classify()
2009 if ((ns->nr_running < ns->weight) || in numa_classify()
2064 ns->nr_running += rq->cfs.h_nr_running; in update_numa_stats()
2067 if (find_idle && idle_core < 0 && !rq->nr_running && idle_cpu(cpu)) { in update_numa_stats()
2384 src_running = env->src_stats.nr_running - 1; in task_numa_find_cpu()
2385 dst_running = env->dst_stats.nr_running + 1; in task_numa_find_cpu()
3619 cfs_rq->nr_running++; in account_entity_enqueue()
3634 cfs_rq->nr_running--; in account_entity_dequeue()
5105 return !cfs_rq->nr_running; in cfs_rq_is_decayed()
5160 if (sched_feat(PLACE_LAG) && cfs_rq->nr_running) { in place_entity()
5300 if (cfs_rq->nr_running == 1) { in enqueue_entity()
5385 if (cfs_rq->nr_running == 0) in dequeue_entity()
5722 if (cfs_rq->nr_running) in tg_throttle_down()
5814 if (cfs_rq->nr_running) in throttle_cfs_rq()
5901 if (rq->curr == rq->idle && rq->cfs.nr_running) in unthrottle_cfs_rq()
6190 if (!cfs_rq->runtime_enabled || cfs_rq->nr_running) in return_cfs_rq_runtime()
6522 if (rq->nr_running != 1) in sched_fair_update_stop_tick()
6683 return unlikely(rq->nr_running == rq->cfs.idle_h_nr_running && in sched_idle_rq()
6684 rq->nr_running); in sched_idle_rq()
7024 if (sync && cpu_rq(this_cpu)->nr_running == 1) in wake_affine_idle()
7563 this_rq()->nr_running <= 1 && in select_idle_sibling()
8229 if (rq->nr_running) in balance_fair()
8334 if (!cfs_rq->nr_running) in pick_task_fair()
8407 if (!cfs_rq->nr_running) in pick_next_task_fair()
8535 if (unlikely(rq->nr_running == 1)) in yield_task_fair()
8799 if (sched_feat(CACHE_HOT_BUDDY) && env->dst_rq->nr_running && in task_hot()
8847 if (env->src_rq->nr_running > env->src_rq->nr_preferred_running) in migrate_degrades_locality()
9034 if (env->src_rq->nr_running <= 1) { in detach_tasks()
9047 if (env->idle != CPU_NOT_IDLE && env->src_rq->nr_running <= 1) in detach_tasks()
9294 if (cfs_rq->nr_running == 0) in __update_blocked_fair()
9860 int i, nr_running, local_group; in update_sg_lb_stats() local
9875 nr_running = rq->nr_running; in update_sg_lb_stats()
9876 sgs->sum_nr_running += nr_running; in update_sg_lb_stats()
9878 if (nr_running > 1) in update_sg_lb_stats()
9891 if (!nr_running && idle_cpu(i)) { in update_sg_lb_stats()
10106 if (rq->nr_running > rq->nr_numa_running) in fbq_classify_rq()
10108 if (rq->nr_running > rq->nr_preferred_running) in fbq_classify_rq()
10183 int i, nr_running; in update_sg_wakeup_stats() local
10201 nr_running = rq->nr_running - local; in update_sg_wakeup_stats()
10202 sgs->sum_nr_running += nr_running; in update_sg_wakeup_stats()
10207 if (!nr_running && idle_cpu_without(i, p)) in update_sg_wakeup_stats()
10962 unsigned int nr_running; in find_busiest_queue() local
10990 nr_running = rq->cfs.h_nr_running; in find_busiest_queue()
10991 if (!nr_running) in find_busiest_queue()
11004 nr_running == 1) in find_busiest_queue()
11017 nr_running == 1) in find_busiest_queue()
11028 if (nr_running == 1 && load > env->imbalance && in find_busiest_queue()
11060 if (nr_running <= 1) in find_busiest_queue()
11070 if (busiest_nr < nr_running) { in find_busiest_queue()
11071 busiest_nr = nr_running; in find_busiest_queue()
11188 if (env->dst_rq->nr_running > 0 || env->dst_rq->ttwu_pending) in should_we_balance()
11291 if (busiest->nr_running > 1) { in load_balance()
11298 env.loop_max = min(sysctl_sched_nr_migrate, busiest->nr_running); in load_balance()
11571 if (busiest_rq->nr_running <= 1) in active_load_balance_cpu_stop()
11852 if (rq->nr_running >= 2) { in nohz_balancer_kick()
12338 if (pulled_task || this_rq->nr_running > 0 || in newidle_balance()
12358 if (this_rq->nr_running != this_rq->cfs.h_nr_running) in newidle_balance()
12467 if (rq->core->core_forceidle_count && rq->cfs.nr_running == 1 && in task_tick_core()
12624 if (rq->cfs.nr_running == 1) in prio_changed_fair()