Home
last modified time | relevance | path

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

/Linux-v5.4/tools/power/x86/intel-speed-select/
Disst-config.c30 static int topo_max_cpus; variable
166 return topo_max_cpus; in get_topo_max_cpus()
200 for (i = 0; i < topo_max_cpus; ++i) { in for_each_online_package_in_set()
239 for (i = 0; i < topo_max_cpus; ++i) { in for_each_online_target_cpu_in_set()
262 topo_max_cpus = 0; in set_max_cpu_num()
266 topo_max_cpus += BITMASK_SIZE; in set_max_cpu_num()
268 topo_max_cpus--; /* 0 based */ in set_max_cpu_num()
270 debug_printf("max cpus %d\n", topo_max_cpus); in set_max_cpu_num()
278 _cpu_set = CPU_ALLOC((topo_max_cpus + 1)); in alloc_cpu_set()
281 size = CPU_ALLOC_SIZE((topo_max_cpus + 1)); in alloc_cpu_set()
[all …]