Home
last modified time | relevance | path

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

/Linux-v5.4/arch/ia64/kernel/
Dsmpboot.c119 DEFINE_PER_CPU_SHARED_ALIGNED(cpumask_t, cpu_sibling_map);
120 EXPORT_PER_CPU_SYMBOL(cpu_sibling_map);
578 for_each_cpu(i, &per_cpu(cpu_sibling_map, cpu)) in clear_cpu_sibling_map()
579 cpumask_clear_cpu(cpu, &per_cpu(cpu_sibling_map, i)); in clear_cpu_sibling_map()
583 per_cpu(cpu_sibling_map, cpu) = cpu_core_map[cpu] = CPU_MASK_NONE; in clear_cpu_sibling_map()
594 cpumask_clear_cpu(cpu, &per_cpu(cpu_sibling_map, cpu)); in remove_siblinginfo()
718 &per_cpu(cpu_sibling_map, cpu)); in set_cpu_sibling_map()
720 &per_cpu(cpu_sibling_map, i)); in set_cpu_sibling_map()
751 cpumask_set_cpu(cpu, &per_cpu(cpu_sibling_map, cpu)); in __cpu_up()
Dsetup.c957 cpumask_set_cpu(0, &per_cpu(cpu_sibling_map, 0)); in cpu_init()
/Linux-v5.4/arch/mips/kernel/
Dsmp.c51 cpumask_t cpu_sibling_map[NR_CPUS] __read_mostly; variable
52 EXPORT_SYMBOL(cpu_sibling_map);
90 cpumask_set_cpu(i, &cpu_sibling_map[cpu]); in set_cpu_sibling_map()
91 cpumask_set_cpu(cpu, &cpu_sibling_map[i]); in set_cpu_sibling_map()
95 cpumask_set_cpu(cpu, &cpu_sibling_map[cpu]); in set_cpu_sibling_map()
134 &temp_foreign_map, &cpu_sibling_map[i]); in calculate_cpu_foreign_map()
Dpm-cps.c131 &cpu_sibling_map[cpu]); in cps_pm_enter_state()
/Linux-v5.4/arch/powerpc/include/asm/
Dsmp.h111 DECLARE_PER_CPU(cpumask_var_t, cpu_sibling_map);
118 return per_cpu(cpu_sibling_map, cpu); in cpu_sibling_mask()
Dtopology.h138 #define topology_sibling_cpumask(cpu) (per_cpu(cpu_sibling_map, cpu))
/Linux-v5.4/arch/mips/include/asm/
Dtopology.h18 #define topology_sibling_cpumask(cpu) (&cpu_sibling_map[cpu])
Dsmp.h24 extern cpumask_t cpu_sibling_map[];
/Linux-v5.4/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);
1303 cpumask_clear(&per_cpu(cpu_sibling_map, i)); in smp_fill_in_sib_core_maps()
1305 cpumask_set_cpu(i, &per_cpu(cpu_sibling_map, i)); in smp_fill_in_sib_core_maps()
1312 cpumask_set_cpu(j, &per_cpu(cpu_sibling_map, i)); in smp_fill_in_sib_core_maps()
1384 for_each_cpu(i, &per_cpu(cpu_sibling_map, cpu)) in __cpu_disable()
1385 cpumask_clear_cpu(cpu, &per_cpu(cpu_sibling_map, i)); in __cpu_disable()
1386 cpumask_clear(&per_cpu(cpu_sibling_map, cpu)); in __cpu_disable()
/Linux-v5.4/arch/ia64/include/asm/
Dtopology.h45 #define topology_sibling_cpumask(cpu) (&per_cpu(cpu_sibling_map, cpu))
Dsmp.h62 DECLARE_PER_CPU_SHARED_ALIGNED(cpumask_t, cpu_sibling_map);
/Linux-v5.4/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-v5.4/arch/x86/include/asm/
Dtopology.h116 #define topology_sibling_cpumask(cpu) (per_cpu(cpu_sibling_map, cpu))
Dsmp.h24 DECLARE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_sibling_map);
Dperf_event_p4.h193 return cpu != cpumask_first(this_cpu_cpumask_var_ptr(cpu_sibling_map)); in p4_ht_thread()
/Linux-v5.4/drivers/cpuidle/
Dcpuidle-cps.c162 cpumask_copy(&device->coupled_cpus, &cpu_sibling_map[cpu]); in cps_cpuidle_init()
/Linux-v5.4/arch/powerpc/kernel/
Dsmp.c78 DEFINE_PER_CPU(cpumask_var_t, cpu_sibling_map);
83 EXPORT_PER_CPU_SYMBOL(cpu_sibling_map);
857 zalloc_cpumask_var_node(&per_cpu(cpu_sibling_map, cpu), in smp_prepare_cpus()
/Linux-v5.4/arch/mips/mm/
Dcontext.c249 cpumask_intersects(&tlb_flush_pending, &cpu_sibling_map[cpu])) { in check_switch_mmu_context()
Dc-r4k.c554 mask = &cpu_sibling_map[smp_processor_id()]; in has_valid_asid()
/Linux-v5.4/arch/x86/kernel/
Dsmpboot.c85 DEFINE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_sibling_map);
86 EXPORT_PER_CPU_SYMBOL(cpu_sibling_map);
1324 zalloc_cpumask_var(&per_cpu(cpu_sibling_map, i), GFP_KERNEL); in native_smp_prepare_cpus()
/Linux-v5.4/arch/x86/xen/
Dsmp_pv.c253 zalloc_cpumask_var(&per_cpu(cpu_sibling_map, i), GFP_KERNEL); in xen_pv_smp_prepare_cpus()
/Linux-v5.4/arch/x86/oprofile/
Dop_model_p4.c375 return cpu != cpumask_first(this_cpu_cpumask_var_ptr(cpu_sibling_map)); in get_stagger()