函数逻辑报告 |
Source Code:mm\vmalloc.c |
Create Date:2022-07-27 16:30:35 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:int remap_vmalloc_range_partial(struct vm_area_struct *vma, unsigned long uaddr, void *kaddr, unsigned long size)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct vm_area_struct * | vma | |
unsigned long | uaddr | |
void * | kaddr | |
unsigned long | size |
3067 | 如果非st whether an address (unsigned long or pointer) is aligned to PAGE_SIZE (uaddr)或非st whether an address (unsigned long or pointer) is aligned to PAGE_SIZE (kaddr)则返回:负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 | 如果非flags按位与suitable for remap_vmalloc_range 按位或dma_alloc_coherent 的值的值则返回:负EINVAL |
3077 | 如果kaddr加size大于addr加Lowlevel-APIs (not for driver use!)则返回:负EINVAL |
3080 | 循环 |
3095 | 返回:0 |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |