Home
last modified time | relevance | path

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

/openbmc/linux/tools/power/x86/x86_energy_perf_policy/
H A 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()
1272 CPU_SET_S(cpu, cpu_setsize, cpu_present_set); in mark_cpu_present()
1322 cpu_present_set = CPU_ALLOC((max_cpu_num + 1)); in init_data_structures()
1323 if (cpu_present_set == NULL) in init_data_structures()
1325 CPU_ZERO_S(cpu_setsize, cpu_present_set); in init_data_structures()
1522 cpu_selected_set = cpu_present_set; in main()
/openbmc/linux/tools/power/x86/turbostat/
H A Dturbostat.c338 cpu_set_t *cpu_present_set, *cpu_affinity_set, *cpu_subset; variable
589 return !CPU_ISSET_S(cpu, cpu_present_setsize, cpu_present_set); in cpu_is_not_present()
2788 CPU_FREE(cpu_present_set); in free_all_buffers()
2789 cpu_present_set = NULL; in free_all_buffers()
3098 CPU_SET_S(cpu, cpu_present_setsize, cpu_present_set); in mark_cpu_present()
5894 cpu_present_set = CPU_ALLOC((topo.max_cpu_num + 1)); in topology_probe()
5895 if (cpu_present_set == NULL) in topology_probe()
5898 CPU_ZERO_S(cpu_present_setsize, cpu_present_set); in topology_probe()
5906 if (!CPU_ISSET_S(i, cpu_present_setsize, cpu_present_set)) in topology_probe()
6175 sched_setaffinity(0, cpu_present_setsize, cpu_present_set); in fork_it()