函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mmap.c Create Date:2022-07-27 16:18:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__vm_munmap

函数原型:static int __vm_munmap(unsigned long start, size_t len, bool downgrade)

返回类型:int

参数:

类型参数名称
unsigned longstart
size_tlen
booldowngrade
2830  mm等于mm
2831  LIST_HEAD(uf)
2833  如果lock for writing则返回:负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  如果ret恒等于1则
2843  lease a read lock
2844  ret等于0
2845  否则lease a write lock
2848  userfaultfd_unmap_complete(mm, & uf)
2849  返回:ret
调用者
名称描述
vm_munmap
SYSCALL_DEFINE2