Home
last modified time | relevance | path

Searched refs:cpu_sibling_map (Results 1 – 20 of 20) sorted by relevance

/linux-6.12.1/arch/loongarch/kernel/
Dsmp.c45 cpumask_t cpu_sibling_map[NR_CPUS] __read_mostly; variable
46 EXPORT_SYMBOL(cpu_sibling_map);
112 cpumask_set_cpu(i, &cpu_sibling_map[cpu]); in set_cpu_sibling_map()
113 cpumask_set_cpu(cpu, &cpu_sibling_map[i]); in set_cpu_sibling_map()
124 cpumask_clear_cpu(i, &cpu_sibling_map[cpu]); in clear_cpu_sibling_map()
125 cpumask_clear_cpu(cpu, &cpu_sibling_map[i]); in clear_cpu_sibling_map()
154 &temp_foreign_map, &cpu_sibling_map[i]); in calculate_cpu_foreign_map()
/linux-6.12.1/arch/mips/kernel/
Dsmp.c52 cpumask_t cpu_sibling_map[NR_CPUS] __read_mostly; variable
53 EXPORT_SYMBOL(cpu_sibling_map);
109 cpumask_set_cpu(i, &cpu_sibling_map[cpu]); in set_cpu_sibling_map()
110 cpumask_set_cpu(cpu, &cpu_sibling_map[i]); in set_cpu_sibling_map()
114 cpumask_set_cpu(cpu, &cpu_sibling_map[cpu]); in set_cpu_sibling_map()
153 &temp_foreign_map, &cpu_sibling_map[i]); in calculate_cpu_foreign_map()
Dpm-cps.c125 &cpu_sibling_map[cpu]); in cps_pm_enter_state()
/linux-6.12.1/arch/powerpc/include/asm/
Dsmp.h109 DECLARE_PER_CPU(cpumask_var_t, cpu_sibling_map);
116 return per_cpu(cpu_sibling_map, cpu); in cpu_sibling_mask()
147 return per_cpu(cpu_sibling_map, cpu); in cpu_smt_mask()
Dtopology.h139 #define topology_sibling_cpumask(cpu) (per_cpu(cpu_sibling_map, cpu))
/linux-6.12.1/arch/sparc/kernel/
Dsmp_64.c61 DEFINE_PER_CPU(cpumask_t, cpu_sibling_map) = CPU_MASK_NONE;
71 EXPORT_PER_CPU_SYMBOL(cpu_sibling_map);
1255 cpumask_clear(&per_cpu(cpu_sibling_map, i)); in smp_fill_in_sib_core_maps()
1257 cpumask_set_cpu(i, &per_cpu(cpu_sibling_map, i)); in smp_fill_in_sib_core_maps()
1264 cpumask_set_cpu(j, &per_cpu(cpu_sibling_map, i)); in smp_fill_in_sib_core_maps()
1336 for_each_cpu(i, &per_cpu(cpu_sibling_map, cpu)) in __cpu_disable()
1337 cpumask_clear_cpu(cpu, &per_cpu(cpu_sibling_map, i)); in __cpu_disable()
1338 cpumask_clear(&per_cpu(cpu_sibling_map, cpu)); in __cpu_disable()
/linux-6.12.1/arch/mips/include/asm/
Dtopology.h18 #define topology_sibling_cpumask(cpu) (&cpu_sibling_map[cpu])
Dsmp.h22 extern cpumask_t cpu_sibling_map[];
/linux-6.12.1/arch/sparc/include/asm/
Dsmp_64.h34 DECLARE_PER_CPU(cpumask_t, cpu_sibling_map);
Dtopology_64.h50 #define topology_sibling_cpumask(cpu) (&per_cpu(cpu_sibling_map, cpu))
/linux-6.12.1/arch/loongarch/include/asm/
Dtopology.h36 #define topology_sibling_cpumask(cpu) (&cpu_sibling_map[cpu])
Dsmp.h27 extern cpumask_t cpu_sibling_map[];
/linux-6.12.1/drivers/cpuidle/
Dcpuidle-cps.c162 cpumask_copy(&device->coupled_cpus, &cpu_sibling_map[cpu]); in cps_cpuidle_init()
/linux-6.12.1/arch/x86/include/asm/
Dsmp.h11 DECLARE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_sibling_map);
Dtopology.h186 #define topology_sibling_cpumask(cpu) (per_cpu(cpu_sibling_map, cpu))
Dperf_event_p4.h193 return cpu != cpumask_first(this_cpu_cpumask_var_ptr(cpu_sibling_map)); in p4_ht_thread()
/linux-6.12.1/arch/x86/kernel/
Dsmpboot.c94 DEFINE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_sibling_map);
95 EXPORT_PER_CPU_SYMBOL(cpu_sibling_map);
1048 zalloc_cpumask_var_node(&per_cpu(cpu_sibling_map, cpu), GFP_KERNEL, node); in smp_prepare_cpus_common()
/linux-6.12.1/arch/mips/mm/
Dcontext.c249 cpumask_intersects(&tlb_flush_pending, &cpu_sibling_map[cpu])) { in check_switch_mmu_context()
Dc-r4k.c448 mask = &cpu_sibling_map[smp_processor_id()]; in has_valid_asid()
/linux-6.12.1/arch/powerpc/kernel/
Dsmp.c85 DEFINE_PER_CPU(cpumask_var_t, cpu_sibling_map);
91 EXPORT_PER_CPU_SYMBOL(cpu_sibling_map);
1109 zalloc_cpumask_var_node(&per_cpu(cpu_sibling_map, cpu), in smp_prepare_cpus()