Lines Matching refs:num_cpus
35 int num_cpus; /* Number of CPUs in this hierarchy */ member
190 int num_cpus[CPUINFO_LVL_MAX]; in build_cpuinfo_tree() local
220 node->num_cpus = 1; in build_cpuinfo_tree()
230 num_cpus[level] = 1; in build_cpuinfo_tree()
253 node->num_cpus = num_cpus[level]; in build_cpuinfo_tree()
254 num_cpus[level] = 1; in build_cpuinfo_tree()
257 node->num_cpus++; in build_cpuinfo_tree()
288 num_cpus[level]++; in build_cpuinfo_tree()
368 for (i = 0; i < cpuinfo_tree->nodes[0].num_cpus; i++) in _cpu_map_rebuild()
406 if (unlikely(root_node->num_cpus != num_online_cpus())) { in _map_to_cpu()
412 return cpu_distribution_map[index % root_node->num_cpus]; in _map_to_cpu()