Function report |
Source Code:mm\vmalloc.c |
Create Date:2022-07-28 14:58:31 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:link_va
Proto:static __always_inline void link_va(struct vmap_area *va, struct rb_root *root, struct rb_node *parent, struct rb_node **link, struct list_head *head)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct vmap_area * | va | |
| struct rb_root * | root | |
| struct rb_node * | parent | |
| struct rb_node ** | link | |
| struct list_head * | head |
| 508 | If Value is more likely to compile time(parent) Then |
| 509 | head = & ({ |
| 509 | })->list |
| 515 | rb_link_node( & address sorted rbtree , parent, link) |
| 516 | If root == This augment red-black tree represents the free vmap space Then |
| 530 | in "free" tree = 0 |
| 531 | Else |
| 532 | rb_insert_color( & address sorted rbtree , root) |
| Name | Describe |
|---|---|
| insert_vmap_area | |
| insert_vmap_area_augment | |
| merge_or_add_vmap_area | 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. |
| 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 |