Lines Matching refs:cpu_topo
199 struct cputopo_arm *cpu_topo, *cpuid_topo = &cpu_topology[cpuid]; in update_siblings_masks() local
204 cpu_topo = &cpu_topology[cpu]; in update_siblings_masks()
206 if (cpuid_topo->socket_id != cpu_topo->socket_id) in update_siblings_masks()
209 cpumask_set_cpu(cpuid, &cpu_topo->core_sibling); in update_siblings_masks()
213 if (cpuid_topo->core_id != cpu_topo->core_id) in update_siblings_masks()
216 cpumask_set_cpu(cpuid, &cpu_topo->thread_sibling); in update_siblings_masks()
302 struct cputopo_arm *cpu_topo = &(cpu_topology[cpu]); in init_cpu_topology() local
304 cpu_topo->thread_id = -1; in init_cpu_topology()
305 cpu_topo->core_id = -1; in init_cpu_topology()
306 cpu_topo->socket_id = -1; in init_cpu_topology()
307 cpumask_clear(&cpu_topo->core_sibling); in init_cpu_topology()
308 cpumask_clear(&cpu_topo->thread_sibling); in init_cpu_topology()