函数逻辑报告 |
Source Code:mm\memory.c |
Create Date:2022-07-27 16:08:15 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:maps a range of physical memory into the requested pages. the old* mappings are removed. any references to nonexistent pages results* in null mappings (currently treated as "copy-on-access")
函数原型:static int remap_pte_range(struct mm_struct *mm, pmd_t *pmd, unsigned long addr, unsigned long end, unsigned long pfn, pgprot_t prot)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mm_struct * | mm | |
pmd_t * | pmd | |
unsigned long | addr | |
unsigned long | end | |
unsigned long | pfn | |
pgprot_t | prot |
1815 | err等于0 |
1821 | 循环 |
1823 | 如果非pfn_modify_allowed(pfn, prot)则 |
1827 | set_pte_at(mm, addr, pte, pte_mkspecial(pfn_pte(pfn, prot))) |
1828 | pfn自加 |
1830 | arch_leave_lazy_mmu_mode() |
1831 | pte_unmap_unlock(pte - 1, ptl) |
1832 | 返回:err |
名称 | 描述 |
---|---|
remap_pmd_range |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |