| Function report | 
| Source Code: mm\mmap.c | Create Date:2022-07-28 14:49:48 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__vm_munmap
Proto:static int __vm_munmap(unsigned long start, size_t len, bool downgrade)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned long | start | |
| size_t | len | |
| bool | downgrade | 
| 2833 | If lock for writing Then Return -EINTR | 
| 2836 | ret = Munmap is split into 2 main parts -- this part which finds* what needs doing, and the areas themselves, which do the* work. This now handles partial unmappings.* Jeremy Fitzhardinge | 
| 2842 | If ret == 1 Then | 
| 2843 | lease a read lock | 
| 2844 | ret = 0 | 
| 2845 | Else lease a write lock | 
| 2848 | userfaultfd_unmap_complete(mm, & uf) | 
| 2849 | Return ret | 
| Name | Describe | 
|---|---|
| vm_munmap | |
| SYSCALL_DEFINE2 | 
| 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 |