Home
last modified time | relevance | path

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

/linux/kernel/livepatch/
H A Dstate.c31 struct klp_state *klp_get_state(struct klp_patch *patch, unsigned long id) in klp_get_state() function
42 EXPORT_SYMBOL_GPL(klp_get_state);
76 state = klp_get_state(patch, id); in klp_get_prev_state()
92 state = klp_get_state(patch, old_state->id); in klp_is_state_compatible()
/linux/tools/testing/selftests/livepatch/test_modules/
H A Dtest_klp_state.c38 loglevel_state = klp_get_state(&patch, CONSOLE_LOGLEVEL_STATE); in allocate_loglevel_state()
55 loglevel_state = klp_get_state(&patch, CONSOLE_LOGLEVEL_STATE); in fix_console_loglevel()
68 loglevel_state = klp_get_state(&patch, CONSOLE_LOGLEVEL_STATE); in restore_console_loglevel()
80 loglevel_state = klp_get_state(&patch, CONSOLE_LOGLEVEL_STATE); in free_loglevel_state()
H A Dtest_klp_state2.c45 loglevel_state = klp_get_state(&patch, CONSOLE_LOGLEVEL_STATE); in allocate_loglevel_state()
62 loglevel_state = klp_get_state(&patch, CONSOLE_LOGLEVEL_STATE); in fix_console_loglevel()
90 loglevel_state = klp_get_state(&patch, CONSOLE_LOGLEVEL_STATE); in restore_console_loglevel()
109 loglevel_state = klp_get_state(&patch, CONSOLE_LOGLEVEL_STATE); in free_loglevel_state()
/linux/include/linux/
H A Dlivepatch.h230 struct klp_state *klp_get_state(struct klp_patch *patch, unsigned long id);
/linux/Documentation/livepatch/
H A Dsystem-state.rst55 - klp_get_state()