Lines Matching refs:cpu_topo
522 struct cpu_topology *cpu_topo, *cpuid_topo = &cpu_topology[cpuid]; in update_siblings_masks() local
527 cpu_topo = &cpu_topology[cpu]; in update_siblings_masks()
529 if (cpu_topo->llc_id != -1 && cpuid_topo->llc_id == cpu_topo->llc_id) { in update_siblings_masks()
531 cpumask_set_cpu(cpuid, &cpu_topo->llc_sibling); in update_siblings_masks()
534 if (cpuid_topo->package_id != cpu_topo->package_id) in update_siblings_masks()
537 cpumask_set_cpu(cpuid, &cpu_topo->core_sibling); in update_siblings_masks()
540 if (cpuid_topo->core_id != cpu_topo->core_id) in update_siblings_masks()
543 cpumask_set_cpu(cpuid, &cpu_topo->thread_sibling); in update_siblings_masks()
550 struct cpu_topology *cpu_topo = &cpu_topology[cpu]; in clear_cpu_topology() local
552 cpumask_clear(&cpu_topo->llc_sibling); in clear_cpu_topology()
553 cpumask_set_cpu(cpu, &cpu_topo->llc_sibling); in clear_cpu_topology()
555 cpumask_clear(&cpu_topo->core_sibling); in clear_cpu_topology()
556 cpumask_set_cpu(cpu, &cpu_topo->core_sibling); in clear_cpu_topology()
557 cpumask_clear(&cpu_topo->thread_sibling); in clear_cpu_topology()
558 cpumask_set_cpu(cpu, &cpu_topo->thread_sibling); in clear_cpu_topology()
566 struct cpu_topology *cpu_topo = &cpu_topology[cpu]; in reset_cpu_topology() local
568 cpu_topo->thread_id = -1; in reset_cpu_topology()
569 cpu_topo->core_id = -1; in reset_cpu_topology()
570 cpu_topo->package_id = -1; in reset_cpu_topology()
571 cpu_topo->llc_id = -1; in reset_cpu_topology()