Lines Matching refs:cpu_topology
69 cpu_topology[cpu].package_id = package_id; in parse_core()
70 cpu_topology[cpu].core_id = core_id; in parse_core()
71 cpu_topology[cpu].thread_id = i; in parse_core()
91 cpu_topology[cpu].package_id = package_id; in parse_core()
92 cpu_topology[cpu].core_id = core_id; in parse_core()
200 if (cpu_topology[cpu].package_id == -1) in parse_dt_topology()
213 struct cpu_topology cpu_topology[NR_CPUS]; variable
214 EXPORT_SYMBOL_GPL(cpu_topology);
221 if (cpumask_subset(&cpu_topology[cpu].core_sibling, core_mask)) { in cpu_coregroup_mask()
223 core_mask = &cpu_topology[cpu].core_sibling; in cpu_coregroup_mask()
225 if (cpu_topology[cpu].llc_id != -1) { in cpu_coregroup_mask()
226 if (cpumask_subset(&cpu_topology[cpu].llc_sibling, core_mask)) in cpu_coregroup_mask()
227 core_mask = &cpu_topology[cpu].llc_sibling; in cpu_coregroup_mask()
235 struct cpu_topology *cpu_topo, *cpuid_topo = &cpu_topology[cpuid]; in update_siblings_masks()
240 cpu_topo = &cpu_topology[cpu]; in update_siblings_masks()
263 struct cpu_topology *cpuid_topo = &cpu_topology[cpuid]; in store_cpu_topology()
301 struct cpu_topology *cpu_topo = &cpu_topology[cpu]; in clear_cpu_topology()
317 struct cpu_topology *cpu_topo = &cpu_topology[cpu]; in reset_cpu_topology()
362 cpu_topology[cpu].thread_id = topology_id; in parse_acpi_topology()
364 cpu_topology[cpu].core_id = topology_id; in parse_acpi_topology()
366 cpu_topology[cpu].thread_id = -1; in parse_acpi_topology()
367 cpu_topology[cpu].core_id = topology_id; in parse_acpi_topology()
370 cpu_topology[cpu].package_id = topology_id; in parse_acpi_topology()
381 cpu_topology[cpu].llc_id = cache_id; in parse_acpi_topology()