/kernel/power/ |
D | energy_model.c | 76 debugfs_create_file("cpus", 0444, d, dev->em_pd->cpus, in em_debug_create_pd() 196 struct em_data_callback *cb, cpumask_t *cpus, in em_create_pd() argument 204 num_cpus = cpumask_weight(cpus); in em_create_pd() 216 cpumask_copy(em_span_cpus(pd), cpus); in em_create_pd() 230 for_each_cpu(cpu, cpus) { in em_create_pd() 338 struct em_data_callback *cb, cpumask_t *cpus, in em_dev_register_perf_domain() argument 360 if (!cpus) { in em_dev_register_perf_domain() 366 for_each_cpu(cpu, cpus) { in em_dev_register_perf_domain() 380 cpumask_pr_args(cpus)); in em_dev_register_perf_domain() 394 ret = em_create_pd(dev, nr_states, cb, cpus, flags); in em_dev_register_perf_domain()
|
D | power.h | 14 int cpus; member
|
/kernel/ |
D | stop_machine.c | 589 const struct cpumask *cpus) in stop_machine_cpuslocked() argument 595 .active_cpus = cpus, in stop_machine_cpuslocked() 624 int stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus) in stop_machine() argument 630 ret = stop_machine_cpuslocked(fn, data, cpus); in stop_machine() 680 const struct cpumask *cpus) in stop_machine_from_inactive_cpu() argument 683 .active_cpus = cpus }; in stop_machine_from_inactive_cpu()
|
/kernel/sched/ |
D | deadline.c | 113 int cpus; in dl_bw_cpus() local 121 cpus = 0; in dl_bw_cpus() 124 cpus++; in dl_bw_cpus() 126 return cpus; in dl_bw_cpus() 213 void __dl_sub(struct dl_bw *dl_b, u64 tsk_bw, int cpus) in __dl_sub() argument 216 __dl_update(dl_b, (s32)tsk_bw / cpus); in __dl_sub() 220 void __dl_add(struct dl_bw *dl_b, u64 tsk_bw, int cpus) in __dl_add() argument 223 __dl_update(dl_b, -((s32)tsk_bw / cpus)); in __dl_add() 2757 int cpu, cpus, ret = 0; in sched_dl_global_validate() local 2772 cpus = dl_bw_cpus(cpu); in sched_dl_global_validate() [all …]
|
D | cpufreq_schedutil.c | 423 for_each_cpu(j, policy->cpus) { in sugov_next_freq_shared() 776 for_each_cpu(cpu, policy->cpus) { in sugov_start() 791 for_each_cpu(cpu, policy->cpus) { in sugov_start() 804 for_each_cpu(cpu, policy->cpus) in sugov_stop()
|
D | fair.c | 247 unsigned int cpus = min_t(unsigned int, num_online_cpus(), 8); in get_update_sysctl_factor() local 255 factor = cpus; in get_update_sysctl_factor() 259 factor = 1 + ilog2(cpus); in get_update_sysctl_factor() 6713 static int select_idle_core(struct task_struct *p, int core, struct cpumask *cpus, int *idle_cpu) in select_idle_core() argument 6737 cpumask_andnot(cpus, cpus, cpu_smt_mask(core)); in select_idle_core() 6769 static inline int select_idle_core(struct task_struct *p, int core, struct cpumask *cpus, int *idle… in select_idle_core() argument 6788 struct cpumask *cpus = this_cpu_cpumask_var_ptr(select_rq_mask); in select_idle_cpu() local 6796 cpumask_and(cpus, sched_domain_span(sd), p->cpus_ptr); in select_idle_cpu() 6841 for_each_cpu_wrap(cpu, cpus, target + 1) { in select_idle_cpu() 6843 i = select_idle_core(p, cpu, cpus, &idle_cpu); in select_idle_cpu() [all …]
|
D | cpufreq.c | 72 return cpumask_test_cpu(smp_processor_id(), policy->cpus) || in cpufreq_this_cpu_can_update()
|
D | topology.c | 1299 unsigned long cpus[]; member 1310 #define cpu_capacity_span(asym_data) to_cpumask((asym_data)->cpus) 2039 int sched_numa_find_closest(const struct cpumask *cpus, int cpu) in sched_numa_find_closest() argument 2051 cpu = cpumask_any_and(cpus, masks[i][j]); in sched_numa_find_closest()
|
D | sched.h | 1739 extern int sched_numa_find_closest(const struct cpumask *cpus, int cpu); 1745 static inline int sched_numa_find_closest(const struct cpumask *cpus, int cpu) in sched_numa_find_closest() argument 3203 #define perf_domain_span(pd) (to_cpumask(((pd)->em_pd->cpus)))
|
/kernel/debug/kdb/ |
D | kdb_cmds | 26 defcmd dumpcpu "" "Same as dumpall but only tasks on cpus"
|
/kernel/trace/ |
D | ring_buffer.c | 506 int cpus; member 1782 buffer->cpus = nr_cpu_ids; in __ring_buffer_alloc()
|