函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\livepatch\test_klp_state2.c Create Date:2022-07-27 07:36:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:free_loglevel_state

函数原型:static void free_loglevel_state(void)

返回类型:void

参数:

102  prev_loglevel_state等于klp_get_prev_state(CONSOLE_LOGLEVEL_STATE)
103  如果prev_loglevel_state
104  打印信息("%s: keeping space to store console_loglevel\n", __func__)
106  返回
109  loglevel_state等于klp_get_state( & patch, CONSOLE_LOGLEVEL_STATE)
110  如果非loglevel_state则返回
113  打印信息("%s: freeing space for the stored console_loglevel\n", __func__)
115  kfree(data)
调用者
名称描述
post_unpatch_callbackExecuted on object unpatching (ie, patch disablement)