Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\pagewalk.c Create Date:2022-07-28 14:54:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:walk_p4d_range

Proto:static int walk_p4d_range(pgd_t *pgd, unsigned long addr, unsigned long end, struct mm_walk *walk)

Type:int

Parameter:

TypeParameterName
pgd_t *pgd
unsigned longaddr
unsigned longend
struct mm_walk *walk
126  ops = ops
127  err = 0
129  p4d = p4d_offset(pgd, addr)
130  Do
131  next = p4d_addr_end(addr, end)
132  If p4d_none_or_clear_bad(p4d) Then
133  If pte_hole Then err = pte_hole(addr, next, walk)
135  If err Then Break
137  Continue
139  If pmd_entry || pte_entry Then err = walk_pud_range(p4d, addr, next, walk)
141  If err Then Break
143  When p4d++, addr = next , addr != end cycle
145  Return err
Caller
NameDescribe
walk_pgd_range