Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/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-v4.19/arch/sh/kernel/
Dtopology.c19 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/
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-v4.19/arch/ia64/include/asm/
Dcpu.h14 DECLARE_PER_CPU(struct ia64_cpu, cpu_devices);
/Linux-v4.19/arch/c6x/kernel/
Dsetup.c496 static struct cpu cpu_devices[NR_CPUS]; variable
503 register_cpu(&cpu_devices[i], i); in topology_init()
/Linux-v4.19/arch/powerpc/kernel/
Dsysfs.c30 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/
Dcpu.c502 static DEFINE_PER_CPU(struct cpu, cpu_devices);
511 if (register_cpu(&per_cpu(cpu_devices, i), i)) in cpu_dev_register_generic()