函数逻辑报告 |
Source Code:kernel\module.c |
Create Date:2022-07-27 11:58:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Resolve a symbol for this module. I.e. if we find one, record usage.
函数原型:static const struct kernel_symbol *resolve_symbol(struct module *mod, const struct load_info *info, const char *name, char ownername[])
返回类型:struct kernel_symbol
参数:
类型 | 参数 | 名称 |
---|---|---|
struct module * | mod | |
const struct load_info * | info | |
const char * | name | |
char | ownername |
1447 | sched_annotate_sleep() |
1449 | sym等于Find an exported symbol and return it, along with, (optional) crc and* (optional) module which owns it. Needs preempt disabled or module_mutex. |
1454 | 如果非check_version(info, name, mod, crc)则 |
1459 | err等于verify_namespace_is_imported(info, sym, mod) |
1460 | 如果err则 |
1465 | err等于ref_module(mod, owner) |
1466 | 如果err则 |
1471 | getname : |
1473 | strncpy(ownername, This is a #define so the string doesn't get put in every .o file (owner), MODULE_NAME_LEN) |
1474 | unlock : |
1476 | 返回:sym |
名称 | 描述 |
---|---|
resolve_symbol_wait |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |