Home
last modified time | relevance | path

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

/linux-5.19.10/lib/livepatch/
Dtest_klp_state2.c36 struct klp_state *loglevel_state, *prev_loglevel_state; in allocate_loglevel_state() local
38 prev_loglevel_state = klp_get_prev_state(CONSOLE_LOGLEVEL_STATE); in allocate_loglevel_state()
39 if (prev_loglevel_state) { in allocate_loglevel_state()
60 struct klp_state *loglevel_state, *prev_loglevel_state; in fix_console_loglevel() local
66 prev_loglevel_state = klp_get_prev_state(CONSOLE_LOGLEVEL_STATE); in fix_console_loglevel()
67 if (prev_loglevel_state) { in fix_console_loglevel()
70 loglevel_state->data = prev_loglevel_state->data; in fix_console_loglevel()
81 struct klp_state *loglevel_state, *prev_loglevel_state; in restore_console_loglevel() local
83 prev_loglevel_state = klp_get_prev_state(CONSOLE_LOGLEVEL_STATE); in restore_console_loglevel()
84 if (prev_loglevel_state) { in restore_console_loglevel()
[all …]