Function report |
Source Code:mm\nommu.c |
Create Date:2022-07-28 14:36:51 |
| Last Modify:2020-03-17 21:26:27 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:delete a VMA from its owning mm_struct and address space
Proto:static void delete_vma_from_mm(struct vm_area_struct *vma)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct vm_area_struct * | vma |
| 662 | curr = current process |
| 664 | number of VMAs -- |
| 665 | When i < VMACACHE_SIZE cycle |
| 668 | vmacache_invalidate(mm) |
| 669 | Break |
| 674 | If File we map to (can be NULL). Then |
| 677 | i_mmap_lock_write(mapping) |
| 679 | vma_interval_tree_remove(vma, & i_mmap) |
| 687 | __vma_unlink_list(mm, vma) |
| Name | Describe |
|---|---|
| split_vma | split a vma into two pieces at address 'addr', a new vma is allocated either* for the first part or the tail. |
| shrink_vma | shrink a VMA by removing the specified chunk from either the beginning or* the end |
| do_munmap | lease a mapping* - under NOMMU conditions the chunk to be unmapped must be backed by a single* VMA, though it need not cover the whole VMA |
| exit_mmap | lease all the mappings made in a process's VM space |
| 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 |