函数逻辑报告 |
Source Code:mm\swapfile.c |
Create Date:2022-07-27 16:49:17 |
| Last Modify:2020-03-17 22:19:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:setup_swap_info
函数原型:static void setup_swap_info(struct swap_info_struct *p, int prio, unsigned char *swap_map, struct swap_cluster_info *cluster_info)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct swap_info_struct * | p | |
| int | prio | |
| unsigned char * | swap_map | |
| struct swap_cluster_info * | cluster_info |
| 2427 | 如果prio大于等于0则swap priority of this type 等于prio |
| 2429 | 否则swap priority of this type 等于least_priority先自减 |
| 2436 | for_each_node(i) |
| 2437 | 如果swap priority of this type 大于等于0则prio等于负swap priority of this type |
| 2439 | 否则 |
| 名称 | 描述 |
|---|---|
| enable_swap_info | |
| reinsert_swap_info |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |