函数逻辑报告 |
Source Code:mm\swapfile.c |
Create Date:2022-07-27 16:49:05 |
Last Modify:2020-03-17 22:19:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:static sector_t map_swap_entry(swp_entry_t entry, struct block_device **bdev)
返回类型:sector_t
参数:
类型 | 参数 | 名称 |
---|---|---|
swp_entry_t | entry | |
struct block_device ** | bdev |
2263 | sis等于swp_swap_info(entry) |
2266 | offset等于Extract the `offset' field from a swp_entry_t. The swp_entry_t is in* arch-independent format |
2267 | se等于offset_to_swap_extent(sis, offset) |
2268 | 返回:start_block加offset减start_page |
名称 | 描述 |
---|---|
map_swap_page | Returns the page offset into bdev for the specified page's swap entry. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |