函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mprotect.c Create Date:2022-07-27 16:20:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:prot_none_hugetlb_entry

函数原型:static int prot_none_hugetlb_entry(pte_t *pte, unsigned long hmask, unsigned long addr, unsigned long next, struct mm_walk *walk)

返回类型:int

参数:

类型参数名称
pte_t *pte
unsigned longhmask
unsigned longaddr
unsigned longnext
struct mm_walk *walk
356  返回:如果pfn_modify_allowed(pte_pfn( * pte), * (pgprot_t * )(private))则0否则负EACCES