Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:walk_pte_range

Proto:static int walk_pte_range(pmd_t *pmd, unsigned long addr, unsigned long end, struct mm_walk *walk)

Type:int

Parameter:

TypeParameterName
pmd_t *pmd
unsigned longaddr
unsigned longend
struct mm_walk *walk
11  err = 0
12  ops = ops
15  pte = pte_offset_map_lock(mm, pmd, addr, & ptl)
16  cycle
17  err = pte_entry(pte, addr, addr + PAGE_SIZE, walk)
18  If err Then Break
20  addr += PAGE_SIZE
21  If addr == end Then Break
23  pte++
26  pte_unmap_unlock(pte, ptl)
27  Return err
Caller
NameDescribe
walk_pmd_range