函数逻辑报告 |
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 |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:de_query_iversion - read i_version for later use*@inode: inode from which i_version should be read* Read the inode i_version counter
函数原型:static inline u64 inode_query_iversion(struct inode *inode)
返回类型:u64
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct inode * | inode |
| 310 | 循环 |
| 312 | 如果cur按位与I_VERSION_QUERIED则 |
| 322 | new等于cur按位或I_VERSION_QUERIED |
| 323 | old等于atomic64_cmpxchg( & i_version, cur, new) |
| 324 | 如果此条件成立可能性大(为编译器优化)(old == cur)则退出 |
| 名称 | 描述 |
|---|---|
| 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 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |