Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/livepatch/
Dstate.c31 struct klp_state *klp_get_state(struct klp_patch *patch, unsigned long id) in klp_get_state()
33 struct klp_state *state; in klp_get_state()
64 struct klp_state *klp_get_prev_state(unsigned long id) in klp_get_prev_state()
67 struct klp_state *state, *last_state = NULL; in klp_get_prev_state()
88 struct klp_state *old_state) in klp_is_state_compatible()
90 struct klp_state *state; in klp_is_state_compatible()
109 struct klp_state *old_state; in klp_is_patch_compatible()
/linux-6.1.9/lib/livepatch/
Dtest_klp_state.c36 struct klp_state *loglevel_state; in allocate_loglevel_state()
53 struct klp_state *loglevel_state; in fix_console_loglevel()
66 struct klp_state *loglevel_state; in restore_console_loglevel()
78 struct klp_state *loglevel_state; in free_loglevel_state()
134 static struct klp_state states[] = {
Dtest_klp_state2.c36 struct klp_state *loglevel_state, *prev_loglevel_state; in allocate_loglevel_state()
60 struct klp_state *loglevel_state, *prev_loglevel_state; in fix_console_loglevel()
81 struct klp_state *loglevel_state, *prev_loglevel_state; in restore_console_loglevel()
100 struct klp_state *loglevel_state, *prev_loglevel_state; in free_loglevel_state()
163 static struct klp_state states[] = {
/linux-6.1.9/include/linux/
Dlivepatch.h137 struct klp_state { struct
161 struct klp_state *states; argument
229 struct klp_state *klp_get_state(struct klp_patch *patch, unsigned long id);
230 struct klp_state *klp_get_prev_state(unsigned long id);
/linux-6.1.9/Documentation/livepatch/
Dsystem-state.rst35 Each modified state is described by struct klp_state, see
42 struct klp_state:
57 - Get struct klp_state associated with the given livepatch
62 - Get struct klp_state associated with the given feature id and
Dapi.rst30 :identifiers: klp_patch klp_object klp_func klp_callbacks klp_state