Lines Matching defs:startup
117 * @startup: Startup function of the step
126 } startup;
166 if (!(bringup ? step->startup.single : step->teardown.single)) {
175 cb = bringup ? step->startup.single : step->teardown.single;
184 cbm = bringup ? step->startup.multi : step->teardown.multi;
225 cbm = !bringup ? step->startup.multi : step->teardown.multi;
685 * Execute teardown/startup callbacks on the plugged cpu. Also used to invoke
867 * startup or the teardown callback of the affected state.
1629 .startup.single = NULL,
1636 .startup.single = smpboot_create_threads,
1643 .startup.single = perf_event_init_cpu,
1648 .startup.single = random_prepare_cpu,
1655 .startup.single = workqueue_prepare_cpu,
1661 .startup.single = hrtimers_prepare_cpu,
1667 .startup.single = smpcfd_prepare_cpu,
1673 .startup.single = relay_prepare_cpu,
1679 .startup.single = slab_prepare_cpu,
1685 .startup.single = rcutree_prepare_cpu,
1696 .startup.single = timers_prepare_cpu,
1703 .startup.single = bringup_cpu,
1725 .startup.single = sched_cpu_starting,
1731 .startup.single = NULL,
1737 .startup.single = NULL,
1753 .startup.single = NULL,
1761 .startup.single = smpboot_unpark_threads,
1767 .startup.single = irq_affinity_online_cpu,
1773 .startup.single = perf_event_init_cpu,
1779 .startup.single = lockup_detector_online_cpu,
1785 .startup.single = workqueue_online_cpu,
1790 .startup.single = random_online_cpu,
1796 .startup.single = rcutree_online_cpu,
1809 .startup.single = sched_cpu_activate,
1818 .startup.single = NULL,
1864 static int cpuhp_store_callbacks(enum cpuhp_state state, const char *name, int (*startup)(unsigned int cpu),
1892 sp->startup.single = startup;
1906 * Call the startup/teardown function for a step either on the AP or
1918 if ((bringup && !sp->startup.single) || (!bringup && !sp->teardown.single)) {
1957 /* Did we invoke the startup call on that cpu ? */
1979 if (!invoke || !sp->startup.multi) {
1984 * Try to call the startup callback for each present cpu
2026 * @invoke: If true, the startup function is invoked for cpus where
2028 * @startup: startup callback function
2041 int (*startup)(unsigned int cpu), int (*teardown)(unsigned int cpu),
2055 ret = cpuhp_store_callbacks(state, name, startup, teardown, multi_instance);
2063 if (ret || !invoke || !startup) {
2068 * Try to call the startup callback for each present cpu
2102 int __cpuhp_setup_state(enum cpuhp_state state, const char *name, bool invoke, int (*startup)(unsigned int cpu),
2108 ret = __cpuhp_setup_state_cpuslocked(state, name, invoke, startup, teardown, multi_instance);
2379 if (!sp->startup.single && !sp->teardown.single) {