函数逻辑报告

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 - 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

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

返回类型:u64

参数:

类型参数名称
const struct inode *inode
288  返回: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右移We borrow the lowest bit in the i_version to use as a flag to tell whether* it has been queried since we last incremented it. If it has, then we must* increment it on the next change. After that, we can clear the flag and
调用者
名称描述
inode_eq_iversionde_eq_iversion - check whether the i_version counter has changed*@inode: inode to check*@old: old value to check against its i_version* Compare an i_version counter with a previous one