/arch/s390/include/asm/ |
D | topology.h | 11 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/ |
D | topology_64.h | 84 #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])
|
D | smp_64.h | 34 extern cpumask_t cpu_core_map[NR_CPUS];
|
/arch/powerpc/kernel/ |
D | smp.c | 63 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/ |
D | smpboot.c | 134 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()
|
D | setup.c | 715 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/ |
D | topology.h | 239 #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)
|
D | smp.h | 51 DECLARE_PER_CPU(cpumask_t, cpu_core_map); 64 return &per_cpu(cpu_core_map, cpu); in cpu_core_mask()
|
/arch/powerpc/include/asm/ |
D | topology.h | 114 #define topology_core_siblings(cpu) (per_cpu(cpu_core_map, cpu)) 116 #define topology_core_cpumask(cpu) (&per_cpu(cpu_core_map, cpu))
|
D | smp.h | 72 DECLARE_PER_CPU(cpumask_t, cpu_core_map);
|
/arch/ia64/include/asm/ |
D | topology.h | 111 #define topology_core_siblings(cpu) (cpu_core_map[cpu]) 113 #define topology_core_cpumask(cpu) (&cpu_core_map[cpu])
|
D | smp.h | 60 extern cpumask_t cpu_core_map[NR_CPUS];
|
/arch/s390/kernel/ |
D | topology.c | 75 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/ |
D | proc.c | 18 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/ |
D | smp_64.c | 53 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/ |
D | mce_amd_64.c | 484 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/ |
D | powernow-k8.c | 59 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/ |
D | smpboot.c | 110 DEFINE_PER_CPU(cpumask_t, cpu_core_map); 111 EXPORT_PER_CPU_SYMBOL(cpu_core_map);
|