Lines Matching full:transition

3  * transition.c - Kernel Live Patching transition functions
14 #include "transition.h"
29 * "straggler" tasks which failed to transition in the first attempt.
65 * The transition to the target patch state is complete. Clean up the data
75 pr_debug("'%s': completing %s transition\n", in klp_complete_transition()
94 * func->transition gets cleared, the handler may choose a in klp_complete_transition()
102 func->transition = false; in klp_complete_transition()
138 * This is called in the error path, to cancel a transition before it has
140 * klp_start_transition() hasn't. If the transition *has* been started,
148 pr_debug("'%s': canceling patching transition, going to unpatch\n", in klp_cancel_transition()
179 * of func->transition, if klp_ftrace_handler() is called later on in klp_update_patch_state()
238 * Determine whether it's safe to transition the task to the target patch state
399 * 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()
615 * The parent process may have gone through a KLP transition since in klp_copy_process()
634 * existing transition to finish.