Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/livepatch/
Dtransition.c133 task->patch_state = KLP_UNDEFINED; in klp_complete_transition()
140 task->patch_state = KLP_UNDEFINED; in klp_complete_transition()
205 task->patch_state = READ_ONCE(klp_target_state); in klp_update_patch_state()
305 task->patch_state = klp_target_state; in klp_check_and_switch_task()
320 if (task->patch_state == klp_target_state) in klp_try_switch_task()
487 } else if (task->patch_state != klp_target_state) { in klp_try_complete_transition()
490 task->patch_state = klp_target_state; in klp_try_complete_transition()
548 if (task->patch_state != klp_target_state) in klp_start_transition()
559 if (task->patch_state != klp_target_state) in klp_start_transition()
600 WARN_ON_ONCE(task->patch_state != KLP_UNDEFINED); in klp_init_transition()
[all …]
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_UNDEFINED); in klp_ftrace_handler()
100 if (patch_state == KLP_UNPATCHED) { in klp_ftrace_handler()
/linux-6.6.21/init/
Dinit_task.c205 .patch_state = KLP_UNDEFINED,
/linux-6.6.21/include/linux/
Dsched.h1479 int patch_state; member
/linux-6.6.21/Documentation/livepatch/
Dlivepatch.rst142 There's also a /proc/<pid>/patch_state file which can be used to
/linux-6.6.21/fs/proc/
Dbase.c3183 seq_printf(m, "%d\n", task->patch_state); in proc_pid_patch_state()
/linux-6.6.21/Documentation/filesystems/
Dproc.rst48 3.11 /proc/<pid>/patch_state - Livepatch patch operation state
2112 3.11 /proc/<pid>/patch_state - Livepatch patch operation state