函数逻辑报告 |
Source Code:mm\memory.c |
Create Date:2022-07-27 16:10:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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)
函数原型:static vm_fault_t handle_pte_fault(struct vm_fault *vmf)
返回类型:vm_fault_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct vm_fault * | vmf |
3984 | 否则 |
3994 | Pointer to pte entry matching* the 'address'. NULL if the page* table hasn't been allocated.等于pte_offset_map(Pointer to pmd entry matching* the 'address' , Faulting virtual address ) |
3995 | Value of PTE at the time of fault 等于Pointer to pte entry matching* the 'address'. NULL if the page* table hasn't been allocated. |
4006 | 如果pte_none(Value of PTE at the time of fault )则 |
4025 | Page table lock.* Protects pte page table if 'pte'* is not NULL, otherwise pmd.等于pte_lockptr(The address space we belong to. , Pointer to pmd entry matching* the 'address' ) |
4026 | 加自旋锁 |
4028 | 如果此条件成立可能性小(为编译器优化)(!pte_same( * Pointer to pte entry matching* the 'address'. NULL if the page* table hasn't been allocated., entry))则转到:unlock |
4030 | 如果FAULT_FLAG_xxx flags 按位与Fault was a write access 则 |
4033 | entry等于pte_mkdirty(entry) |
4035 | entry等于pte_mkyoung(entry) |
4039 | 否则 |
4049 | unlock : |
4050 | pte_unmap_unlock(Pointer to pte entry matching* the 'address'. NULL if the page* table hasn't been allocated., Page table lock.* Protects pte page table if 'pte'* is not NULL, otherwise pmd.) |
4051 | 返回:0 |
名称 | 描述 |
---|---|
__handle_mm_fault | 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(). |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |