函数逻辑报告 | 
Source Code:mm\swapfile.c | 
Create Date:2022-07-27 16:48:10 | 
| Last Modify:2020-03-17 22:19:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:swap_swapcount
函数原型:static int swap_swapcount(struct swap_info_struct *si, swp_entry_t entry)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct swap_info_struct * | si | |
| swp_entry_t | entry | 
| 1464 | count等于0 | 
| 1465 | offset等于Extract the `offset' field from a swp_entry_t. The swp_entry_t is in* arch-independent format | 
| 1468 | ci等于Determine the locking method in use for this device. Return* swap_cluster_info if SSD-style cluster-based locking is in place. | 
| 1470 | unlock_cluster_or_swap_info(si, ci) | 
| 1471 | 返回:count | 
| 名称 | 描述 | 
|---|---|
| __swp_swapcount | How many references to @entry are currently swapped out?* This does not give an exact answer when swap count is continued,* but does include the high COUNT_CONTINUED flag to allow for that. | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |