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:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Mask out unsupported bits in a present pgprot. Non-present pgprots* can use those bits for other purposes, so leave them be.

Proto:static inline pgprotval_t massage_pgprot(pgprot_t pgprot)

Type:pgprotval_t

Parameter:

TypeParameterName
pgprot_tpgprot
540  protval = pgprot_val(pgprot)
542  If protval & _PAGE_PRESENT Then protval &= __supported_pte_mask
545  Return protval