函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pgd_none_or_clear_bad

函数原型:static inline int pgd_none_or_clear_bad(pgd_t *pgd)

返回类型:int

参数:

类型参数名称
pgd_t *pgd
578  如果The "pgd_xxx()" functions here are trivial for a folded two-level* setup: the p4d is never bad, and a p4d always exists (as it's folded* into the pgd entry)则返回:1
580  如果此条件成立可能性小(为编译器优化)(pgd_bad( * pgd))则
581  If a p?d_bad entry is found while walking page tables, report* the error, before resetting entry to p?d_none. Usually (but* very seldom) called out from the p?d_none_or_clear_bad macros.
582  返回:1
584  返回:0
调用者
名称描述
mark_screen_rdonly
free_pgd_rangeThis function frees user-level page tables of a process.
copy_page_range
unmap_page_range
__apply_to_page_range
change_protection_range
get_old_pmd
walk_pgd_range
vunmap_page_range
unuse_vma