函数逻辑报告 |
Source Code:mm\swapfile.c |
Create Date:2022-07-27 16:46:34 |
Last Modify:2020-03-17 22:19:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:swap_count
函数原型:static inline unsigned char swap_count(unsigned char ent)
返回类型:unsigned char
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned char | ent |
113 | 返回:ent按位与Flag page is cached, in first swap_map 的反 |
名称 | 描述 |
---|---|
page_swapcount | How many references to page 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. |
__swap_count | |
swap_swapcount | |
swp_swapcount | How many references to @entry are currently swapped out?* This considers COUNT_CONTINUED so it returns exact answer. |
swap_page_trans_huge_swapped | |
page_trans_huge_map_swapcount | |
find_next_to_unuse | Scan swap_map (or frontswap_map if frontswap parameter is true)* from current position to next entry still in use. Return 0* if there are no inuse entries after prev till end of the map. |
__swap_duplicate | Verify that a swap entry is valid and increment its swap map count.* Returns error code in following case.* - success -> 0* - swp_entry is invalid -> EINVAL* - swp_entry is migration entry -> EINVAL |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |