Function report |
Source Code:mm\vmalloc.c |
Create Date:2022-07-28 15:00:44 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:int remap_vmalloc_range_partial(struct vm_area_struct *vma, unsigned long uaddr, void *kaddr, unsigned long size)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct vm_area_struct * | vma | |
unsigned long | uaddr | |
void * | kaddr | |
unsigned long | size |
3067 | If Not st whether an address (unsigned long or pointer) is aligned to PAGE_SIZE (uaddr) || Not st whether an address (unsigned long or pointer) is aligned to PAGE_SIZE (kaddr) Then Return -EINVAL |
3070 | area = d_vm_area - find a continuous kernel virtual area*@addr: base address* Search for the kernel VM area starting at @addr, and return it |
3074 | If Not (flags & (suitable for remap_vmalloc_range | dma_alloc_coherent )) Then Return -EINVAL |
3077 | If kaddr + size > addr + Lowlevel-APIs (not for driver use!) Then Return -EINVAL |
3080 | Do |
3095 | Return 0 |
Name | Describe |
---|---|
remap_vmalloc_range | map_vmalloc_range - map vmalloc pages to userspace*@vma: vma to cover (map full range of vma)*@addr: vmalloc memory*@pgoff: number of pages into addr before first page to map* Returns: 0 for success, -Exxx on failure* This function checks that addr is a |
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 |