| Function report | 
| Source Code: mm\vmalloc.c | Create Date:2022-07-28 14:58:40 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Merge de-allocated chunk of VA memory with previous* and next free blocks. If coalesce is not done a new* free area is inserted. If VA has been merged, it is* freed.
Proto:static __always_inline struct vmap_area *merge_or_add_vmap_area(struct vmap_area *va, struct rb_root *root, struct list_head *head)
Type:struct vmap_area
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct vmap_area * | va | |
| struct rb_root * | root | |
| struct list_head * | head | 
| 694 | bool merged = false | 
| 700 | link = This function returns back addresses of parent node* and its left or right link for further processing. | 
| 705 | next = get_va_next_sibling(parent, link) | 
| 706 | If Value for the false possibility is greater at compile time(next == NULL) Then Go to insert | 
| 760 | insert : | 
| 761 | If Not merged Then | 
| 766 | Return va | 
| Name | Describe | 
|---|---|
| free_vmap_area | Free a region of KVA allocated by alloc_vmap_area | 
| __purge_vmap_area_lazy | Purges all lazily-freed vmap areas. | 
| 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 |