Function report |
Source Code:include\linux\iversion.h |
Create Date:2022-07-28 20:07:53 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:de_query_iversion - read i_version for later use*@inode: inode from which i_version should be read* Read the inode i_version counter
Proto:static inline u64 inode_query_iversion(struct inode *inode)
Type:u64
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct inode * | inode |
| 310 | cycle |
| 312 | If cur & I_VERSION_QUERIED Then |
| 318 | smp_mb() |
| 319 | Break |
| 322 | new = cur | I_VERSION_QUERIED |
| 323 | old = atomic64_cmpxchg( & i_version, cur, new) |
| 324 | If Value is more likely to compile time(old == cur) Then Break |
| Name | Describe |
|---|---|
| ima_collect_measurement | ma_collect_measurement - collect file measurement* Calculate the file hash, if it doesn't already exist,* storing the measurement and i_version in the iint.* Must be called with iint->mutex held.* Return 0 on success, error code otherwise |
| 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 |