函数逻辑报告 |
Source Code:mm\madvise.c |
Create Date:2022-07-27 16:42:59 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Application wants to free up the pages and associated backing store.* This is effectively punching a hole into the middle of a file.
函数原型:static long madvise_remove(struct vm_area_struct *vma, struct vm_area_struct **prev, unsigned long start, unsigned long end)
返回类型:long
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct vm_area_struct * | vma | |
| struct vm_area_struct ** | prev | |
| unsigned long | start | |
| unsigned long | end |
| 822 | * prev = NULL |
| 824 | 如果Flags, see mm.h. 按位与VM_LOCKED则返回:负EINVAL |
| 830 | 返回:负EINVAL |
| 836 | offset等于start减Our start address within vm_mm. 加Offset (within vm_file) in PAGE_SIZEunits 左移PAGE_SHIFT determines the page size 位的值 |
| 846 | 如果userfaultfd_remove(vma, start, end)则 |
| 850 | error等于vfs_fallocate(f, de-allocates range | default is extend size , offset, end - start) |
| 854 | lock for reading |
| 855 | 返回:error |
| 名称 | 描述 |
|---|---|
| madvise_vma |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |