Home
last modified time | relevance | path

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

/linux-6.1.9/tools/power/cpupower/utils/
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()
Dcpupower-set.c81 if (bitmask_isallclear(cpus_chosen)) in cmd_set()
82 bitmask_setall(cpus_chosen); in cmd_set()
85 for (cpu = bitmask_first(cpus_chosen); in cmd_set()
86 cpu <= bitmask_last(cpus_chosen); cpu++) { in cmd_set()
88 if (!bitmask_isbitset(cpus_chosen, cpu)) in cmd_set()
Dcpupower-info.c71 if (bitmask_isallclear(cpus_chosen)) in cmd_info()
72 bitmask_setbit(cpus_chosen, 0); 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()
Dcpupower.c36 struct bitmask *cpus_chosen; variable
140 bitmask_setall(cpus_chosen); in handle_options()
143 (*argv)[x+1], cpus_chosen); in handle_options()
182 cpus_chosen = bitmask_alloc(sysconf(_SC_NPROCESSORS_CONF)); in main()
235 if (cpus_chosen) in main()
236 bitmask_free(cpus_chosen); in main()
Dcpuidle-set.c101 if (bitmask_isallclear(cpus_chosen)) in cmd_idle_set()
102 bitmask_setall(cpus_chosen); in cmd_idle_set()
104 for (cpu = bitmask_first(cpus_chosen); in cmd_idle_set()
105 cpu <= bitmask_last(cpus_chosen); cpu++) { in cmd_idle_set()
107 if (!bitmask_isbitset(cpus_chosen, cpu)) in cmd_idle_set()
Dcpuidle-info.c180 if (bitmask_isallclear(cpus_chosen)) in cmd_idle_info()
181 bitmask_setbit(cpus_chosen, 0); in cmd_idle_info()
186 for (cpu = bitmask_first(cpus_chosen); in cmd_idle_info()
187 cpu <= bitmask_last(cpus_chosen); cpu++) { in cmd_idle_info()
189 if (!bitmask_isbitset(cpus_chosen, cpu)) in cmd_idle_info()
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, 0); 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-6.1.9/kernel/time/
Dclocksource.c275 static cpumask_t cpus_chosen; variable
283 cpumask_copy(&cpus_chosen, cpu_online_mask); in clocksource_verify_choose_cpus()
284 cpumask_clear_cpu(smp_processor_id(), &cpus_chosen); in clocksource_verify_choose_cpus()
289 cpumask_clear(&cpus_chosen); in clocksource_verify_choose_cpus()
299 cpumask_set_cpu(cpu, &cpus_chosen); in clocksource_verify_choose_cpus()
318 cpumask_set_cpu(cpu, &cpus_chosen); in clocksource_verify_choose_cpus()
322 cpumask_clear_cpu(smp_processor_id(), &cpus_chosen); in clocksource_verify_choose_cpus()
346 if (cpumask_empty(&cpus_chosen)) { in clocksource_verify_percpu()
353 …s synchronization from CPU %d to CPUs %*pbl.\n", cs->name, testcpu, cpumask_pr_args(&cpus_chosen)); in clocksource_verify_percpu()
354 for_each_cpu(cpu, &cpus_chosen) { in clocksource_verify_percpu()
/linux-6.1.9/tools/power/cpupower/utils/helpers/
Dmisc.c119 for (cpu = bitmask_first(cpus_chosen); in get_cpustate()
120 cpu <= bitmask_last(cpus_chosen); cpu++) { in get_cpustate()
Dhelpers.h38 extern struct bitmask *cpus_chosen;
/linux-6.1.9/tools/power/cpupower/utils/idle_monitor/
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()