Function report |
Source Code:mm\vmalloc.c |
Create Date:2022-07-28 15:00:01 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:struct vm_struct *remove_vm_area(const void *addr)
Type:struct vm_struct
Parameter:
Type | Parameter | Name |
---|---|---|
const void * | addr |
2198 | might_sleep() |
2200 | spin_lock( & vmap_area_lock) |
2201 | va = __find_vmap_area((unsignedlong)addr) |
2202 | If va && in "busy" tree Then |
2203 | vm = in "busy" tree |
2205 | in "busy" tree = NULL |
2206 | spin_unlock( & vmap_area_lock) |
2208 | kasan_free_shadow(vm) |
2211 | Return vm |
2214 | spin_unlock( & vmap_area_lock) |
2215 | Return NULL |
Name | Describe |
---|---|
vm_remove_mappings | Handle removing and resetting vm mappings related to the vm_struct. |
__vmalloc_area_node | |
free_vm_area |
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 |