函数逻辑报告 |
Source Code:mm\mmap.c |
Create Date:2022-07-27 16:18:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:vm_brk_flags
函数原型:int vm_brk_flags(unsigned long addr, unsigned long request, unsigned long flags)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | addr | |
unsigned long | request | |
unsigned long | flags |
3054 | 如果非len则返回:0 |
3057 | 如果lock for writing则返回:负EINTR |
3060 | ret等于his is really a simplified "do_mmap". it only handles* anonymous maps. eventually we may be able to do some* brk-specific accounting here. |
3062 | lease a write lock |
3063 | userfaultfd_unmap_complete(mm, & uf) |
3064 | 如果populate且非ret则mm_populate(addr, len) |
3066 | 返回:ret |
名称 | 描述 |
---|---|
vm_brk | |
load_elf_interp | This is much more generalized than the library routine read function,so we keep this separate. Technically the library read functionis only provided so that we can read a.out libraries that havean ELF header |
set_brk |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |