Lines Matching refs:cpu_topology
515 cpu_topology[cpu].package_id = package_id; in parse_core()
516 cpu_topology[cpu].cluster_id = cluster_id; in parse_core()
517 cpu_topology[cpu].core_id = core_id; in parse_core()
518 cpu_topology[cpu].thread_id = i; in parse_core()
537 cpu_topology[cpu].package_id = package_id; in parse_core()
538 cpu_topology[cpu].cluster_id = cluster_id; in parse_core()
539 cpu_topology[cpu].core_id = core_id; in parse_core()
673 if (cpu_topology[cpu].package_id < 0) { in parse_dt_topology()
689 struct cpu_topology cpu_topology[NR_CPUS]; variable
690 EXPORT_SYMBOL_GPL(cpu_topology);
697 if (cpumask_subset(&cpu_topology[cpu].core_sibling, core_mask)) { in cpu_coregroup_mask()
699 core_mask = &cpu_topology[cpu].core_sibling; in cpu_coregroup_mask()
703 if (cpumask_subset(&cpu_topology[cpu].llc_sibling, core_mask)) in cpu_coregroup_mask()
704 core_mask = &cpu_topology[cpu].llc_sibling; in cpu_coregroup_mask()
713 cpumask_subset(core_mask, &cpu_topology[cpu].cluster_sibling)) in cpu_coregroup_mask()
714 core_mask = &cpu_topology[cpu].cluster_sibling; in cpu_coregroup_mask()
726 &cpu_topology[cpu].cluster_sibling)) in cpu_clustergroup_mask()
729 return &cpu_topology[cpu].cluster_sibling; in cpu_clustergroup_mask()
734 struct cpu_topology *cpu_topo, *cpuid_topo = &cpu_topology[cpuid]; in update_siblings_masks()
743 cpu_topo = &cpu_topology[cpu]; in update_siblings_masks()
774 struct cpu_topology *cpu_topo = &cpu_topology[cpu]; in clear_cpu_topology()
793 struct cpu_topology *cpu_topo = &cpu_topology[cpu]; in reset_cpu_topology()
855 struct cpu_topology *cpuid_topo = &cpu_topology[cpuid]; in store_cpu_topology()