Home
last modified time | relevance | path

Searched refs:nr_running (Results 1 – 21 of 21) sorted by relevance

/openbmc/linux/io_uring/
H A Dio-wq.c84 atomic_t nr_running; member
134 int nr_running; member
195 atomic_dec(&acct->nr_running); in io_worker_cancel_cb()
325 atomic_inc(&acct->nr_running); in io_wq_create_worker()
334 atomic_inc(&acct->nr_running); in io_wq_inc_running()
358 atomic_dec(&acct->nr_running); in create_worker_cb()
406 atomic_dec(&acct->nr_running); in io_queue_worker_create()
425 atomic_inc(&acct->nr_running); in io_wq_dec_running()
791 atomic_dec(&acct->nr_running); in create_worker_cont()
1019 match->nr_running++; in io_wq_worker_cancel()
[all …]
/openbmc/linux/Documentation/translations/zh_CN/scheduler/
H A Dsched-design-CFS.rst24 相同的速度并行运行,速度均为1/nr_running。举例来说,如果有两个任务正在运行,那么每个
137 当任务进入可运行状态时,被调用。它将调度实体(任务)放到红黑树中,增加nr_running变量
142 当任务不再可运行时,这个函数被调用,对应的调度实体被移出红黑树。它减少nr_running变量
/openbmc/linux/arch/s390/appldata/
H A Dappldata_os.c64 u32 nr_running; /* number of runnable threads */ member
102 os_data->nr_running = nr_running(); in appldata_get_os_data()
H A Dappldata_base.c427 EXPORT_SYMBOL_GPL(nr_running);
/openbmc/qemu/target/s390x/
H A Dcpu-sysemu.c184 int nr_running = 0; in s390_count_running_cpus() local
191 nr_running++; in s390_count_running_cpus()
196 return nr_running; in s390_count_running_cpus()
/openbmc/linux/include/linux/sched/
H A Dstat.h20 extern unsigned int nr_running(void);
/openbmc/linux/include/uapi/linux/
H A Dcgroupstats.h32 __u64 nr_running; /* Number of tasks running */ member
/openbmc/linux/kernel/sched/
H A Dfair.c3619 cfs_rq->nr_running++; in account_entity_enqueue()
3634 cfs_rq->nr_running--; in account_entity_dequeue()
6684 rq->nr_running); in sched_idle_rq()
8229 if (rq->nr_running) in balance_fair()
9875 nr_running = rq->nr_running; in update_sg_lb_stats()
9878 if (nr_running > 1) in update_sg_lb_stats()
10183 int i, nr_running; in update_sg_wakeup_stats() local
10201 nr_running = rq->nr_running - local; in update_sg_wakeup_stats()
10991 if (!nr_running) in find_busiest_queue()
11004 nr_running == 1) in find_busiest_queue()
[all …]
H A Dloadavg.c82 nr_active = this_rq->nr_running - adjust; in calc_load_fold_active()
H A Dsched.h550 unsigned int nr_running; member
972 unsigned int nr_running; member
2360 return rq->cfs.nr_running > 0; in sched_fair_runnable()
2488 unsigned prev_nr = rq->nr_running; in add_nr_running()
2490 rq->nr_running = prev_nr + count; in add_nr_running()
2496 if (prev_nr < 2 && rq->nr_running >= 2) { in add_nr_running()
2507 rq->nr_running -= count; in sub_nr_running()
H A Dcore.c1195 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()
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()
[all …]
H A Ddebug.c668 SEQ_printf(m, " .%-30s: %d\n", "nr_running", cfs_rq->nr_running); in print_cfs_rq()
788 P(nr_running); in print_cpu()
H A Drt.c1101 BUG_ON(!rq->nr_running); in dequeue_top_rt_rq()
/openbmc/linux/fs/proc/
H A Dloadavg.c24 nr_running(), nr_threads, in loadavg_proc_show()
H A Dstat.c182 nr_running(), in show_stat()
/openbmc/linux/Documentation/translations/zh_CN/dev-tools/
H A Dgdb-kernel-debugging.rst119 (gdb) p $lx_per_cpu("runqueues").nr_running
121 (gdb) p $lx_per_cpu("runqueues", 2).nr_running
/openbmc/linux/Documentation/dev-tools/
H A Dgdb-kernel-debugging.rst130 (gdb) p $lx_per_cpu("runqueues").nr_running
132 (gdb) p $lx_per_cpu("runqueues", 2).nr_running
/openbmc/linux/Documentation/scheduler/
H A Dsched-design-CFS.rst19 1/nr_running speed. For example: if there are 2 tasks running, then it runs
169 increments the nr_running variable.
175 the nr_running variable.
/openbmc/linux/kernel/
H A Dworkqueue.c169 int nr_running; member
829 return !list_empty(&pool->worklist) && !pool->nr_running; in need_more_worker()
841 return !list_empty(&pool->worklist) && (pool->nr_running <= 1); in keep_working()
876 pool->nr_running--; in worker_set_flags()
905 pool->nr_running++; in worker_clr_flags()
948 WARN_ON_ONCE(pool->nr_workers == pool->nr_idle && pool->nr_running); in worker_enter_idle()
1263 worker->pool->nr_running++; in wq_worker_running()
1314 pool->nr_running--; in wq_worker_sleeping()
5432 pool->nr_running = 0; in unbind_workers()
/openbmc/linux/tools/accounting/
H A Dgetdelays.c264 (unsigned long long)c->nr_running, in print_cgroupstats()
/openbmc/linux/kernel/cgroup/
H A Dcgroup-v1.c727 stats->nr_running++; in cgroupstats_build()