Home
last modified time | relevance | path

Searched refs:patch_state (Results 1 – 7 of 7) sorted by relevance

/linux/kernel/livepatch/
H A Dtransition.c124 task->patch_state = KLP_TRANSITION_IDLE; in klp_complete_transition()
131 task->patch_state = KLP_TRANSITION_IDLE; in klp_complete_transition()
173 * Otherwise klp_ftrace_handler() might read the wrong 'patch_state' value. in klp_cancel_transition()
196 task->patch_state = READ_ONCE(klp_target_state); in klp_update_patch_state()
296 task->patch_state = klp_target_state; in klp_check_and_switch_task()
311 if (task->patch_state == klp_target_state)
466 } else if (task->patch_state != klp_target_state) { in klp_try_complete_transition()
469 task->patch_state = klp_target_state; in klp_try_complete_transition()
527 if (task->patch_state != klp_target_state)
538 if (task->patch_state ! in klp_start_transition()
[all...]
H A Dpatch.c47 int patch_state; in klp_ftrace_handler() local
96 patch_state = current->patch_state; in klp_ftrace_handler()
98 WARN_ON_ONCE(patch_state == KLP_TRANSITION_IDLE); in klp_ftrace_handler()
100 if (patch_state == KLP_TRANSITION_UNPATCHED) { in klp_ftrace_handler()
/linux/init/
H A Dinit_task.c215 .patch_state = KLP_TRANSITION_IDLE,
/linux/include/linux/
H A Dsched.h1588 int patch_state; member
/linux/Documentation/livepatch/
H A Dlivepatch.rst142 There's also a /proc/<pid>/patch_state file which can be used to
/linux/fs/proc/
H A Dbase.c3245 seq_printf(m, "%d\n", task->patch_state); in proc_pid_patch_state()
/linux/Documentation/filesystems/
H A Dproc.rst48 3.11 /proc/<pid>/patch_state - Livepatch patch operation state
2207 3.11 /proc/<pid>/patch_state - Livepatch patch operation state