Function report |
Source Code:mm\hmm.c |
Create Date:2022-07-28 16:36:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static int hmm_vma_walk_hole_(unsigned long addr, unsigned long end, bool fault, bool write_fault, struct mm_walk *walk)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | addr | |
unsigned long | end | |
bool | fault | |
bool | write_fault | |
struct mm_walk * | walk |
97 | hmm_vma_walk = private |
103 | i = addr - start >> PAGE_SHIFT determines the page size |
105 | If write_fault && vma && Not (Flags, see mm.h. & VM_WRITE) Then Return -EPERM |
110 | If fault || write_fault Then |
113 | ret = hmm_vma_do_fault(walk, addr, write_fault, & pfns[i]) |
120 | Return If fault || write_fault Then -EBUSY Else 0 |
Name | Describe |
---|---|
hmm_vma_walk_hole | |
hmm_vma_handle_pmd | |
hmm_vma_handle_pte | |
hmm_vma_walk_hugetlb_entry |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |