函数逻辑报告 |
Source Code:mm\mprotect.c |
Create Date:2022-07-27 16:20:34 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:change_pmd_range
函数原型:static inline unsigned long change_pmd_range(struct vm_area_struct *vma, pud_t *pud, unsigned long addr, unsigned long end, pgprot_t newprot, int dirty_accountable, int prot_numa)
返回类型:unsigned long
参数:
类型 | 参数 | 名称 |
---|---|---|
struct vm_area_struct * | vma | |
pud_t * | pud | |
unsigned long | addr | |
unsigned long | end | |
pgprot_t | newprot | |
int | dirty_accountable | |
int | prot_numa |
195 | pages等于0 |
196 | nr_huge_updates等于0 |
199 | start等于0 |
201 | pmd等于pmd_offset(pud, addr) |
202 | 循环 |
205 | next等于pmd_addr_end(addr, end) |
215 | 如果非is_swap_pmd( * pmd)且非pmd_devmap( * pmd)且Used when setting automatic NUMA hinting protection where it is* critical that a numa hinting PMD is not confused with a bad PMD.则转到:next |
220 | 如果非start则 |
227 | 如果is_swap_pmd( * pmd)或pmd_trans_huge( * pmd)或pmd_devmap( * pmd)则 |
246 | this_pages等于change_pte_range(vma, pmd, addr, next, newprot, dirty_accountable, prot_numa) |
248 | pages加等于this_pages |
249 | next : |
250 | cond_resched() |
253 | 如果start则mmu_notifier_invalidate_range_end( & range) |
258 | 返回:pages |
名称 | 描述 |
---|---|
change_pud_range |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |