Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:walk_page_vma

Proto:int walk_page_vma(struct vm_area_struct *vma, const struct mm_walk_ops *ops, void *private)

Type:int

Parameter:

TypeParameterName
struct vm_area_struct *vma
const struct mm_walk_ops *ops
void *private
375  struct mm_walk walk = {ops = ops, mm = The address space we belong to. , vma = vma, private = private, }
383  If Not mm Then Return -EINVAL
386  lockdep_assert_held( & mmap_sem)
388  err = 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.
389  If err > 0 Then Return 0
391  If err < 0 Then Return err
393  Return __walk_page_range(Our start address within vm_mm. , The first byte after our end addresswithin vm_mm. , & walk)