函数逻辑报告 |
Source Code:mm\swap_state.c |
Create Date:2022-07-27 16:45:06 |
Last Modify:2020-03-17 22:02:06 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Locate a page of swap in physical memory, reserving swap cache space* and reading the disk if it is not already cached.* A failure return means that either the page allocation failed or that* the swap entry is no longer in use.
函数原型:struct page *read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask, struct vm_area_struct *vma, unsigned long addr, bool do_poll)
返回类型:struct page
参数:
类型 | 参数 | 名称 |
---|---|---|
swp_entry_t | entry | |
gfp_t | gfp_mask | |
struct vm_area_struct * | vma | |
unsigned long | addr | |
bool | do_poll |
452 | retpage等于__read_swap_cache_async(entry, gfp_mask, vma, addr, & page_was_allocated) |
458 | 返回:retpage |
名称 | 描述 |
---|---|
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_vma_readahead | swap_vma_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.* Primitive swap readahead code |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |