Searched refs:cpu_allowed_set (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/tools/power/x86/turbostat/ |
D | turbostat.c | 1082 cpu_set_t *cpu_present_set, *cpu_effective_set, *cpu_allowed_set, *cpu_affinity_set, *cpu_subset; variable 1890 return !CPU_ISSET_S(cpu, cpu_allowed_setsize, cpu_allowed_set); in cpu_is_not_allowed() 5227 CPU_FREE(cpu_allowed_set); in free_all_buffers() 5228 cpu_allowed_set = NULL; in free_all_buffers() 8232 cpu_allowed_set = CPU_ALLOC((topo.max_cpu_num + 1)); in topology_probe() 8233 if (cpu_allowed_set == NULL) in topology_probe() 8236 CPU_ZERO_S(cpu_allowed_setsize, cpu_allowed_set); in topology_probe() 8269 CPU_SET_S(i, cpu_allowed_setsize, cpu_allowed_set); in topology_probe() 8272 if (!CPU_COUNT_S(cpu_allowed_setsize, cpu_allowed_set)) in topology_probe() 8274 sched_setaffinity(0, cpu_allowed_setsize, cpu_allowed_set); in topology_probe()
|