函数逻辑报告

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

函数名称:pgprot_modify

函数原型:static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot)

返回类型:pgprot_t

参数:

类型参数名称
pgprot_toldprot
pgprot_tnewprot
631  preservebits等于pgprot_val(oldprot)按位与Set of bits not changed in pte_modify. The pte's* protection key is treated like _PAGE_RW, for* instance, and is *not* included in this mask since* pte_modify() does modify it.
632  addbits等于pgprot_val(newprot)
633  返回:__pgprot(preservebits | addbits)
调用者
名称描述
vm_pgprot_modify