Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/livepatch/
Dtransition.c24 static int klp_target_state = KLP_UNDEFINED; variable
78 klp_target_state == KLP_PATCHED ? "patching" : "unpatching"); in klp_complete_transition()
80 if (klp_transition_patch->replace && klp_target_state == KLP_PATCHED) { in klp_complete_transition()
85 if (klp_target_state == KLP_UNPATCHED) { in klp_complete_transition()
106 if (klp_target_state == KLP_PATCHED) in klp_complete_transition()
125 if (klp_target_state == KLP_PATCHED) in klp_complete_transition()
127 else if (klp_target_state == KLP_UNPATCHED) in klp_complete_transition()
132 klp_target_state == KLP_PATCHED ? "patching" : "unpatching"); in klp_complete_transition()
134 klp_target_state = KLP_UNDEFINED; in klp_complete_transition()
146 if (WARN_ON_ONCE(klp_target_state != KLP_PATCHED)) in klp_cancel_transition()
[all …]