Function report |
Source Code:mm\frontswap.c |
Create Date:2022-07-28 15:21:20 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__frontswap_test
Proto:bool __frontswap_test(struct swap_info_struct *sis, unsigned long offset)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct swap_info_struct * | sis | |
unsigned long | offset |
218 | If swap in-use, one bit per page Then Return st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from |
220 | Return false |
Name | Describe |
---|---|
__frontswap_store | "Store" data from a page to frontswap and associate it with the page's* swaptype and offset |
__frontswap_load | "Get" data from frontswap associated with swaptype and offset that were* specified when the data was put to frontswap and use it to fill the* specified page with data. Page must be locked and in the swap cache. |
__frontswap_invalidate_page | Invalidate any data from frontswap associated with the specified swaptype* and offset so that a subsequent "get" will fail. |
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 |