函数逻辑报告 |
Source Code:mm\filemap.c |
Create Date:2022-07-27 15:25:19 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:lock_page_maybe_drop_mmap - lock the page, possibly dropping the mmap_sem*@vmf - the vm_fault for this fault.*@page - the page to lock.*@fpin - the pointer to the file we may pin (or is already pinned).
函数原型:static int lock_page_maybe_drop_mmap(struct vm_fault *vmf, struct page *page, struct file **fpin)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct vm_fault * | vmf | |
| struct page * | page | |
| struct file ** | fpin |
| 2346 | 如果Return true if the page was successfully locked则返回:1 |
| 2354 | 如果FAULT_FLAG_xxx flags 按位与Don't drop mmap_sem and wait when retrying 则返回:0 |
| 2357 | fpin等于maybe_unlock_mmap_for_io(vmf, * fpin) |
| 2359 | 如果__lock_page_killable(page)则 |
| 2366 | 如果( * fpin == NULL)则lease a read lock |
| 2368 | 返回:0 |
| 2370 | 否则__lock_page - get a lock on the page, assuming we need to sleep to get it*@__page: the page to lock |
| 2372 | 返回:1 |
| 名称 | 描述 |
|---|---|
| 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 插件可实现:逻辑报告 代码生成和批量转换代码 |