Function report |
Source Code:mm\pagewalk.c |
Create Date:2022-07-28 14:54:41 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:walk_pud_range
Proto:static int walk_pud_range(p4d_t *p4d, unsigned long addr, unsigned long end, struct mm_walk *walk)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| p4d_t * | p4d | |
| unsigned long | addr | |
| unsigned long | end | |
| struct mm_walk * | walk |
| 82 | err = 0 |
| 84 | pud = pud_offset(p4d, addr) |
| 85 | Do |
| 86 | again : |
| 87 | next = pud_addr_end(addr, end) |
| 96 | If pud_entry Then |
| 97 | ptl = pud_trans_huge_lock(pud, vma) |
| 99 | If ptl Then |
| 108 | split_huge_pud(vma, pud, addr) |
| 109 | If The "pud_xxx()" functions here are trivial for a folded two-level* setup: the pmd is never bad, and a pmd always exists (as it's folded* into the pud entry) Then Go to again |
| 114 | If err Then Break |
| 118 | Return err |
| Name | Describe |
|---|---|
| walk_p4d_range |
| 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 |