Lines Matching full:transition
3 * transition.c - Kernel Live Patching transition functions
15 #include "transition.h"
31 * "straggler" tasks which failed to transition in the first attempt.
67 * The transition to the target patch state is complete. Clean up the data
77 pr_debug("'%s': completing %s transition\n", in klp_complete_transition()
96 * func->transition gets cleared, the handler may choose a in klp_complete_transition()
104 func->transition = false; in klp_complete_transition()
140 * This is called in the error path, to cancel a transition before it has
142 * klp_start_transition() hasn't. If the transition *has* been started,
150 pr_debug("'%s': canceling patching transition, going to unpatch\n", in klp_cancel_transition()
181 * of func->transition, if klp_ftrace_handler() is called later on in klp_update_patch_state()
240 * Determine whether it's safe to transition the task to the target patch state
402 * Usually this will transition most (or all) of the tasks on a system in klp_try_complete_transition()
459 * Start the transition to the specified target patch state so tasks can begin
469 pr_notice("'%s': starting %s transition\n", in klp_start_transition()
500 * state, and initialize all function transition states to true in preparation
521 pr_debug("'%s': initializing %s transition\n", patch->mod->name, in klp_init_transition()
546 * func->transition updates to ensure that klp_ftrace_handler() doesn't in klp_init_transition()
547 * see a func in transition with a task->patch_state of KLP_UNDEFINED. in klp_init_transition()
556 * Set the func transition states so klp_ftrace_handler() will know to in klp_init_transition()
557 * switch to the transition logic. in klp_init_transition()
568 func->transition = true; in klp_init_transition()
572 * This function can be called in the middle of an existing transition to
582 pr_debug("'%s': reversing transition from %s\n", in klp_reverse_transition()
620 * existing transition to finish.