Function report |
Source Code:mm\madvise.c |
Create Date:2022-07-28 15:12:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Schedule all required I/O operations. Do not wait for completion.
Proto:static long madvise_willneed(struct vm_area_struct *vma, struct vm_area_struct **prev, unsigned long start, unsigned long end)
Type:long
Parameter:
Type | Parameter | Name |
---|---|---|
struct vm_area_struct * | vma | |
struct vm_area_struct ** | prev | |
unsigned long | start | |
unsigned long | end |
278 | If IS_DAX(file_inode(file)) Then |
280 | Return 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 | Return 0 |
Name | Describe |
---|---|
madvise_vma |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |