函数逻辑报告 |
Source Code:arch\x86\include\asm\pgtable.h |
Create Date:2022-07-27 06:58:56 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:'pteval' can come from a PTE, PMD or PUD. We only check* _PAGE_PRESENT, _PAGE_USER, and _PAGE_RW in here which are the* same value on all 3 types.
函数原型:static inline bool __pte_access_permitted(unsigned long pteval, bool write)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | pteval | |
bool | write |
1429 | need_pte_bits等于_PAGE_PRESENT按位或_PAGE_USER |
1431 | 如果write则need_pte_bits或等于_PAGE_RW |
1434 | 如果pteval按位与need_pte_bits的值不等于need_pte_bits则返回:0 |
1437 | 返回:__pkru_allows_pkey(pte_flags_pkey(pteval), write) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |