Searched refs:nr_running (Results 1 – 8 of 8) sorted by relevance
719 static u64 __sched_period(unsigned long nr_running) in __sched_period() argument721 if (unlikely(nr_running > sched_nr_latency)) in __sched_period()722 return nr_running * sysctl_sched_min_granularity; in __sched_period()737 unsigned int nr_running = cfs_rq->nr_running; in sched_slice() local743 nr_running = rq_of(cfs_rq)->cfs.h_nr_running; in sched_slice()745 slice = __sched_period(nr_running + !se->on_rq); in sched_slice()1697 unsigned int nr_running; member1744 if ((ns->nr_running > ns->weight) && in numa_classify()1749 if ((ns->nr_running < ns->weight) || in numa_classify()1804 ns->nr_running += rq->cfs.h_nr_running; in update_numa_stats()[all …]
563 unsigned int nr_running; member981 unsigned int nr_running; member2320 return rq->cfs.nr_running > 0; in sched_fair_runnable()2449 unsigned prev_nr = rq->nr_running; in add_nr_running()2451 rq->nr_running = prev_nr + count; in add_nr_running()2457 if (prev_nr < 2 && rq->nr_running >= 2) { in add_nr_running()2468 rq->nr_running -= count; in sub_nr_running()
82 nr_active = this_rq->nr_running - adjust; in calc_load_fold_active()
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() function5420 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()[all …]
624 SEQ_printf(m, " .%-30s: %d\n", "nr_running", cfs_rq->nr_running); in print_cfs_rq()744 P(nr_running); in print_cpu()
1112 BUG_ON(!rq->nr_running); in dequeue_top_rt_rq()
167 int nr_running; member795 return !pool->nr_running; in __need_more_worker()820 return !list_empty(&pool->worklist) && (pool->nr_running <= 1); in keep_working()890 worker->pool->nr_running++; in wq_worker_running()934 pool->nr_running--; in wq_worker_sleeping()990 pool->nr_running--; in worker_set_flags()1022 pool->nr_running++; in worker_clr_flags()1823 WARN_ON_ONCE(pool->nr_workers == pool->nr_idle && pool->nr_running); in worker_enter_idle()5015 pool->nr_running = 0; in unbind_workers()
730 stats->nr_running++; in cgroupstats_build()