函数逻辑报告 |
Source Code:mm\madvise.c |
Create Date:2022-07-27 16:42:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Schedule all required I/O operations. Do not wait for completion.
函数原型:static long madvise_willneed(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 |
278 | 如果IS_DAX(file_inode(file))则 |
280 | 返回:0 |
289 | * prev = NULL |
292 | offset等于start减Our start address within vm_mm. 加Offset (within vm_file) in PAGE_SIZEunits 左移PAGE_SHIFT determines the page size 位的值 |
294 | vfs_fadvise(file, offset, end - start, Will need these pages. ) |
296 | lock for reading |
297 | 返回:0 |
名称 | 描述 |
---|---|
madvise_vma |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |