Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\fcntl.c Create Date:2022-07-28 20:05:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rw_hint_valid

Proto:static bool rw_hint_valid(enum rw_hint hint)

Type:bool

Parameter:

TypeParameterName
enum rw_hinthint
264  Case hint == Valid hint values for F_{GET,SET}_RW_HINT. 0 is "not set", or can be* used to clear any hints previously set.
265  Case hint == RWH_WRITE_LIFE_NONE
266  Case hint == RWH_WRITE_LIFE_SHORT
267  Case hint == RWH_WRITE_LIFE_MEDIUM
268  Case hint == RWH_WRITE_LIFE_LONG
269  Case hint == RWH_WRITE_LIFE_EXTREME
270  Return true
271  Default
272  Return false
Caller
NameDescribe
fcntl_rw_hint