Lines Matching refs:cpu_topo

734 	struct cpu_topology *cpu_topo, *cpuid_topo = &cpu_topology[cpuid];  in update_siblings_masks()  local
743 cpu_topo = &cpu_topology[cpu]; in update_siblings_masks()
747 cpumask_set_cpu(cpuid, &cpu_topo->llc_sibling); in update_siblings_masks()
750 if (cpuid_topo->package_id != cpu_topo->package_id) in update_siblings_masks()
753 cpumask_set_cpu(cpuid, &cpu_topo->core_sibling); in update_siblings_masks()
756 if (cpuid_topo->cluster_id != cpu_topo->cluster_id) in update_siblings_masks()
761 cpumask_set_cpu(cpuid, &cpu_topo->cluster_sibling); in update_siblings_masks()
764 if (cpuid_topo->core_id != cpu_topo->core_id) in update_siblings_masks()
767 cpumask_set_cpu(cpuid, &cpu_topo->thread_sibling); in update_siblings_masks()
774 struct cpu_topology *cpu_topo = &cpu_topology[cpu]; in clear_cpu_topology() local
776 cpumask_clear(&cpu_topo->llc_sibling); in clear_cpu_topology()
777 cpumask_set_cpu(cpu, &cpu_topo->llc_sibling); in clear_cpu_topology()
779 cpumask_clear(&cpu_topo->cluster_sibling); in clear_cpu_topology()
780 cpumask_set_cpu(cpu, &cpu_topo->cluster_sibling); in clear_cpu_topology()
782 cpumask_clear(&cpu_topo->core_sibling); in clear_cpu_topology()
783 cpumask_set_cpu(cpu, &cpu_topo->core_sibling); in clear_cpu_topology()
784 cpumask_clear(&cpu_topo->thread_sibling); in clear_cpu_topology()
785 cpumask_set_cpu(cpu, &cpu_topo->thread_sibling); in clear_cpu_topology()
793 struct cpu_topology *cpu_topo = &cpu_topology[cpu]; in reset_cpu_topology() local
795 cpu_topo->thread_id = -1; in reset_cpu_topology()
796 cpu_topo->core_id = -1; in reset_cpu_topology()
797 cpu_topo->cluster_id = -1; in reset_cpu_topology()
798 cpu_topo->package_id = -1; in reset_cpu_topology()