Home
last modified time | relevance | path

Searched refs:cpu_present_set (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c76 cpu_set_t *cpu_present_set; variable
371 if (!CPU_ISSET_S(cpu, cpu_setsize, cpu_present_set)) in validate_cpu_selected_set()
417 if (CPU_ISSET_S(cpu, cpu_setsize, cpu_present_set)) in parse_cmdline_cpu()
427 if (CPU_ISSET_S(cpu, cpu_setsize, cpu_present_set)) in parse_cmdline_cpu()
438 if (CPU_ISSET_S(cpu, cpu_setsize, cpu_present_set)) in parse_cmdline_cpu()
1271 CPU_SET_S(cpu, cpu_setsize, cpu_present_set); in mark_cpu_present()
1321 cpu_present_set = CPU_ALLOC((max_cpu_num + 1)); in init_data_structures()
1322 if (cpu_present_set == NULL) in init_data_structures()
1324 CPU_ZERO_S(cpu_setsize, cpu_present_set); in init_data_structures()
1521 cpu_selected_set = cpu_present_set; in main()
/linux-6.1.9/tools/power/x86/turbostat/
Dturbostat.c336 cpu_set_t *cpu_present_set, *cpu_affinity_set, *cpu_subset; variable
586 return !CPU_ISSET_S(cpu, cpu_present_setsize, cpu_present_set); in cpu_is_not_present()
2784 CPU_FREE(cpu_present_set); in free_all_buffers()
2785 cpu_present_set = NULL; in free_all_buffers()
3094 CPU_SET_S(cpu, cpu_present_setsize, cpu_present_set); in mark_cpu_present()
5883 cpu_present_set = CPU_ALLOC((topo.max_cpu_num + 1)); in topology_probe()
5884 if (cpu_present_set == NULL) in topology_probe()
5887 CPU_ZERO_S(cpu_present_setsize, cpu_present_set); in topology_probe()
5895 if (!CPU_ISSET_S(i, cpu_present_setsize, cpu_present_set)) in topology_probe()
6164 sched_setaffinity(0, cpu_present_setsize, cpu_present_set); in fork_it()