Searched refs:cpu_sibling_map (Results 1 – 20 of 20) sorted by relevance
/linux-6.12.1/arch/loongarch/kernel/ |
D | smp.c | 45 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/ |
D | smp.c | 52 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()
|
D | pm-cps.c | 125 &cpu_sibling_map[cpu]); in cps_pm_enter_state()
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | smp.h | 109 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()
|
D | topology.h | 139 #define topology_sibling_cpumask(cpu) (per_cpu(cpu_sibling_map, cpu))
|
/linux-6.12.1/arch/sparc/kernel/ |
D | smp_64.c | 61 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/ |
D | topology.h | 18 #define topology_sibling_cpumask(cpu) (&cpu_sibling_map[cpu])
|
D | smp.h | 22 extern cpumask_t cpu_sibling_map[];
|
/linux-6.12.1/arch/sparc/include/asm/ |
D | smp_64.h | 34 DECLARE_PER_CPU(cpumask_t, cpu_sibling_map);
|
D | topology_64.h | 50 #define topology_sibling_cpumask(cpu) (&per_cpu(cpu_sibling_map, cpu))
|
/linux-6.12.1/arch/loongarch/include/asm/ |
D | topology.h | 36 #define topology_sibling_cpumask(cpu) (&cpu_sibling_map[cpu])
|
D | smp.h | 27 extern cpumask_t cpu_sibling_map[];
|
/linux-6.12.1/drivers/cpuidle/ |
D | cpuidle-cps.c | 162 cpumask_copy(&device->coupled_cpus, &cpu_sibling_map[cpu]); in cps_cpuidle_init()
|
/linux-6.12.1/arch/x86/include/asm/ |
D | smp.h | 11 DECLARE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_sibling_map);
|
D | topology.h | 186 #define topology_sibling_cpumask(cpu) (per_cpu(cpu_sibling_map, cpu))
|
D | perf_event_p4.h | 193 return cpu != cpumask_first(this_cpu_cpumask_var_ptr(cpu_sibling_map)); in p4_ht_thread()
|
/linux-6.12.1/arch/x86/kernel/ |
D | smpboot.c | 94 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/ |
D | context.c | 249 cpumask_intersects(&tlb_flush_pending, &cpu_sibling_map[cpu])) { in check_switch_mmu_context()
|
D | c-r4k.c | 448 mask = &cpu_sibling_map[smp_processor_id()]; in has_valid_asid()
|
/linux-6.12.1/arch/powerpc/kernel/ |
D | smp.c | 85 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()
|