函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\inode.c Create Date:2022-07-29 10:38:06
Last Modify:2020-03-18 19:19:59 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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 longino
1242  b等于inode_hashtablehash(sb, ino)
1245  加自旋锁
1247  如果Stat data, not accessed from path walking 恒等于inoi_sb恒等于sb
1248  自旋锁解锁
1249  返回:0
1252  自旋锁解锁
1254  返回:1
调用者
名称描述
iunique取索引节点ID