函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Find an exported symbol and return it, along with, (optional) crc and* (optional) module which owns it. Needs preempt disabled or module_mutex.

函数原型:const struct kernel_symbol *find_symbol(const char *name, struct module **owner, const s32 **crc, bool gplok, bool warn)

返回类型:struct kernel_symbol

参数:

类型参数名称
const char *name
struct module **owner
const s32 **crc
boolgplok
boolwarn
593  Input 等于name
594  gplok等于gplok
595  warn等于warn
597  如果Returns true as soon as fn returns true, otherwise false.
598  如果ownerowner等于 Output
600  如果crccrc等于crc
602  返回:sym
605  pr_debug("Failed to find symbol %s\n", name)
606  返回:NULL
调用者
名称描述
resolve_symbolResolve a symbol for this module. I.e. if we find one, record usage.
__symbol_get
verify_exported_symbolsEnsure that an exported symbol [global namespace] does not already exist* in the kernel or in some other module's exported symbol table.* You must hold the module_mutex.