函数逻辑报告 |
Source Code:mm\vmalloc.c |
Create Date:2022-07-27 16:29:49 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:move_vm_area - find and remove a continuous kernel virtual area*@addr: base address* Search for the kernel VM area starting at @addr, and remove it.* This function returns the found VM area, but using it is NOT safe
函数原型:struct vm_struct *remove_vm_area(const void *addr)
返回类型:struct vm_struct
参数:
类型 | 参数 | 名称 |
---|---|---|
const void * | addr |
2198 | might_sleep() |
2200 | 加自旋锁 |
2201 | va等于__find_vmap_area((unsignedlong)addr) |
2202 | 如果va且 in "busy" tree 则 |
2203 | vm等于 in "busy" tree |
2205 | in "busy" tree = NULL |
2206 | 自旋锁解锁 |
2208 | kasan_free_shadow(vm) |
2211 | 返回:vm |
2214 | 自旋锁解锁 |
2215 | 返回:NULL |
名称 | 描述 |
---|---|
vm_remove_mappings | Handle removing and resetting vm mappings related to the vm_struct. |
__vmalloc_area_node | |
free_vm_area |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |