函数逻辑报告 |
Source Code:mm\memory.c |
Create Date:2022-07-27 16:07:55 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:int vm_insert_page(struct vm_area_struct *vma, unsigned long addr, struct page *page)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct vm_area_struct * | vma | |
unsigned long | addr | |
struct page * | page |
1505 | 如果addr小于Our start address within vm_mm. 或addr大于等于The first byte after our end addresswithin vm_mm. 则返回:负EFAULT |
1507 | 如果非page_count(page)则返回:负EINVAL |
1509 | 如果非Flags, see mm.h. 按位与Can contain "struct page" and pure PFN pages 的值则 |
名称 | 描述 |
---|---|
__vm_map_pages | __vm_map_pages - maps range of kernel pages into user vma*@vma: user vma to map to*@pages: pointer to array of source kernel pages*@num: number of pages in page array*@offset: user's requested vm_pgoff |
remap_vmalloc_range_partial | map_vmalloc_range_partial - map vmalloc pages to userspace*@vma: vma to cover*@uaddr: target user address to start at*@kaddr: virtual address of vmalloc kernel memory*@size: size of map area* Returns: 0 for success, -Exxx on failure* This function checks |
kcov_mmap | |
vmf_insert_page |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |