函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\pgtable.h Create Date:2022-07-27 06:58:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:pfn_pmd

函数原型:static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot)

返回类型:pmd_t

参数:

类型参数名称
unsigned longpage_nr
pgprot_tpgprot
575  pfn等于page_nr左移PAGE_SHIFT determines the page size
576  pfn异或等于Entries that were set to PROT_NONE are inverted
577  pfn与等于PHYSICAL_PMD_PAGE_MASK
578  返回:__pmd(pfn | check_pgprot(pgprot))
调用者
名称描述
pmd_mknotpresent
pfn_t_pmd