函数逻辑报告 |
Source Code:mm\memory.c |
Create Date:2022-07-27 16:07:05 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:copy_pmd_range
函数原型:static inline int copy_pmd_range(struct mm_struct *dst_mm, struct mm_struct *src_mm, pud_t *dst_pud, pud_t *src_pud, struct vm_area_struct *vma, unsigned long addr, unsigned long end)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mm_struct * | dst_mm | |
struct mm_struct * | src_mm | |
pud_t * | dst_pud | |
pud_t * | src_pud | |
struct vm_area_struct * | vma | |
unsigned long | addr | |
unsigned long | end |
875 | src_pmd等于pmd_offset(src_pud, addr) |
876 | 循环 |
877 | next等于pmd_addr_end(addr, end) |
878 | 如果is_swap_pmd( * src_pmd)或pmd_trans_huge( * src_pmd)或pmd_devmap( * src_pmd)则 |
881 | VM_BUG_ON_VMA(next - addr != HPAGE_PMD_SIZE, vma) |
886 | 如果非err则继续下一循环 |
890 | 如果pmd_none_or_clear_bad(src_pmd)则继续下一循环 |
896 | 返回:0 |
名称 | 描述 |
---|---|
copy_pud_range |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |