函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:hmm_vma_walk_test

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

返回类型:int

参数:

类型参数名称
unsigned longstart
unsigned longend
struct mm_walk *walk
592  hmm_vma_walk等于private
593  range等于range
594  vma等于vma
600  如果Flags, see mm.h. 按位与Memory mapped I/O or similar 按位或Page-ranges managed without "struct page", just pure PFN 按位或Can contain "struct page" and pure PFN pages 的值则返回:负EFAULT
608  如果非Flags, see mm.h. 按位与currently active flags 的值则
615  hmm_range_need_fault(hmm_vma_walk, pfns + ((start - start) >> PAGE_SHIFT determines the page size ), (end - start) >> PAGE_SHIFT determines the page size , 0, & fault, & write_fault)
619  如果faultwrite_fault则返回:负EFAULT
622  hmm_pfns_fill(start, end, range, corresponding CPU page table entry is pte_none())
623  last等于end
626  返回:1
629  返回:0