函数逻辑报告 |
Source Code:mm\memory.c |
Create Date:2022-07-27 16:07:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:This is the old fallback for page remapping.* For historical reasons, it only allows reserved pages. Only* old drivers should use this, and they needed to mark their* pages reserved for the old functions anyway.
函数原型:static int insert_page(struct vm_area_struct *vma, unsigned long addr, struct page *page, pgprot_t prot)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct vm_area_struct * | vma | |
unsigned long | addr | |
struct page * | page | |
pgprot_t | prot |
1452 | flush_dcache_page(page) |
1453 | pte等于get_locked_pte(mm, addr, & ptl) |
1457 | 如果非pte_none( * pte)则转到:out_unlock |
1466 | retval等于0 |
1467 | out_unlock : |
1468 | pte_unmap_unlock(pte, ptl) |
1469 | out : |
1470 | 返回:retval |
名称 | 描述 |
---|---|
vm_insert_page | vm_insert_page - insert single page into user vma*@vma: user vma to map to*@addr: target user address of this page*@page: source kernel page* This allows drivers to insert individual pages they've allocated* into a user vma. |
__vm_insert_mixed |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |