| 函数逻辑报告 | 
| Source Code: fs\inode.c | Create Date:2022-07-29 10:38:06 | 
| Last Modify:2020-03-18 19:19:59 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:search the inode cache for a matching inode number.* If we find one, then the inode number we are trying to* allocate is not unique and so we should not use it.* Returns 1 if the inode number is unique, 0 if it is not.
函数原型:static int test_inode_iunique(struct super_block *sb, unsigned long ino)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct super_block * | sb | |
| unsigned long | ino | 
| 1242 | b等于inode_hashtable加hash(sb, ino) | 
| 1245 | 加自旋锁 | 
| 1247 | 如果Stat data, not accessed from path walking 恒等于ino且i_sb恒等于sb则 | 
| 1248 | 自旋锁解锁 | 
| 1249 | 返回:0 | 
| 1252 | 自旋锁解锁 | 
| 1254 | 返回:1 | 
| 名称 | 描述 | 
|---|---|
| iunique | 取索引节点ID | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |