Function report |
Source Code:mm\interval_tree.c |
Create Date:2022-07-28 14:31:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Insert node immediately after prev in the interval tree
Proto:void vma_interval_tree_insert_after(struct vm_area_struct *node, struct vm_area_struct *prev, struct rb_root_cached *root)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct vm_area_struct * | node | |
struct vm_area_struct * | prev | |
struct rb_root_cached * | root |
34 | last = vma_last_pgoff(node) |
36 | VM_BUG_ON_VMA(vma_start_pgoff(node) != vma_start_pgoff(prev), node) |
38 | If Not rb_right Then |
41 | Else |
42 | parent = rb_entry(rb_right, structvm_area_struct, rb) |
44 | If rb_subtree_last < last Then rb_subtree_last = last |
47 | parent = rb_entry(rb_left, structvm_area_struct, rb) |
49 | If rb_subtree_last < last Then rb_subtree_last = last |
55 | rb_subtree_last = last |
56 | rb_link_node( & rb, & rb, link) |
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 |