Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\iversion.h Create Date:2022-07-28 20:07:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:de_set_max_iversion_raw - update i_version new value is larger*@inode: inode to set*@val: new i_version to set* Some self-managed filesystems (e.g Ceph) will only update the i_version* value if the new value is larger than the one we already have.

Proto:static inline void inode_set_max_iversion_raw(struct inode *inode, u64 val)

Type:void

Parameter:

TypeParameterName
struct inode *inode
u64val
128  cur = de_peek_iversion_raw - grab a "raw" iversion value*@inode: inode from which i_version should be read* Grab a "raw" inode->i_version value and return it. The i_version is not* flagged or converted in any way. This is mostly used to access a self-managed
129  cycle
130  If cur > val Then Break
132  old = atomic64_cmpxchg( & i_version, cur, val)
133  If Value is more likely to compile time(old == cur) Then Break
135  cur = old