函数逻辑报告 |
Source Code:mm\frontswap.c |
Create Date:2022-07-27 16:51:50 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:__frontswap_test
函数原型:bool __frontswap_test(struct swap_info_struct *sis, unsigned long offset)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct swap_info_struct * | sis | |
| unsigned long | offset |
| 218 | 如果swap in-use, one bit per page 则返回:st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from |
| 220 | 返回:false |
| 名称 | 描述 |
|---|---|
| __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. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |