Function report |
Source Code:mm\mmap.c |
Create Date:2022-07-28 14:47:06 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Close a vm structure and free it, returning the next.
Proto:static struct vm_area_struct *remove_vma(struct vm_area_struct *vma)
Type:struct vm_area_struct
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct vm_area_struct * | vma |
| 175 | might_sleep() |
| 176 | If Function pointers to deal with this struct. && close Then close(vma) |
| 178 | If File we map to (can be NULL). Then fput(File we map to (can be NULL). ) |
| 180 | mpol_put(vma_policy(vma)) |
| 181 | vm_area_free(vma) |
| 182 | Return next |
| Name | Describe |
|---|---|
| remove_vma_list | Ok - we have the memory areas we should free on the vma list,* so release them, and do the vma updates.* Called with the mm semaphore held. |
| exit_mmap | Release all mmaps. |
| 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 |