函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\fadvise.c Create Date:2022-07-27 15:30:18
Last Modify:2020-03-17 21:10:40 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:vfs_fadvise

函数原型:int vfs_fadvise(struct file *file, loff_t offset, loff_t len, int advice)

返回类型:int

参数:

类型参数名称
struct file *file
loff_toffset
loff_tlen
intadvice
184  如果fadvise则返回:fadvise(file, offset, len, advice)
187  返回:POSIX_FADV_WILLNEED could set PG_Referenced, and POSIX_FADV_NOREUSE could* deactivate the pages and clear PG_Referenced.
调用者
名称描述
ksys_fadvise64_64
ksys_readahead
madvise_willneedSchedule all required I/O operations. Do not wait for completion.