Function report | 
Source Code:mm\vmalloc.c | 
Create Date:2022-07-28 15:00:07 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__vunmap
Proto:static void __vunmap(const void *addr, int deallocate_pages)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const void * | addr | |
| int | deallocate_pages | 
| 2279 | If Not addr Then Return | 
| 2282 | If WARN(!st whether an address (unsigned long or pointer) is aligned to PAGE_SIZE (addr), "Trying to vfree() bad address (%p)\n", addr) Then Return | 
| 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 | If Value for the false possibility is greater at compile time(!area) Then | 
| 2288 | WARN(1, r conditions "Trying to vfree() nonexistent vm area (%p)\n", addr) | 
| 2290 | Return | 
| 2296 | kasan_poison_vmalloc(addr, size) | 
| 2300 | If deallocate_pages Then | 
| 2309 | atomic_long_sub(nr_pages, & nr_vmalloc_pages) | 
| 2315 | Return | 
| Name | Describe | 
|---|---|
| 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. | 
| 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  |