Lines Matching refs:cpu_topo
216 struct cpu_topology *cpu_topo, *cpuid_topo = &cpu_topology[cpuid]; in update_siblings_masks() local
221 cpu_topo = &cpu_topology[cpu]; in update_siblings_masks()
223 if (cpuid_topo->cluster_id != cpu_topo->cluster_id) in update_siblings_masks()
226 cpumask_set_cpu(cpuid, &cpu_topo->core_sibling); in update_siblings_masks()
230 if (cpuid_topo->core_id != cpu_topo->core_id) in update_siblings_masks()
233 cpumask_set_cpu(cpuid, &cpu_topo->thread_sibling); in update_siblings_masks()
282 struct cpu_topology *cpu_topo = &cpu_topology[cpu]; in reset_cpu_topology() local
284 cpu_topo->thread_id = -1; in reset_cpu_topology()
285 cpu_topo->core_id = 0; in reset_cpu_topology()
286 cpu_topo->cluster_id = -1; in reset_cpu_topology()
288 cpumask_clear(&cpu_topo->core_sibling); in reset_cpu_topology()
289 cpumask_set_cpu(cpu, &cpu_topo->core_sibling); in reset_cpu_topology()
290 cpumask_clear(&cpu_topo->thread_sibling); in reset_cpu_topology()
291 cpumask_set_cpu(cpu, &cpu_topo->thread_sibling); in reset_cpu_topology()