函数逻辑报告 |
Source Code:mm\memory.c |
Create Date:2022-07-27 16:10:32 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:We enter with non-exclusive mmap_sem (to exclude vma changes,* but allow concurrent faults)
函数原型:static vm_fault_t do_fault(struct vm_fault *vmf)
返回类型:vm_fault_t
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct vm_fault * | vmf |
| 3751 | vma等于Target VMA |
| 3758 | 如果非fault则 |
| 3763 | 如果此条件成立可能性小(为编译器优化)(!pmd_present( * Pointer to pmd entry matching* the 'address' ))则ret等于VM_FAULT_SIGBUS |
| 3765 | 否则 |
| 3777 | 如果此条件成立可能性小(为编译器优化)(pte_none( * Pointer to pte entry matching* the 'address'. NULL if the page* table hasn't been allocated.))则ret等于VM_FAULT_SIGBUS |
| 3779 | 否则ret等于VM_FAULT_NOPAGE |
| 3784 | 否则如果非FAULT_FLAG_xxx flags 按位与Fault was a write access 的值则ret等于do_read_fault(vmf) |
| 3786 | 否则如果非Flags, see mm.h. 按位与VM_SHARED的值则ret等于do_cow_fault(vmf) |
| 3788 | 否则ret等于do_shared_fault(vmf) |
| 3796 | 返回:ret |
| 名称 | 描述 |
|---|---|
| handle_pte_fault | These routines also need to handle stuff like marking pages dirty* and/or accessed for architectures that don't do it in hardware (most* RISC architectures) |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |