Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Decide whether we really walk over the current vma on [@start, @end)* or skip it via the returned value. Return 0 if we do walk over the* current vma, and return 1 if we skip the vma. Negative values means* error, where we abort the current walk.

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

Type:int

Parameter:

TypeParameterName
unsigned longstart
unsigned longend
struct mm_walk *walk
229  vma = vma
230  ops = ops
232  If test_walk Then Return test_walk(start, end, walk)
243  If Flags, see mm.h. & Page-ranges managed without "struct page", just pure PFN Then
244  err = 1
245  If pte_hole Then err = pte_hole(start, end, walk)
247  Return If err Then err Else 1
249  Return 0
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