Lines Matching refs:transition
3 * transition.c - Kernel Live Patching transition functions
15 #include "transition.h"
42 * "straggler" tasks which failed to transition in the first attempt.
78 * The transition to the target patch state is complete. Clean up the data
88 pr_debug("'%s': completing %s transition\n",
107 * func->transition gets cleared, the handler may choose a
115 func->transition = false;
151 * This is called in the error path, to cancel a transition before it has
153 * klp_start_transition() hasn't. If the transition *has* been started,
161 pr_debug("'%s': canceling patching transition, going to unpatch\n",
192 * of func->transition, if klp_ftrace_handler() is called later on
251 * Determine whether it's safe to transition the task to the target patch state
445 * Usually this will transition most (or all) of the tasks on a system
506 * Start the transition to the specified target patch state so tasks can begin
516 pr_notice("'%s': starting %s transition\n",
549 * state, and initialize all function transition states to true in preparation
570 pr_debug("'%s': initializing %s transition\n", patch->mod->name,
595 * func->transition updates to ensure that klp_ftrace_handler() doesn't
596 * see a func in transition with a task->patch_state of KLP_TRANSITION_IDLE.
606 * Set the func transition states so klp_ftrace_handler() will know to
607 * switch to the transition logic.
618 func->transition = true;
622 * This function can be called in the middle of an existing transition to
632 pr_debug("'%s': reversing transition from %s\n",
640 * parallel with the reverse transition.
653 * starting the reverse transition.
659 * prepare for the reverse transition.
680 * The parent process may have gone through a KLP transition since
699 * existing transition to finish.