Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:__vm_munmap

Proto:static int __vm_munmap(unsigned long start, size_t len, bool downgrade)

Type:int

Parameter:

TypeParameterName
unsigned longstart
size_tlen
booldowngrade
2830  mm = mm
2831  LIST_HEAD(uf)
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
Caller
NameDescribe
vm_munmap
SYSCALL_DEFINE2