函数逻辑报告 | 
Source Code:mm\zswap.c | 
Create Date:2022-07-27 16:53:32 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:zswap_get_swap_cache_page* This is an adaption of read_swap_cache_async()* This function tries to find a page with the given swap entry* in the swapper_space address space (the swap cache). If the page* is found, it is returned in retpage
函数原型:static int zswap_get_swap_cache_page(swp_entry_t entry, struct page **retpage)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| swp_entry_t | entry | |
| struct page ** | retpage | 
| 819 | retpage等于__read_swap_cache_async(entry, GFP_KERNEL, NULL, 0, & page_was_allocated) | 
| 821 | 如果page_was_allocated则返回:ZSWAP_SWAPCACHE_NEW | 
| 823 | 如果非retpage则返回:ZSWAP_SWAPCACHE_FAIL | 
| 825 | 返回:ZSWAP_SWAPCACHE_EXIST | 
| 名称 | 描述 | 
|---|---|
| zswap_writeback_entry | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |