函数逻辑报告 |
Source Code:mm\memory.c |
Create Date:2022-07-27 16:07:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:zap_pud_range
函数原型:static inline unsigned long zap_pud_range(struct mmu_gather *tlb, struct vm_area_struct *vma, p4d_t *p4d, unsigned long addr, unsigned long end, struct zap_details *details)
返回类型:unsigned long
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mmu_gather * | tlb | |
struct vm_area_struct * | vma | |
p4d_t * | p4d | |
unsigned long | addr | |
unsigned long | end | |
struct zap_details * | details |
1200 | pud等于pud_offset(p4d, addr) |
1201 | 循环 |
1202 | next等于pud_addr_end(addr, end) |
1203 | 如果pud_trans_huge( * pud)或pud_devmap( * pud)则 |
1204 | 如果next减addr不等于HPAGE_PUD_SIZE则 |
1206 | split_huge_pud(vma, pud, addr) |
1211 | 如果pud_none_or_clear_bad(pud)则继续下一循环 |
1214 | next : |
1215 | cond_resched() |
1218 | 返回:addr |
名称 | 描述 |
---|---|
zap_p4d_range |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |