Searched refs:cpu_devices (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/arch/x86/kernel/ |
D | topology.c | 36 static DEFINE_PER_CPU(struct x86_cpu, cpu_devices); 142 per_cpu(cpu_devices, num).cpu.hotpluggable = 1; in arch_register_cpu() 144 return register_cpu(&per_cpu(cpu_devices, num).cpu, num); in arch_register_cpu() 150 unregister_cpu(&per_cpu(cpu_devices, num).cpu); in arch_unregister_cpu() 157 return register_cpu(&per_cpu(cpu_devices, num).cpu, num); in arch_register_cpu()
|
/Linux-v5.4/arch/mips/kernel/ |
D | topology.c | 9 static DEFINE_PER_CPU(struct cpu, cpu_devices); 21 struct cpu *c = &per_cpu(cpu_devices, i); in topology_init()
|
/Linux-v5.4/arch/sh/kernel/ |
D | topology.c | 16 static DEFINE_PER_CPU(struct cpu, cpu_devices); 55 struct cpu *c = &per_cpu(cpu_devices, i); in topology_init()
|
/Linux-v5.4/arch/sparc/kernel/ |
D | sysfs.c | 206 static DEFINE_PER_CPU(struct cpu, cpu_devices); 210 struct cpu *c = &per_cpu(cpu_devices, cpu); in register_cpu_online() 224 struct cpu *c = &per_cpu(cpu_devices, cpu); in unregister_cpu_online() 266 struct cpu *c = &per_cpu(cpu_devices, cpu); in topology_init()
|
/Linux-v5.4/arch/ia64/include/asm/ |
D | cpu.h | 14 DECLARE_PER_CPU(struct ia64_cpu, cpu_devices);
|
/Linux-v5.4/arch/c6x/kernel/ |
D | setup.c | 463 static struct cpu cpu_devices[NR_CPUS]; variable 470 register_cpu(&cpu_devices[i], i); in topology_init()
|
/Linux-v5.4/arch/powerpc/kernel/ |
D | sysfs.c | 32 static DEFINE_PER_CPU(struct cpu, cpu_devices); 738 struct cpu *c = &per_cpu(cpu_devices, cpu); in register_cpu_online() 829 struct cpu *c = &per_cpu(cpu_devices, cpu); in unregister_cpu_online() 1054 struct cpu *c = &per_cpu(cpu_devices, cpu); in topology_init()
|
/Linux-v5.4/drivers/base/ |
D | cpu.c | 504 static DEFINE_PER_CPU(struct cpu, cpu_devices); 513 if (register_cpu(&per_cpu(cpu_devices, i), i)) in cpu_dev_register_generic()
|