Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/livepatch/ !
Dtransition.c23 static int klp_target_state = KLP_UNDEFINED; variable
77 klp_target_state == KLP_PATCHED ? "patching" : "unpatching"); in klp_complete_transition()
79 if (klp_transition_patch->replace && klp_target_state == KLP_PATCHED) { in klp_complete_transition()
84 if (klp_target_state == KLP_UNPATCHED) { in klp_complete_transition()
105 if (klp_target_state == KLP_PATCHED) in klp_complete_transition()
124 if (klp_target_state == KLP_PATCHED) in klp_complete_transition()
126 else if (klp_target_state == KLP_UNPATCHED) in klp_complete_transition()
131 klp_target_state == KLP_PATCHED ? "patching" : "unpatching"); in klp_complete_transition()
133 klp_target_state = KLP_UNDEFINED; in klp_complete_transition()
145 if (WARN_ON_ONCE(klp_target_state != KLP_PATCHED)) in klp_cancel_transition()
[all …]