Searched refs:loglevel_state (Results 1 – 2 of 2) sorted by relevance
36 struct klp_state *loglevel_state; in allocate_loglevel_state() local38 loglevel_state = klp_get_state(&patch, CONSOLE_LOGLEVEL_STATE); in allocate_loglevel_state()39 if (!loglevel_state) in allocate_loglevel_state()42 loglevel_state->data = kzalloc(sizeof(console_loglevel), GFP_KERNEL); in allocate_loglevel_state()43 if (!loglevel_state->data) in allocate_loglevel_state()53 struct klp_state *loglevel_state; in fix_console_loglevel() local55 loglevel_state = klp_get_state(&patch, CONSOLE_LOGLEVEL_STATE); in fix_console_loglevel()56 if (!loglevel_state) in fix_console_loglevel()60 *(int *)loglevel_state->data = console_loglevel; in fix_console_loglevel()66 struct klp_state *loglevel_state; in restore_console_loglevel() local[all …]
36 struct klp_state *loglevel_state, *prev_loglevel_state; in allocate_loglevel_state() local45 loglevel_state = klp_get_state(&patch, CONSOLE_LOGLEVEL_STATE); in allocate_loglevel_state()46 if (!loglevel_state) in allocate_loglevel_state()49 loglevel_state->data = kzalloc(sizeof(console_loglevel), GFP_KERNEL); in allocate_loglevel_state()50 if (!loglevel_state->data) in allocate_loglevel_state()60 struct klp_state *loglevel_state, *prev_loglevel_state; in fix_console_loglevel() local62 loglevel_state = klp_get_state(&patch, CONSOLE_LOGLEVEL_STATE); in fix_console_loglevel()63 if (!loglevel_state) in fix_console_loglevel()70 loglevel_state->data = prev_loglevel_state->data; in fix_console_loglevel()75 *(int *)loglevel_state->data = console_loglevel; in fix_console_loglevel()[all …]