Home
last modified time | relevance | path

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

/linux/tools/power/cpupower/utils/
H A Dcpufreq-set.c292 if (bitmask_isallclear(cpus_chosen)) in cmd_freq_set()
293 bitmask_setall(cpus_chosen); in cmd_freq_set()
297 for (cpu = bitmask_first(cpus_chosen); in cmd_freq_set()
298 cpu <= bitmask_last(cpus_chosen); cpu++) { in cmd_freq_set()
301 if (!bitmask_isbitset(cpus_chosen, cpu) || in cmd_freq_set()
309 bitmask_setbit(cpus_chosen, cpus->cpu); in cmd_freq_set()
313 bitmask_setbit(cpus_chosen, cpus->cpu); in cmd_freq_set()
321 for (cpu = bitmask_first(cpus_chosen); in cmd_freq_set()
322 cpu <= bitmask_last(cpus_chosen); cpu++) { in cmd_freq_set()
324 if (!bitmask_isbitset(cpus_chosen, cpu) || in cmd_freq_set()
H A Dcpupower-info.c71 if (bitmask_isallclear(cpus_chosen)) in cmd_info()
72 bitmask_setbit(cpus_chosen, base_cpu); in cmd_info()
90 for (cpu = bitmask_first(cpus_chosen); in cmd_info()
91 cpu <= bitmask_last(cpus_chosen); cpu++) { in cmd_info()
93 if (!bitmask_isbitset(cpus_chosen, cpu)) in cmd_info()
H A Dcpupower-set.c132 if (bitmask_isallclear(cpus_chosen)) in cmd_set()
133 bitmask_setall(cpus_chosen); in cmd_set()
136 for (cpu = bitmask_first(cpus_chosen); in cmd_set()
137 cpu <= bitmask_last(cpus_chosen); cpu++) { in cmd_set()
139 if (!bitmask_isbitset(cpus_chosen, cpu)) in cmd_set()
H A Dcpupower.c36 struct bitmask *cpus_chosen; variable
141 bitmask_setall(cpus_chosen); in handle_options()
144 (*argv)[x+1], cpus_chosen); in handle_options()
183 cpus_chosen = bitmask_alloc(sysconf(_SC_NPROCESSORS_CONF)); in main()
236 if (cpus_chosen) in main()
237 bitmask_free(cpus_chosen); in main()
H A Dcpuidle-set.c99 if (bitmask_isallclear(cpus_chosen)) in cmd_idle_set()
100 bitmask_setall(cpus_chosen); in cmd_idle_set()
102 for (cpu = bitmask_first(cpus_chosen); in cmd_idle_set()
103 cpu <= bitmask_last(cpus_chosen); cpu++) { in cmd_idle_set()
105 if (!bitmask_isbitset(cpus_chosen, cpu)) in cmd_idle_set()
H A Dcpuidle-info.c184 if (bitmask_isallclear(cpus_chosen)) in cmd_idle_info()
185 bitmask_setbit(cpus_chosen, base_cpu); in cmd_idle_info()
190 for (cpu = bitmask_first(cpus_chosen); in cmd_idle_info()
191 cpu <= bitmask_last(cpus_chosen); cpu++) { in cmd_idle_info()
193 if (!bitmask_isbitset(cpus_chosen, cpu)) in cmd_idle_info()
H A Dcpufreq-info.c563 if (!bitmask_isallclear(cpus_chosen)) { in cmd_freq_info()
576 if (bitmask_isallclear(cpus_chosen)) in cmd_freq_info()
577 bitmask_setbit(cpus_chosen, base_cpu); in cmd_freq_info()
592 for (cpu = bitmask_first(cpus_chosen); in cmd_freq_info()
593 cpu <= bitmask_last(cpus_chosen); cpu++) { in cmd_freq_info()
595 if (!bitmask_isbitset(cpus_chosen, cpu)) in cmd_freq_info()
/linux/kernel/time/
H A Dclocksource.c299 static cpumask_t cpus_chosen; variable
307 cpumask_copy(&cpus_chosen, cpu_online_mask); in clocksource_verify_choose_cpus()
308 cpumask_clear_cpu(smp_processor_id(), &cpus_chosen); in clocksource_verify_choose_cpus()
313 cpumask_clear(&cpus_chosen); in clocksource_verify_choose_cpus()
323 cpumask_set_cpu(cpu, &cpus_chosen); in clocksource_verify_choose_cpus()
342 cpumask_set_cpu(cpu, &cpus_chosen); in clocksource_verify_choose_cpus()
346 cpumask_clear_cpu(smp_processor_id(), &cpus_chosen); in clocksource_verify_choose_cpus()
370 if (cpumask_empty(&cpus_chosen)) { in clocksource_verify_percpu()
377 …s synchronization from CPU %d to CPUs %*pbl.\n", cs->name, testcpu, cpumask_pr_args(&cpus_chosen)); in clocksource_verify_percpu()
378 for_each_cpu(cpu, &cpus_chosen) { in clocksource_verify_percpu()
/linux/tools/power/cpupower/utils/helpers/
H A Dmisc.c174 for (cpu = bitmask_first(cpus_chosen); in get_cpustate()
175 cpu <= bitmask_last(cpus_chosen); cpu++) { in get_cpustate()
H A Dhelpers.h38 extern struct bitmask *cpus_chosen;
/linux/tools/power/cpupower/utils/idle_monitor/
H A Dcpupower-monitor.c149 if (!bitmask_isbitset(cpus_chosen, cpu_top.core_info[cpu].cpu)) in print_results()
404 if (bitmask_isallclear(cpus_chosen)) in cmd_monitor()
405 bitmask_setall(cpus_chosen); in cmd_monitor()