Lines Matching refs:fail
51 * @fail: Current CPU hotplug callback state
69 enum cpuhp_state fail;
87 .fail = CPUHP_INVALID,
179 if (st->fail == state) {
180 st->fail = CPUHP_INVALID;
244 * Rollback must not fail,
274 * The former STARTING/DYING states, ran with IRQs disabled and must not fail.
1088 * STARTING/DYING must not fail!
1097 * If we fail on a rollback, we're up a creek without no
1276 * Invoke the former CPU_DYING callbacks. DYING must not fail!
1591 * STARTING must not fail!
1643 /* Let it fail before we try to bring the cpu up */
2339 * The non AP bound callbacks can fail on bringup. On teardown
2357 * Note: The teardown callbacks for rollback are not allowed to fail!
2547 * allowed to fail currently!
2573 * The teardown callback is currently not allowed to fail. Think
2599 * allowed to fail currently!
2767 int fail, ret;
2769 ret = kstrtoint(buf, 10, &fail);
2773 if (fail == CPUHP_INVALID) {
2774 st->fail = fail;
2778 if (fail < CPUHP_OFFLINE || fail > CPUHP_ONLINE)
2782 * Cannot fail STARTING/DYING callbacks.
2784 if (cpuhp_is_atomic_state(fail))
2788 * DEAD callbacks cannot fail...
2793 if (fail <= CPUHP_BRINGUP_CPU && st->state > CPUHP_BRINGUP_CPU)
2797 * Cannot fail anything that doesn't have callbacks.
2800 sp = cpuhp_get_step(fail);
2807 st->fail = fail;
2817 return sprintf(buf, "%d\n", st->fail);
2820 static DEVICE_ATTR_RW(fail);