函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pfn_in_hpage

函数原型:static inline bool pfn_in_hpage(struct page *hpage, unsigned long pfn)

返回类型:bool

参数:

类型参数名称
struct page *hpage
unsigned longpfn
57  hpage_pfn等于page_to_pfn(hpage)
60  返回:pfn大于等于hpage_pfnpfnhpage_pfn小于hpage_nr_pages(hpage)
调用者
名称描述
check_pteheck_pte - check if @pvmw->page is mapped at the @pvmw->pte* page_vma_mapped_walk() found a place where @pvmw->page is *potentially** mapped