Searched refs:cpu_devices (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/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-v4.19/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-v4.19/arch/sh/kernel/ |
D | topology.c | 19 static DEFINE_PER_CPU(struct cpu, cpu_devices); 58 struct cpu *c = &per_cpu(cpu_devices, i); in topology_init()
|
/Linux-v4.19/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-v4.19/arch/ia64/include/asm/ |
D | cpu.h | 14 DECLARE_PER_CPU(struct ia64_cpu, cpu_devices);
|
/Linux-v4.19/arch/c6x/kernel/ |
D | setup.c | 496 static struct cpu cpu_devices[NR_CPUS]; variable 503 register_cpu(&cpu_devices[i], i); in topology_init()
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | sysfs.c | 30 static DEFINE_PER_CPU(struct cpu, cpu_devices); 719 struct cpu *c = &per_cpu(cpu_devices, cpu); in register_cpu_online() 810 struct cpu *c = &per_cpu(cpu_devices, cpu); in unregister_cpu_online() 1035 struct cpu *c = &per_cpu(cpu_devices, cpu); in topology_init()
|
/Linux-v4.19/drivers/base/ |
D | cpu.c | 502 static DEFINE_PER_CPU(struct cpu, cpu_devices); 511 if (register_cpu(&per_cpu(cpu_devices, i), i)) in cpu_dev_register_generic()
|