Lines Matching full:transition
3 * transition.c - Kernel Live Patching transition functions
14 #include "transition.h"
30 * "straggler" tasks which failed to transition in the first attempt.
66 * The transition to the target patch state is complete. Clean up the data
76 pr_debug("'%s': completing %s transition\n", in klp_complete_transition()
95 * func->transition gets cleared, the handler may choose a in klp_complete_transition()
103 func->transition = false; in klp_complete_transition()
139 * This is called in the error path, to cancel a transition before it has
141 * klp_start_transition() hasn't. If the transition *has* been started,
149 pr_debug("'%s': canceling patching transition, going to unpatch\n", in klp_cancel_transition()
180 * of func->transition, if klp_ftrace_handler() is called later on in klp_update_patch_state()
239 * Determine whether it's safe to transition the task to the target patch state
403 * Usually this will transition most (or all) of the tasks on a system in klp_try_complete_transition()
460 * Start the transition to the specified target patch state so tasks can begin
470 pr_notice("'%s': starting %s transition\n", in klp_start_transition()
501 * state, and initialize all function transition states to true in preparation
522 pr_debug("'%s': initializing %s transition\n", patch->mod->name, in klp_init_transition()
547 * func->transition updates to ensure that klp_ftrace_handler() doesn't in klp_init_transition()
548 * see a func in transition with a task->patch_state of KLP_UNDEFINED. in klp_init_transition()
557 * Set the func transition states so klp_ftrace_handler() will know to in klp_init_transition()
558 * switch to the transition logic. in klp_init_transition()
569 func->transition = true; in klp_init_transition()
573 * This function can be called in the middle of an existing transition to
583 pr_debug("'%s': reversing transition from %s\n", in klp_reverse_transition()
621 * existing transition to finish.