Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\fadvise.c Create Date:2022-07-28 14:07:04
Last Modify:2020-03-17 21:10:40 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:vfs_fadvise

Proto:int vfs_fadvise(struct file *file, loff_t offset, loff_t len, int advice)

Type:int

Parameter:

TypeParameterName
struct file *file
loff_toffset
loff_tlen
intadvice
184  If fadvise Then Return fadvise(file, offset, len, advice)
187  Return POSIX_FADV_WILLNEED could set PG_Referenced, and POSIX_FADV_NOREUSE could* deactivate the pages and clear PG_Referenced.
Caller
NameDescribe
ksys_fadvise64_64
ksys_readahead
madvise_willneedSchedule all required I/O operations. Do not wait for completion.