Function report |
Source Code:mm\mmap.c |
Create Date:2022-07-28 14:47:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:find_vma_links
Proto:static int find_vma_links(struct mm_struct *mm, unsigned long addr, unsigned long end, struct vm_area_struct **pprev, struct rb_node ***rb_link, struct rb_node **rb_parent)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct mm_struct * | mm | |
unsigned long | addr | |
unsigned long | end | |
struct vm_area_struct ** | pprev | |
struct rb_node *** | rb_link | |
struct rb_node ** | rb_parent |
533 | rb_prev = __rb_parent = NULL |
538 | __rb_parent = __rb_link |
539 | vma_tmp = rb_entry(__rb_parent, structvm_area_struct, vm_rb) |
541 | If The first byte after our end addresswithin vm_mm. > addr Then |
543 | If Our start address within vm_mm. < end Then Return -ENOMEM |
546 | Else |
547 | rb_prev = __rb_parent |
552 | * pprev = NULL |
556 | rb_parent = __rb_parent |
557 | Return 0 |
Name | Describe |
---|---|
__insert_vm_struct | Helper for vma_adjust() in the split_vma insert case: insert a vma into the* mm's list and rbtree. It has already been inserted into the interval tree. |
mmap_region | |
do_brk_flags | his is really a simplified "do_mmap". it only handles* anonymous maps. eventually we may be able to do some* brk-specific accounting here. |
insert_vm_struct | Insert vm structure into process list sorted by address* and into the inode's i_mmap tree. If vm_file is non-NULL* then i_mmap_rwsem is taken here. |
copy_vma | Copy the vma structure to a new location in the same mm,* prior to moving page table entries, to effect an mremap move. |
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 |