Lines Matching refs:cpu_topo
453 struct cpu_topology *cpu_topo, *cpuid_topo = &cpu_topology[cpuid]; in update_siblings_masks() local
458 cpu_topo = &cpu_topology[cpu]; in update_siblings_masks()
460 if (cpuid_topo->llc_id == cpu_topo->llc_id) { in update_siblings_masks()
462 cpumask_set_cpu(cpuid, &cpu_topo->llc_sibling); in update_siblings_masks()
465 if (cpuid_topo->package_id != cpu_topo->package_id) in update_siblings_masks()
468 cpumask_set_cpu(cpuid, &cpu_topo->core_sibling); in update_siblings_masks()
471 if (cpuid_topo->core_id != cpu_topo->core_id) in update_siblings_masks()
474 cpumask_set_cpu(cpuid, &cpu_topo->thread_sibling); in update_siblings_masks()
481 struct cpu_topology *cpu_topo = &cpu_topology[cpu]; in clear_cpu_topology() local
483 cpumask_clear(&cpu_topo->llc_sibling); in clear_cpu_topology()
484 cpumask_set_cpu(cpu, &cpu_topo->llc_sibling); in clear_cpu_topology()
486 cpumask_clear(&cpu_topo->core_sibling); in clear_cpu_topology()
487 cpumask_set_cpu(cpu, &cpu_topo->core_sibling); in clear_cpu_topology()
488 cpumask_clear(&cpu_topo->thread_sibling); in clear_cpu_topology()
489 cpumask_set_cpu(cpu, &cpu_topo->thread_sibling); in clear_cpu_topology()
497 struct cpu_topology *cpu_topo = &cpu_topology[cpu]; in reset_cpu_topology() local
499 cpu_topo->thread_id = -1; in reset_cpu_topology()
500 cpu_topo->core_id = -1; in reset_cpu_topology()
501 cpu_topo->package_id = -1; in reset_cpu_topology()
502 cpu_topo->llc_id = -1; in reset_cpu_topology()