Lines Matching full:startup
112 * @startup: Startup function of the step
122 } startup; member
164 if (!(bringup ? step->startup.single : step->teardown.single)) in cpuhp_invoke_callback()
172 cb = bringup ? step->startup.single : step->teardown.single; in cpuhp_invoke_callback()
180 cbm = bringup ? step->startup.multi : step->teardown.multi; in cpuhp_invoke_callback()
216 cbm = !bringup ? step->startup.multi : step->teardown.multi; in cpuhp_invoke_callback()
655 * Execute teardown/startup callbacks on the plugged cpu. Also used to invoke
835 * startup or the teardown callback of the affected state.
1575 .startup.single = NULL,
1581 .startup.single = smpboot_create_threads,
1587 .startup.single = perf_event_init_cpu,
1592 .startup.single = random_prepare_cpu,
1597 .startup.single = workqueue_prepare_cpu,
1602 .startup.single = hrtimers_prepare_cpu,
1607 .startup.single = smpcfd_prepare_cpu,
1612 .startup.single = relay_prepare_cpu,
1617 .startup.single = slab_prepare_cpu,
1622 .startup.single = rcutree_prepare_cpu,
1632 .startup.single = timers_prepare_cpu,
1638 .startup.single = bringup_cpu,
1657 .startup.single = sched_cpu_starting,
1662 .startup.single = NULL,
1667 .startup.single = NULL,
1681 .startup.single = NULL,
1688 .startup.single = smpboot_unpark_threads,
1693 .startup.single = irq_affinity_online_cpu,
1698 .startup.single = perf_event_init_cpu,
1703 .startup.single = lockup_detector_online_cpu,
1708 .startup.single = workqueue_online_cpu,
1713 .startup.single = random_online_cpu,
1718 .startup.single = rcutree_online_cpu,
1730 .startup.single = sched_cpu_activate,
1738 .startup.single = NULL,
1783 int (*startup)(unsigned int cpu), in cpuhp_store_callbacks()
1811 sp->startup.single = startup; in cpuhp_store_callbacks()
1825 * Call the startup/teardown function for a step either on the AP or
1838 if ((bringup && !sp->startup.single) || in cpuhp_issue_call()
1875 /* Did we invoke the startup call on that cpu ? */ in cpuhp_rollback_install()
1897 if (!invoke || !sp->startup.multi) in __cpuhp_state_add_instance_cpuslocked()
1901 * Try to call the startup callback for each present cpu in __cpuhp_state_add_instance_cpuslocked()
1941 * @invoke: If true, the startup function is invoked for cpus where
1943 * @startup: startup callback function
1957 int (*startup)(unsigned int cpu), in __cpuhp_setup_state_cpuslocked()
1971 ret = cpuhp_store_callbacks(state, name, startup, teardown, in __cpuhp_setup_state_cpuslocked()
1980 if (ret || !invoke || !startup) in __cpuhp_setup_state_cpuslocked()
1984 * Try to call the startup callback for each present cpu in __cpuhp_setup_state_cpuslocked()
2016 int (*startup)(unsigned int cpu), in __cpuhp_setup_state()
2023 ret = __cpuhp_setup_state_cpuslocked(state, name, invoke, startup, in __cpuhp_setup_state()
2284 if (!sp->startup.single && !sp->teardown.single) in write_cpuhp_fail()