Home
last modified time | relevance | path

Searched refs:cpus (Results 1 – 11 of 11) sorted by relevance

/kernel/power/
Denergy_model.c76 debugfs_create_file("cpus", 0444, d, dev->em_pd->cpus, in em_debug_create_pd()
181 struct em_data_callback *cb, cpumask_t *cpus) in em_create_pd() argument
192 cpumask_copy(em_span_cpus(pd), cpus); in em_create_pd()
206 for_each_cpu(cpu, cpus) { in em_create_pd()
275 struct em_data_callback *cb, cpumask_t *cpus, in em_dev_register_perf_domain() argument
297 if (!cpus) { in em_dev_register_perf_domain()
303 for_each_cpu(cpu, cpus) { in em_dev_register_perf_domain()
321 cpumask_pr_args(cpus)); in em_dev_register_perf_domain()
330 ret = em_create_pd(dev, nr_states, cb, cpus); in em_dev_register_perf_domain()
Dpower.h12 int cpus; member
/kernel/
Dstop_machine.c591 const struct cpumask *cpus) in stop_machine_cpuslocked() argument
597 .active_cpus = cpus, in stop_machine_cpuslocked()
626 int stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus) in stop_machine() argument
632 ret = stop_machine_cpuslocked(fn, data, cpus); in stop_machine()
661 const struct cpumask *cpus) in stop_machine_from_inactive_cpu() argument
664 .active_cpus = cpus }; in stop_machine_from_inactive_cpu()
/kernel/sched/
Ddeadline.c81 int cpus; in dl_bw_cpus() local
89 cpus = 0; in dl_bw_cpus()
92 cpus++; in dl_bw_cpus()
94 return cpus; in dl_bw_cpus()
2612 int cpu, cpus, ret = 0; in sched_dl_global_validate() local
2627 cpus = dl_bw_cpus(cpu); in sched_dl_global_validate()
2630 if (new_bw * cpus < dl_b->total_bw) in sched_dl_global_validate()
2704 int cpus, err = -1, cpu = task_cpu(p); in sched_dl_overflow() local
2721 cpus = dl_bw_cpus(cpu); in sched_dl_overflow()
2727 __dl_sub(dl_b, p->dl.dl_bw, cpus); in sched_dl_overflow()
[all …]
Dcpufreq_schedutil.c430 for_each_cpu(j, policy->cpus) { in sugov_next_freq_shared()
783 for_each_cpu(cpu, policy->cpus) { in sugov_start()
798 for_each_cpu(cpu, policy->cpus) { in sugov_start()
811 for_each_cpu(cpu, policy->cpus) in sugov_stop()
Dcpufreq.c75 return cpumask_test_cpu(smp_processor_id(), policy->cpus) || in cpufreq_this_cpu_can_update()
Dfair.c173 unsigned int cpus = min_t(unsigned int, num_online_cpus(), 8); in get_update_sysctl_factor() local
181 factor = cpus; in get_update_sysctl_factor()
185 factor = 1 + ilog2(cpus); in get_update_sysctl_factor()
6403 static int select_idle_core(struct task_struct *p, int core, struct cpumask *cpus, int *idle_cpu) in select_idle_core() argument
6430 cpumask_andnot(cpus, cpus, cpu_smt_mask(core)); in select_idle_core()
6463 static inline int select_idle_core(struct task_struct *p, int core, struct cpumask *cpus, int *idle… in select_idle_core() argument
6482 struct cpumask *cpus = this_cpu_cpumask_var_ptr(select_idle_mask); in select_idle_cpu() local
6493 cpumask_and(cpus, sched_domain_span(sd), p->cpus_ptr); in select_idle_cpu()
6523 for_each_cpu_wrap(cpu, cpus, target + 1) { in select_idle_cpu()
6525 i = select_idle_core(p, cpu, cpus, &idle_cpu); in select_idle_cpu()
[all …]
Dsched.h310 void __dl_sub(struct dl_bw *dl_b, u64 tsk_bw, int cpus) in __dl_sub() argument
313 __dl_update(dl_b, (s32)tsk_bw / cpus); in __dl_sub()
317 void __dl_add(struct dl_bw *dl_b, u64 tsk_bw, int cpus) in __dl_add() argument
320 __dl_update(dl_b, -((s32)tsk_bw / cpus)); in __dl_add()
1720 extern int sched_numa_find_closest(const struct cpumask *cpus, int cpu);
1725 static inline int sched_numa_find_closest(const struct cpumask *cpus, int cpu) in sched_numa_find_closest() argument
3150 #define perf_domain_span(pd) (to_cpumask(((pd)->em_pd->cpus)))
Dtopology.c1268 unsigned long cpus[]; member
1279 #define cpu_capacity_span(asym_data) to_cpumask((asym_data)->cpus)
1980 int sched_numa_find_closest(const struct cpumask *cpus, int cpu) in sched_numa_find_closest() argument
1985 cpu = cpumask_any_and(cpus, sched_domains_numa_masks[i][j]); in sched_numa_find_closest()
/kernel/debug/kdb/
Dkdb_cmds26 defcmd dumpcpu "" "Same as dumpall but only tasks on cpus"
/kernel/trace/
Dring_buffer.c537 int cpus; member
1777 buffer->cpus = nr_cpu_ids; in __ring_buffer_alloc()