函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\iversion.h Create Date:2022-07-29 10:37:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:static inline u64 inode_peek_iversion_raw(const struct inode *inode)

返回类型:u64

参数:

类型参数名称
const struct inode *inode
112  返回:atomic64_read( & i_version)
调用者
名称描述
inode_set_max_iversion_rawde_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.
inode_maybe_inc_iversionde_maybe_inc_iversion - increments i_version*@inode: inode with the i_version that should be updated*@force: increment the counter even if it's not necessary?* Every time the inode is modified, the i_version field must be seen to have
inode_iversion_need_incde_iversion_need_inc - is the i_version in need of being incremented?*@inode: inode to check* Returns whether the inode->i_version counter needs incrementing on the next* change. Just fetch the value and check the QUERIED flag.
inode_peek_iversionde_peek_iversion - read i_version without flagging it to be incremented*@inode: inode from which i_version should be read* Read the inode i_version counter for an inode without registering it as a* query
inode_query_iversionde_query_iversion - read i_version for later use*@inode: inode from which i_version should be read* Read the inode i_version counter
inode_eq_iversion_rawde_eq_iversion_raw - check whether the raw i_version counter has changed*@inode: inode to check*@old: old value to check against its i_version* Compare the current raw i_version counter with a previous one. Returns true