函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\hmm.c Create Date:2022-07-27 18:12:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:hmm_vma_walk_hole

函数原型:static int hmm_vma_walk_hole(unsigned long addr, unsigned long end, struct mm_walk *walk)

返回类型:int

参数:

类型参数名称
unsigned longaddr
unsigned longend
struct mm_walk *walk
191  hmm_vma_walk等于private
192  range等于range
197  i等于addrstart右移PAGE_SHIFT determines the page size
198  npages等于endaddr右移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  返回: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
调用者
名称描述
hmm_vma_walk_pmd