函数逻辑报告 |
Source Code:mm\mmap.c |
Create Date:2022-07-27 16:17:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Create a list of vma's touched by the unmap, removing them from the mm's* vma list as we go..
函数原型:static void detach_vmas_to_be_unmapped(struct mm_struct *mm, struct vm_area_struct *vma, struct vm_area_struct *prev, unsigned long end)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mm_struct * | mm | |
struct vm_area_struct * | vma | |
struct vm_area_struct * | prev | |
unsigned long | end |
2608 | struct vm_area_struct * tail_vma = NULL |
2612 | 循环 |
2613 | vma_rb_erase(vma, & mm_rb) |
2614 | number of VMAs 自减 |
2617 | 当vma且Our start address within vm_mm. 小于end循环 |
2618 | insertion_point等于vma |
2619 | 如果vma则 |
2622 | 否则 highest vma end address 等于如果prev则vm_end_gap(prev)否则0 |
2627 | vmacache_invalidate(mm) |
名称 | 描述 |
---|---|
__do_munmap | 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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |