Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\pgtable.h Create Date:2022-07-28 06:00:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:pfn_pud

Proto:static inline pud_t pfn_pud(unsigned long page_nr, pgprot_t pgprot)

Type:pud_t

Parameter:

TypeParameterName
unsigned longpage_nr
pgprot_tpgprot
583  pfn = page_nr << PAGE_SHIFT determines the page size
584  pfn ^= Entries that were set to PROT_NONE are inverted
585  pfn &= PHYSICAL_PUD_PAGE_MASK
586  Return __pud(pfn | check_pgprot(pgprot))