函数逻辑报告 |
Source Code:kernel\module.c |
Create Date:2022-07-27 11:59:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:We try to place it in the list now to make sure it's unique before* we dedicate too many resources. In particular, temporary percpu* memory exhaustion.
函数原型:static int add_unformed_module(struct module *mod)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct module * | mod |
3692 | state等于 Still setting it up. |
3694 | again : |
3696 | old等于Search for module by name: must hold module_mutex (or preempt disabled* for read-only access). |
3697 | 如果(old != NULL)则 |
3698 | 如果state不等于 Normal state. 则 |
3703 | 如果err则转到:out_unlocked |
3705 | 转到:again |
3708 | 转到:out |
3710 | mod_update_bounds(mod) |
3711 | 添加RCU保护项 |
3712 | mod_tree_insert(mod) |
3713 | err等于0 |
3715 | out : |
3717 | out_unlocked : |
3718 | 返回:err |
名称 | 描述 |
---|---|
load_module | Allocate and load the module: note that size of section 0 is alwayszero, and we rely on this for optional sections. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |