Home
last modified time | relevance | path

Searched refs:cpu_devices (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/arch/x86/kernel/
Dtopology.c36 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/
Dtopology.c9 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/
Dtopology.c16 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/
Dsysfs.c206 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/
Dcpu.h14 DECLARE_PER_CPU(struct ia64_cpu, cpu_devices);
/Linux-v5.4/arch/c6x/kernel/
Dsetup.c463 static struct cpu cpu_devices[NR_CPUS]; variable
470 register_cpu(&cpu_devices[i], i); in topology_init()
/Linux-v5.4/arch/powerpc/kernel/
Dsysfs.c32 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/
Dcpu.c504 static DEFINE_PER_CPU(struct cpu, cpu_devices);
513 if (register_cpu(&per_cpu(cpu_devices, i), i)) in cpu_dev_register_generic()