Home
last modified time | relevance | path

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

/arch/x86/kernel/
Dtopology.c35 static DEFINE_PER_CPU(struct x86_cpu, cpu_devices);
50 per_cpu(cpu_devices, num).cpu.hotpluggable = 1; in arch_register_cpu()
52 return register_cpu(&per_cpu(cpu_devices, num).cpu, num); in arch_register_cpu()
58 unregister_cpu(&per_cpu(cpu_devices, num).cpu); in arch_unregister_cpu()
65 return register_cpu(&per_cpu(cpu_devices, num).cpu, num); in arch_register_cpu()
/arch/parisc/kernel/
Dtopology.c25 static DEFINE_PER_CPU(struct cpu, cpu_devices);
32 register_cpu(&per_cpu(cpu_devices, num), num); in topology_init()
/arch/hexagon/kernel/
Dtopology.c30 static DEFINE_PER_CPU(struct cpu, cpu_devices);
43 ret = register_cpu(&per_cpu(cpu_devices, i), i); in topology_init()
/arch/mips/kernel/
Dtopology.c8 static DEFINE_PER_CPU(struct cpu, cpu_devices);
20 struct cpu *c = &per_cpu(cpu_devices, i); in topology_init()
/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()
/arch/ia64/include/asm/
Dcpu.h13 DECLARE_PER_CPU(struct ia64_cpu, cpu_devices);
/arch/cris/kernel/
Dsetup.c40 static struct cpu cpu_devices[NR_CPUS]; variable
197 return register_cpu(&cpu_devices[i], i); in topology_init()
/arch/sparc/kernel/
Dsysfs.c222 static DEFINE_PER_CPU(struct cpu, cpu_devices);
226 struct cpu *c = &per_cpu(cpu_devices, cpu); in register_cpu_online()
239 struct cpu *c = &per_cpu(cpu_devices, cpu); in unregister_cpu_online()
306 struct cpu *c = &per_cpu(cpu_devices, cpu); in topology_init()
/arch/mn10300/kernel/
Dsetup.c199 static struct cpu cpu_devices[NR_CPUS]; variable
206 register_cpu(&cpu_devices[i], i); in topology_init()
Dsmp.c968 static DEFINE_PER_CPU(struct cpu, cpu_devices);
975 ret = register_cpu(&per_cpu(cpu_devices, cpu), cpu, NULL); in topology_init()
/arch/m32r/kernel/
Dsetup.c271 static struct cpu cpu_devices[NR_CPUS]; variable
278 register_cpu(&cpu_devices[i], i); in topology_init()
/arch/powerpc/kernel/
Dsysfs.c28 static DEFINE_PER_CPU(struct cpu, cpu_devices);
346 struct cpu *c = &per_cpu(cpu_devices, cpu); in register_cpu_online()
416 struct cpu *c = &per_cpu(cpu_devices, cpu); in unregister_cpu_online()
649 struct cpu *c = &per_cpu(cpu_devices, cpu); in topology_init()
/arch/c6x/kernel/
Dsetup.c499 static struct cpu cpu_devices[NR_CPUS]; variable
506 register_cpu(&cpu_devices[i], i); in topology_init()
/arch/avr32/kernel/
Dcpu.c21 static DEFINE_PER_CPU(struct cpu, cpu_devices);
184 struct cpu *c = &per_cpu(cpu_devices, cpu); in topology_init()
/arch/tile/kernel/
Dsetup.c834 static struct cpu cpu_devices[NR_CPUS]; variable
844 register_cpu(&cpu_devices[i], i); in topology_init()