Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__walk_page_range

Proto:static int __walk_page_range(unsigned long start, unsigned long end, struct mm_walk *walk)

Type:int

Parameter:

TypeParameterName
unsigned longstart
unsigned longend
struct mm_walk *walk
255  err = 0
256  vma = vma
257  ops = ops
259  If vma && pre_vma Then
260  err = pre_vma(start, end, walk)
261  If err Then Return err
265  If vma && is_vm_hugetlb_page(vma) Then
266  If hugetlb_entry Then err = walk_hugetlb_range(start, end, walk)
268  Else err = walk_pgd_range(start, end, walk)
271  If vma && post_vma Then post_vma(walk)
274  Return err
Caller
NameDescribe
walk_page_rangewalk_page_range - walk page table with caller specific callbacks*@mm: mm_struct representing the target process of page table walk*@start: start address of the virtual address range*@end: end address of the virtual address range*@ops: operation to call
walk_page_vma
walk_page_mappingwalk_page_mapping - walk all memory areas mapped into a struct address_space