Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Initialise a struct file's readahead state. Assumes that the caller has* memset *ra to zero.

Proto:void file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping)

Type:void

Parameter:

TypeParameterName
struct file_ra_state *ra
struct address_space *mapping
35  Maximum readahead window = max readahead in PAGE_SIZE units
36  Cache last read() position = -1