Function report |
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 activity | Download SCCT | Chinese |
Name:de_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
Proto:static inline bool inode_maybe_inc_iversion(struct inode *inode, bool force)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct inode * | inode | |
bool | force |
212 | smp_mb() |
214 | cycle |
216 | If Not force && Not (cur & I_VERSION_QUERIED) Then Return false |
220 | new = (cur & ~I_VERSION_QUERIED) + I_VERSION_INCREMENT |
222 | old = atomic64_cmpxchg( & i_version, cur, new) |
223 | If Value is more likely to compile time(old == cur) Then Break |
227 | Return true |
Name | Describe |
---|---|
generic_update_time | |
inode_inc_iversion | de_inc_iversion - forcibly increment i_version*@inode: inode that needs to be updated* Forcbily increment the i_version field. This always results in a change to* the observable value. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |