函数逻辑报告 |
Source Code:kernel\jump_label.c |
Create Date:2022-07-27 15:10:46 |
| Last Modify:2020-03-17 20:59:06 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:jump_label_add_module
函数原型:static int jump_label_add_module(struct module *mod)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct module * | mod |
| 609 | iter_start等于jump_entries |
| 612 | struct static_key * key = NULL |
| 616 | 如果iter_start恒等于iter_stop则返回:0 |
| 627 | iterk等于jump_entry_key(iter) |
| 632 | 如果within_module((unsignedlong)key, mod)则 |
| 639 | 如果非static_key_linked(key)则 |
| 642 | 如果非jlm2则 |
| 646 | 禁止抢占() |
| 647 | mod等于__module_address - get the module which contains an address.*@addr: the address.* Must be called with preempt disabled or module mutex held so that* module doesn't get freed during this. |
| 648 | 禁用抢占和中断() |
| 649 | entries等于static_key_entries(key) |
| 650 | next = NULL |
| 652 | static_key_set_linked(key) |
| 656 | next等于static_key_mod(key) |
| 658 | static_key_set_linked(key) |
| 661 | 如果jump_label_type(iter)不等于jump_label_init_type(iter)则__jump_label_update(key, iter, iter_stop, true) |
| 665 | 返回:0 |
| 名称 | 描述 |
|---|---|
| jump_label_module_notify |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |