函数逻辑报告 |
Source Code:mm\filemap.c |
Create Date:2022-07-27 15:25:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Synchronous readahead happens when we don't even find a page in the page* cache at all. We don't want to perform IO under the mmap sem, so if we have* to drop the mmap sem we return the file that was pinned in order for us to do* that
函数原型:static struct file *do_sync_mmap_readahead(struct vm_fault *vmf)
返回类型:struct file
参数:
类型 | 参数 | 名称 |
---|---|---|
struct vm_fault * | vmf |
2392 | 如果Flags, see mm.h. 按位与App will not benefit from clustered reads 则返回:fpin |
2394 | 如果非Maximum readahead window 则返回:fpin |
2397 | 如果Flags, see mm.h. 按位与App will access data sequentially 则 |
2398 | fpin等于maybe_unlock_mmap_for_io(vmf, fpin) |
2401 | 返回:fpin |
2412 | 如果Cache miss stat for mmap accesses 大于MMAP_LOTSAMISS则返回:fpin |
2418 | fpin等于maybe_unlock_mmap_for_io(vmf, fpin) |
2419 | where readahead started 等于max_t - return maximum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(long, 0, offset - Maximum readahead window / 2) |
2423 | 返回:fpin |
名称 | 描述 |
---|---|
filemap_fault | lemap_fault - read in file data for page fault handling*@vmf: struct vm_fault containing details of the fault* filemap_fault() is invoked via the vma operations vector for a* mapped memory region to read in file data during a page fault |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |