Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:hmm_vma_walk_hole

Proto:static int hmm_vma_walk_hole(unsigned long addr, unsigned long end, struct mm_walk *walk)

Type:int

Parameter:

TypeParameterName
unsigned longaddr
unsigned longend
struct mm_walk *walk
191  hmm_vma_walk = private
192  range = range
197  i = addr - start >> PAGE_SHIFT determines the page size
198  npages = end - addr >> PAGE_SHIFT determines the page size
199  pfns = pfns[i]
200  hmm_range_need_fault(hmm_vma_walk, pfns, npages, 0, & fault, & write_fault)
202  Return hmm_vma_walk_hole_() - handle a range lacking valid pmd or pte(s)*@addr: range virtual start address (inclusive)*@end: range virtual end address (exclusive)*@fault: should we fault or not ?*@write_fault: write fault ?*@walk: mm_walk structure* Return: 0
Caller
NameDescribe
hmm_vma_walk_pmd