Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pfn_in_hpage

Proto:static inline bool pfn_in_hpage(struct page *hpage, unsigned long pfn)

Type:bool

Parameter:

TypeParameterName
struct page *hpage
unsigned longpfn
57  hpage_pfn = page_to_pfn(hpage)
60  Return pfn >= hpage_pfn && pfn - hpage_pfn < hpage_nr_pages(hpage)
Caller
NameDescribe
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