Function report |
Source Code:mm\zswap.c |
Create Date:2022-07-28 15:22:58 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static int zswap_get_swap_cache_page(swp_entry_t entry, struct page **retpage)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
swp_entry_t | entry | |
struct page ** | retpage |
819 | retpage = __read_swap_cache_async(entry, GFP_KERNEL, NULL, 0, & page_was_allocated) |
821 | If page_was_allocated Then Return ZSWAP_SWAPCACHE_NEW |
823 | If Not retpage Then Return ZSWAP_SWAPCACHE_FAIL |
825 | Return ZSWAP_SWAPCACHE_EXIST |
Name | Describe |
---|---|
zswap_writeback_entry |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |