/openbmc/linux/io_uring/ |
H A D | io-wq.c | 84 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 D | sched-design-CFS.rst | 24 相同的速度并行运行,速度均为1/nr_running。举例来说,如果有两个任务正在运行,那么每个 137 当任务进入可运行状态时,被调用。它将调度实体(任务)放到红黑树中,增加nr_running变量 142 当任务不再可运行时,这个函数被调用,对应的调度实体被移出红黑树。它减少nr_running变量
|
/openbmc/linux/arch/s390/appldata/ |
H A D | appldata_os.c | 64 u32 nr_running; /* number of runnable threads */ member 102 os_data->nr_running = nr_running(); in appldata_get_os_data()
|
H A D | appldata_base.c | 427 EXPORT_SYMBOL_GPL(nr_running);
|
/openbmc/qemu/target/s390x/ |
H A D | cpu-sysemu.c | 184 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 D | stat.h | 20 extern unsigned int nr_running(void);
|
/openbmc/linux/include/uapi/linux/ |
H A D | cgroupstats.h | 32 __u64 nr_running; /* Number of tasks running */ member
|
/openbmc/linux/kernel/sched/ |
H A D | fair.c | 3619 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 D | loadavg.c | 82 nr_active = this_rq->nr_running - adjust; in calc_load_fold_active()
|
H A D | sched.h | 550 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 D | core.c | 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() 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 D | debug.c | 668 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 D | rt.c | 1101 BUG_ON(!rq->nr_running); in dequeue_top_rt_rq()
|
/openbmc/linux/fs/proc/ |
H A D | loadavg.c | 24 nr_running(), nr_threads, in loadavg_proc_show()
|
H A D | stat.c | 182 nr_running(), in show_stat()
|
/openbmc/linux/Documentation/translations/zh_CN/dev-tools/ |
H A D | gdb-kernel-debugging.rst | 119 (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 D | gdb-kernel-debugging.rst | 130 (gdb) p $lx_per_cpu("runqueues").nr_running 132 (gdb) p $lx_per_cpu("runqueues", 2).nr_running
|
/openbmc/linux/Documentation/scheduler/ |
H A D | sched-design-CFS.rst | 19 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 D | workqueue.c | 169 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 D | getdelays.c | 264 (unsigned long long)c->nr_running, in print_cgroupstats()
|
/openbmc/linux/kernel/cgroup/ |
H A D | cgroup-v1.c | 727 stats->nr_running++; in cgroupstats_build()
|