Function report |
Source Code:mm\memory.c |
Create Date:2022-07-28 14:40:59 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:int vm_insert_page(struct vm_area_struct *vma, unsigned long addr, struct page *page)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct vm_area_struct * | vma | |
unsigned long | addr | |
struct page * | page |
1505 | If addr < Our start address within vm_mm. || addr >= The first byte after our end addresswithin vm_mm. Then Return -EFAULT |
1507 | If Not page_count(page) Then Return -EINVAL |
1509 | If Not (Flags, see mm.h. & Can contain "struct page" and pure PFN pages ) Then |
Name | Describe |
---|---|
__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 |
vmf_insert_page | |
kcov_mmap |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |