Function report |
Source Code:mm\mmap.c |
Create Date:2022-07-28 14:47:04 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Requires inode->i_mapping->i_mmap_rwsem
Proto:static void __remove_shared_vm_struct(struct vm_area_struct *vma, struct file *file, struct address_space *mapping)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct vm_area_struct * | vma | |
| struct file * | file | |
| struct address_space * | mapping |
| 142 | If Flags, see mm.h. & ETXTBSY on write attempts.. Then atomic_inc( & i_writecount) |
| 144 | If Flags, see mm.h. & VM_SHARED Then mapping_unmap_writable(mapping) |
| 148 | vma_interval_tree_remove(vma, & i_mmap) |
| Name | Describe |
|---|---|
| unlink_file_vma | Unlink a file-based vm structure from its interval tree, to hide* vma from rmap and vmtruncate before freeing its page tables. |
| __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 |