函数逻辑报告 |
Source Code:mm\hmm.c |
Create Date:2022-07-27 18:12:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:hmm_vma_do_fault
函数原型:static int hmm_vma_do_fault(struct mm_walk *walk, unsigned long addr, bool write_fault, uint64_t *pfn)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mm_walk * | walk | |
unsigned long | addr | |
bool | write_fault | |
uint64_t * | pfn |
40 | hmm_vma_walk等于private |
48 | 如果flags按位与Retry fault if non-blocking, drop mmap_sem and return -EAGAIN in that case.则flags或等于Retry fault if blocking |
53 | ret等于By the time we get here, we already hold the mm semaphore* The mmap_sem may have been released depending on flags and our* return value. See filemap_fault() and __lock_page_or_retry(). |
54 | 如果ret按位与VM_FAULT_RETRY则 |
56 | 返回:负EAGAIN |
58 | 如果ret按位与VM_FAULT_ERROR则转到:err |
61 | 返回:负EBUSY |
63 | err : |
65 | 返回:负EFAULT |
名称 | 描述 |
---|---|
hmm_vma_walk_hole_ | hmm_vma_walk_hole_() - handle a range lacking valid pmd or pte(s)*@addr: range virtual start address (inclusive)*@end: range virtual end address (exclusive)*@fault: should we fault or not ?*@write_fault: write fault ?*@walk: mm_walk structure* Return: 0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |