Searched refs:cpus_chosen (Results 1 – 11 of 11) sorted by relevance
/linux-6.6.21/tools/power/cpupower/utils/ |
D | cpufreq-set.c | 292 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()
|
D | cpupower-info.c | 71 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()
|
D | cpupower-set.c | 132 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()
|
D | cpupower.c | 36 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()
|
D | cpuidle-set.c | 99 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()
|
D | cpuidle-info.c | 180 if (bitmask_isallclear(cpus_chosen)) in cmd_idle_info() 181 bitmask_setbit(cpus_chosen, base_cpu); 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()
|
D | cpufreq-info.c | 563 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-6.6.21/kernel/time/ |
D | clocksource.c | 280 static cpumask_t cpus_chosen; variable 288 cpumask_copy(&cpus_chosen, cpu_online_mask); in clocksource_verify_choose_cpus() 289 cpumask_clear_cpu(smp_processor_id(), &cpus_chosen); in clocksource_verify_choose_cpus() 294 cpumask_clear(&cpus_chosen); in clocksource_verify_choose_cpus() 304 cpumask_set_cpu(cpu, &cpus_chosen); in clocksource_verify_choose_cpus() 323 cpumask_set_cpu(cpu, &cpus_chosen); in clocksource_verify_choose_cpus() 327 cpumask_clear_cpu(smp_processor_id(), &cpus_chosen); in clocksource_verify_choose_cpus() 351 if (cpumask_empty(&cpus_chosen)) { in clocksource_verify_percpu() 358 …s synchronization from CPU %d to CPUs %*pbl.\n", cs->name, testcpu, cpumask_pr_args(&cpus_chosen)); in clocksource_verify_percpu() 359 for_each_cpu(cpu, &cpus_chosen) { in clocksource_verify_percpu()
|
/linux-6.6.21/tools/power/cpupower/utils/helpers/ |
D | misc.c | 174 for (cpu = bitmask_first(cpus_chosen); in get_cpustate() 175 cpu <= bitmask_last(cpus_chosen); cpu++) { in get_cpustate()
|
D | helpers.h | 38 extern struct bitmask *cpus_chosen;
|
/linux-6.6.21/tools/power/cpupower/utils/idle_monitor/ |
D | cpupower-monitor.c | 149 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()
|