Searched refs:cpu_present_set (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/tools/power/x86/x86_energy_perf_policy/ |
D | x86_energy_perf_policy.c | 77 cpu_set_t *cpu_present_set; variable 369 if (!CPU_ISSET_S(cpu, cpu_setsize, cpu_present_set)) in validate_cpu_selected_set() 415 if (CPU_ISSET_S(cpu, cpu_setsize, cpu_present_set)) in parse_cmdline_cpu() 425 if (CPU_ISSET_S(cpu, cpu_setsize, cpu_present_set)) in parse_cmdline_cpu() 436 if (CPU_ISSET_S(cpu, cpu_setsize, cpu_present_set)) in parse_cmdline_cpu() 1142 CPU_SET_S(cpu, cpu_setsize, cpu_present_set); in mark_cpu_present() 1192 cpu_present_set = CPU_ALLOC((max_cpu_num + 1)); in init_data_structures() 1193 if (cpu_present_set == NULL) in init_data_structures() 1195 CPU_ZERO_S(cpu_setsize, cpu_present_set); in init_data_structures() 1388 cpu_selected_set = cpu_present_set; in main()
|
/Linux-v4.19/tools/power/x86/turbostat/ |
D | turbostat.c | 158 cpu_set_t *cpu_present_set, *cpu_affinity_set, *cpu_subset; variable 302 return !CPU_ISSET_S(cpu, cpu_present_setsize, cpu_present_set); in cpu_is_not_present() 2392 CPU_FREE(cpu_present_set); in free_all_buffers() 2393 cpu_present_set = NULL; in free_all_buffers() 2695 CPU_SET_S(cpu, cpu_present_setsize, cpu_present_set); in mark_cpu_present() 4770 cpu_present_set = CPU_ALLOC((topo.max_cpu_num + 1)); in topology_probe() 4771 if (cpu_present_set == NULL) in topology_probe() 4774 CPU_ZERO_S(cpu_present_setsize, cpu_present_set); in topology_probe() 4782 if (!CPU_ISSET_S(i, cpu_present_setsize, cpu_present_set)) in topology_probe() 5039 sched_setaffinity(0, cpu_present_setsize, cpu_present_set); in fork_it()
|