函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Remove parts of patches that touch a given kernel module. The list of* patches processed might be limited. When limit is NULL, all patches* will be handled.

函数原型:static void klp_cleanup_module_patches_limited(struct module *mod, struct klp_patch *limit)

返回类型:void

参数:

类型参数名称
struct module *mod
struct klp_patch *limit
1110  klp_for_each_patch(patch)
1111  如果patch恒等于limit退出
1115  如果非klp_is_module(obj)或字符串比较则继续下一循环
1121  打印注释信息("reverting patch '%s' on unloading module '%s'\n", Unique handle for this module , Unique handle for this module )
1128  退出
调用者
名称描述
klp_module_coming
klp_module_going