Lines Matching refs:smp_ops
91 static struct smp_operations smp_ops __ro_after_init;
96 smp_ops = *ops; in smp_set_ops()
136 if (!smp_ops.smp_boot_secondary) in __cpu_up()
161 ret = smp_ops.smp_boot_secondary(cpu, idle); in __cpu_up()
186 if (smp_ops.smp_init_cpus) in smp_init_cpus()
187 smp_ops.smp_init_cpus(); in smp_init_cpus()
192 return !!smp_ops.smp_boot_secondary; in platform_can_secondary_boot()
198 if (smp_ops.cpu_kill) in platform_can_cpu_hotplug()
208 if (smp_ops.cpu_kill) in platform_cpu_kill()
209 return smp_ops.cpu_kill(cpu); in platform_cpu_kill()
215 if (smp_ops.cpu_disable) in platform_cpu_disable()
216 return smp_ops.cpu_disable(cpu); in platform_cpu_disable()
224 if (!smp_ops.cpu_die) in platform_can_hotplug_cpu()
227 if (smp_ops.cpu_can_disable) in platform_can_hotplug_cpu()
228 return smp_ops.cpu_can_disable(cpu); in platform_can_hotplug_cpu()
365 if (smp_ops.cpu_die) in arch_cpu_idle_dead()
366 smp_ops.cpu_die(cpu); in arch_cpu_idle_dead()
441 if (smp_ops.smp_secondary_init) in secondary_start_kernel()
442 smp_ops.smp_secondary_init(cpu); in secondary_start_kernel()
521 if (smp_ops.smp_prepare_cpus) in smp_prepare_cpus()
522 smp_ops.smp_prepare_cpus(max_cpus); in smp_prepare_cpus()