函数逻辑报告 |
Source Code:mm\nommu.c |
Create Date:2022-07-27 16:03:04 |
| Last Modify:2020-03-17 21:26:27 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:look up the first VMA in which addr resides, NULL if none* - should be called with mm->mmap_sem at least held readlocked
函数原型:struct vm_area_struct *find_vma(struct mm_struct *mm, unsigned long addr)
返回类型:struct vm_area_struct
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct mm_struct * | mm | |
| unsigned long | addr |
| 712 | vma等于vmacache_find(mm, addr) |
| 713 | 如果此条件成立可能性大(为编译器优化)(vma)则返回:vma |
| 719 | 如果Our start address within vm_mm. 大于addr则返回:NULL |
| 722 | vmacache_update(addr, vma) |
| 723 | 返回:vma |
| 727 | 返回:NULL |
| 名称 | 描述 |
|---|---|
| arch_get_unmapped_area | |
| prctl_set_mm | |
| ksys_shmdt | detach and kill segment if marked destroyed.* The work is done in shm_close. |
| shift_arg_pages | During bprm_mm_init(), we create a temporary stack at STACK_TOP_MAX. Once* the binfmt code determines where the new stack should reside, we shift it to* its final location. The process proceeds as follows:* 1) Use shift to calculate the new vma endpoints. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |