函数逻辑报告 |
Source Code:mm\vmalloc.c |
Create Date:2022-07-27 16:29:55 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__vunmap
函数原型:static void __vunmap(const void *addr, int deallocate_pages)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
const void * | addr | |
int | deallocate_pages |
2279 | 如果非addr则返回 |
2282 | 如果WARN(!st whether an address (unsigned long or pointer) is aligned to PAGE_SIZE (addr), "Trying to vfree() bad address (%p)\n", addr)则返回 |
2286 | 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 |
2287 | 如果此条件成立可能性小(为编译器优化)(!area)则 |
2288 | WARN(1, r conditions "Trying to vfree() nonexistent vm area (%p)\n", addr) |
2290 | 返回 |
2296 | kasan_poison_vmalloc(addr, size) |
2300 | 如果deallocate_pages则 |
2309 | atomic_long_sub(nr_pages, & nr_vmalloc_pages) |
2314 | 释放内存 |
2315 | 返回 |
名称 | 描述 |
---|---|
free_work | |
__vfree | |
vunmap | vunmap - release virtual mapping obtained by vmap()*@addr: memory base address* Free the virtually contiguous memory area starting at @addr,* which was created from the page array passed to vmap().* Must not be called in interrupt context. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |