函数逻辑报告 |
Source Code:mm\swapfile.c |
Create Date:2022-07-27 16:50:38 |
| Last Modify:2020-03-17 22:19:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:swp_swap_info
函数原型:struct swap_info_struct *swp_swap_info(swp_entry_t entry)
返回类型:struct swap_info_struct
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| swp_entry_t | entry |
| 3489 | 返回:swap_type_to_swap_info(Extract the `type' field from a swp_entry_t. The swp_entry_t is in* arch-independent format) |
| 名称 | 描述 |
|---|---|
| total_swapcache_pages | |
| swap_cluster_readahead | swap_cluster_readahead - swap in pages in hope we need them soon*@entry: swap entry of this memory*@gfp_mask: memory allocation flags*@vmf: fault information* Returns the struct page for entry and addr, after queueing swapin. |
| __swap_info_get | |
| get_swap_device | Check whether swap entry is valid in the swap device |
| map_swap_entry | Use this swapdev's extent info to locate the (PAGE_SIZE) block which* corresponds to page offset for the specified swap entry.* Note that the type of this function is sector_t, but it returns page offset* into the bdev, not sector offset. |
| page_swap_info |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |