函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:This is called in the error path, to cancel a transition before it has* started, i.e. klp_init_transition() has been called but* klp_start_transition() hasn't. If the transition *has* been started,* klp_reverse_transition() should be used instead.

函数原型:void klp_cancel_transition(void)

返回类型:void

参数:

146  如果WARN_ON_ONCE(klp_target_state != KLP_PATCHED)则返回
149  pr_debug("'%s': canceling patching transition, going to unpatch\n", Unique handle for this module )
152  klp_target_state等于KLP_UNPATCHED
153  The transition to the target patch state is complete. Clean up the data* structures.
调用者
名称描述
__klp_enable_patch