Lines Matching defs:teardown

57  * @bringup:    Single callback bringup or teardown selector
118 * @teardown: Teardown function of the step
119 * @cant_stop: Bringup/teardown can't be stopped at this step
130 } teardown;
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;
667 * The cpu hotplug threads manage the bringup and teardown of the cpus
685 * Execute teardown/startup callbacks on the plugged cpu. Also used to invoke
867 * startup or the teardown callback of the affected state.
1019 * The teardown callback for CPUHP_AP_SCHED_STARTING will have removed
1630 .teardown.single = NULL,
1637 .teardown.single = NULL,
1644 .teardown.single = perf_event_exit_cpu,
1649 .teardown.single = NULL,
1656 .teardown.single = NULL,
1662 .teardown.single = hrtimers_dead_cpu,
1668 .teardown.single = smpcfd_dead_cpu,
1674 .teardown.single = NULL,
1680 .teardown.single = slab_dead_cpu,
1686 .teardown.single = rcutree_dead_cpu,
1697 .teardown.single = timers_dead_cpu,
1704 .teardown.single = finish_cpu,
1726 .teardown.single = sched_cpu_dying,
1732 .teardown.single = rcutree_dying_cpu,
1738 .teardown.single = smpcfd_dying_cpu,
1752 .name = "cpu:teardown",
1754 .teardown.single = takedown_cpu,
1762 .teardown.single = smpboot_park_threads,
1768 .teardown.single = NULL,
1774 .teardown.single = perf_event_exit_cpu,
1780 .teardown.single = lockup_detector_offline_cpu,
1786 .teardown.single = workqueue_offline_cpu,
1791 .teardown.single = NULL,
1797 .teardown.single = rcutree_offline_cpu,
1810 .teardown.single = sched_cpu_deactivate,
1819 .teardown.single = NULL,
1865 int (*teardown)(unsigned int cpu), bool multi_instance)
1893 sp->teardown.single = teardown;
1902 return cpuhp_get_step(state)->teardown.single;
1906 * Call the startup/teardown function for a step either on the AP or
1918 if ((bringup && !sp->startup.single) || (!bringup && !sp->teardown.single)) {
1922 * The non AP bound callbacks can fail on bringup. On teardown
1941 * Note: The teardown callbacks for rollback are not allowed to fail!
1998 if (sp->teardown.multi) {
2029 * @teardown: teardown callback function
2041 int (*startup)(unsigned int cpu), int (*teardown)(unsigned int cpu),
2055 ret = cpuhp_store_callbacks(state, name, startup, teardown, multi_instance);
2082 if (teardown) {
2103 int (*teardown)(unsigned int cpu), bool multi_instance)
2108 ret = __cpuhp_setup_state_cpuslocked(state, name, invoke, startup, teardown, multi_instance);
2132 * Call the teardown callback for each present cpu depending
2158 * @invoke: If true, the teardown function is invoked for cpus where
2162 * The teardown callback is currently not allowed to fail. Think
2185 * Call the teardown callback for each present cpu depending
2379 if (!sp->startup.single && !sp->teardown.single) {