Function report |
Source Code:mm\interval_tree.c |
Create Date:2022-07-28 14:31:38 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:vma_interval_tree_insert
Proto:void vma_interval_tree_insert(struct vm_area_struct *node, struct rb_root_cached *root)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct vm_area_struct * | node | |
| struct rb_root_cached * | root |
| 25 | start = vma_start_pgoff(node) , last = vma_last_pgoff(node) |
| 25 | bool leftmost = true |
| 25 | parent = ({ |
| 25 | }) |
| 25 | If rb_subtree_last < last Then rb_subtree_last = last |
| 25 | If start < vma_start_pgoff(parent) Then link = rb_left |
| 25 | Else |
| 25 | rb_subtree_last = last |
| 25 | rb_link_node( & rb, rb_parent, link) |
| Name | Describe |
|---|---|
| add_vma_to_mm | add a VMA into a process's mm_struct in the appropriate place in the list* and tree and add to the address space's page tree also if not an anonymous* page* - should be called with mm->mmap_sem held writelocked |
| __vma_link_file | |
| __vma_adjust | We cannot adjust vm_start, vm_end, vm_pgoff fields of a vma that* is already present in an i_mmap tree without adjusting the tree.* The following helper function should be used when such adjustments* are necessary |
| 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 |