函数逻辑报告 |
Source Code:mm\mmap.c |
Create Date:2022-07-27 16:18:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__vm_munmap
函数原型:static int __vm_munmap(unsigned long start, size_t len, bool downgrade)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | start | |
size_t | len | |
bool | downgrade |
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |