函数逻辑报告 |
Source Code:mm\mmap.c |
Create Date:2022-07-27 16:18:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Insert vm structure into process list sorted by address* and into the inode's i_mmap tree. If vm_file is non-NULL* then i_mmap_rwsem is taken here.
函数原型:int insert_vm_struct(struct mm_struct *mm, struct vm_area_struct *vma)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mm_struct * | mm | |
struct vm_area_struct * | vma |
3155 | 如果find_vma_links(mm, Our start address within vm_mm. , The first byte after our end addresswithin vm_mm. , & prev, & rb_link, & rb_parent)则返回:负ENOMEM |
3158 | 如果Flags, see mm.h. 按位与Is a VM accounted object 且security_vm_enough_memory_mm(mm, vma_pages(vma))则返回:负ENOMEM |
3174 | 如果vma_is_anonymous(vma)则 |
3180 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |