Home
last modified time | relevance | path

Searched refs:cpu_core_map (Results 1 – 18 of 18) sorted by relevance

/arch/s390/include/asm/
Dtopology.h11 extern cpumask_t cpu_core_map[NR_CPUS];
13 #define topology_core_siblings(cpu) (cpu_core_map[cpu])
14 #define topology_core_cpumask(cpu) (&cpu_core_map[cpu])
/arch/sparc/include/asm/
Dtopology_64.h84 #define topology_core_siblings(cpu) (cpu_core_map[cpu])
86 #define topology_core_cpumask(cpu) (&cpu_core_map[cpu])
92 #define cpu_coregroup_map(cpu) (cpu_core_map[cpu])
93 #define cpu_coregroup_mask(cpu) (&cpu_core_map[cpu])
Dsmp_64.h34 extern cpumask_t cpu_core_map[NR_CPUS];
/arch/powerpc/kernel/
Dsmp.c63 DEFINE_PER_CPU(cpumask_t, cpu_core_map) = CPU_MASK_NONE;
66 EXPORT_PER_CPU_SYMBOL(cpu_core_map);
288 cpu_set(boot_cpuid, per_cpu(cpu_core_map, boot_cpuid)); in smp_prepare_boot_cpu()
520 cpu_set(cpu, per_cpu(cpu_core_map, base +i)); in start_secondary()
521 cpu_set(base + i, per_cpu(cpu_core_map, cpu)); in start_secondary()
529 cpu_set(cpu, per_cpu(cpu_core_map, i)); in start_secondary()
530 cpu_set(i, per_cpu(cpu_core_map, cpu)); in start_secondary()
589 cpu_clear(cpu, per_cpu(cpu_core_map, base +i)); in __cpu_disable()
590 cpu_clear(base + i, per_cpu(cpu_core_map, cpu)); in __cpu_disable()
599 cpu_clear(cpu, per_cpu(cpu_core_map, i)); in __cpu_disable()
[all …]
/arch/ia64/kernel/
Dsmpboot.c134 cpumask_t cpu_core_map[NR_CPUS] __cacheline_aligned; variable
135 EXPORT_SYMBOL(cpu_core_map);
655 for_each_cpu_mask(i, cpu_core_map[cpu]) in clear_cpu_sibling_map()
656 cpu_clear(cpu, cpu_core_map[i]); in clear_cpu_sibling_map()
658 per_cpu(cpu_sibling_map, cpu) = cpu_core_map[cpu] = CPU_MASK_NONE; in clear_cpu_sibling_map()
668 cpu_clear(cpu, cpu_core_map[cpu]); in remove_siblinginfo()
673 last = (cpus_weight(cpu_core_map[cpu]) == 1 ? 1 : 0); in remove_siblinginfo()
795 cpu_set(i, cpu_core_map[cpu]); in set_cpu_sibling_map()
796 cpu_set(cpu, cpu_core_map[i]); in set_cpu_sibling_map()
831 cpu_set(cpu, cpu_core_map[cpu]); in __cpu_up()
Dsetup.c715 seq_printf(m, "siblings : %u\n", cpus_weight(cpu_core_map[cpunum])); in show_cpuinfo()
953 cpu_set(0, cpu_core_map[0]); in cpu_init()
/arch/x86/include/asm/
Dtopology.h239 #define topology_core_siblings(cpu) (per_cpu(cpu_core_map, cpu))
241 #define topology_core_cpumask(cpu) (&per_cpu(cpu_core_map, cpu))
256 #define mc_capable() (cpus_weight(per_cpu(cpu_core_map, 0)) != nr_cpu_ids)
Dsmp.h51 DECLARE_PER_CPU(cpumask_t, cpu_core_map);
64 return &per_cpu(cpu_core_map, cpu); in cpu_core_mask()
/arch/powerpc/include/asm/
Dtopology.h114 #define topology_core_siblings(cpu) (per_cpu(cpu_core_map, cpu))
116 #define topology_core_cpumask(cpu) (&per_cpu(cpu_core_map, cpu))
Dsmp.h72 DECLARE_PER_CPU(cpumask_t, cpu_core_map);
/arch/ia64/include/asm/
Dtopology.h111 #define topology_core_siblings(cpu) (cpu_core_map[cpu])
113 #define topology_core_cpumask(cpu) (&cpu_core_map[cpu])
Dsmp.h60 extern cpumask_t cpu_core_map[NR_CPUS];
/arch/s390/kernel/
Dtopology.c75 cpumask_t cpu_core_map[NR_CPUS]; variable
102 return &cpu_core_map[cpu]; in cpu_coregroup_mask()
221 cpu_core_map[cpu] = cpu_coregroup_map(cpu); in update_cpu_core_map()
/arch/x86/kernel/cpu/
Dproc.c18 cpus_weight(per_cpu(cpu_core_map, cpu))); in show_cpuinfo_core()
60 cpus_weight(per_cpu(cpu_core_map, cpu))); in show_cpuinfo_core()
/arch/sparc/kernel/
Dsmp_64.c53 cpumask_t cpu_core_map[NR_CPUS] __read_mostly = variable
57 EXPORT_SYMBOL(cpu_core_map);
1199 cpus_clear(cpu_core_map[i]); in smp_fill_in_sib_core_maps()
1201 cpu_set(i, cpu_core_map[i]); in smp_fill_in_sib_core_maps()
1208 cpu_set(j, cpu_core_map[i]); in smp_fill_in_sib_core_maps()
1292 for_each_cpu_mask(i, cpu_core_map[cpu]) in __cpu_disable()
1293 cpu_clear(cpu, cpu_core_map[i]); in __cpu_disable()
1294 cpus_clear(cpu_core_map[cpu]); in __cpu_disable()
/arch/x86/kernel/cpu/mcheck/
Dmce_amd_64.c484 i = first_cpu(per_cpu(cpu_core_map, cpu)); in threshold_create_bank()
504 b->cpus = per_cpu(cpu_core_map, cpu); in threshold_create_bank()
523 b->cpus = per_cpu(cpu_core_map, cpu); in threshold_create_bank()
/arch/x86/kernel/cpu/cpufreq/
Dpowernow-k8.c59 DEFINE_PER_CPU(cpumask_t, cpu_core_map);
657 if (first_cpu(per_cpu(cpu_core_map, data->cpu)) == data->cpu) in fill_powernow_table()
811 if (first_cpu(per_cpu(cpu_core_map, data->cpu)) == data->cpu) in powernow_k8_cpu_init_acpi()
1227 cpumask_copy(pol->cpus, &per_cpu(cpu_core_map, pol->cpu)); in powernowk8_cpu_init()
1289 first = first_cpu(per_cpu(cpu_core_map, cpu)); in powernowk8_get()
/arch/x86/kernel/
Dsmpboot.c110 DEFINE_PER_CPU(cpumask_t, cpu_core_map);
111 EXPORT_PER_CPU_SYMBOL(cpu_core_map);