函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\module.h Create Date:2022-07-27 06:49:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:is_livepatch_module

函数原型:static inline bool is_livepatch_module(struct module *mod)

返回类型:bool

参数:

类型参数名称
struct module *mod
678  返回: Is this a livepatch module?
调用者
名称描述
klp_enable_patchklp_enable_patch() - enable the livepatch*@patch: patch to be enabled* Initializes the data structure associated with the patch, creates the sysfs* interface, performs the needed symbol lookups and code relocations,
free_moduleFree a module, remove from lists, etc.
load_moduleAllocate and load the module: note that size of section 0 is alwayszero, and we rely on this for optional sections.