Function report |
Source Code:fs\inode.c |
Create Date:2022-07-28 20:07:58 |
Last Modify:2020-03-18 19:19:59 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static int test_inode_iunique(struct super_block *sb, unsigned long ino)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct super_block * | sb | |
unsigned long | ino |
1242 | b = inode_hashtable + hash(sb, ino) |
1245 | spin_lock( & inode_hash_lock) |
1247 | If Stat data, not accessed from path walking == ino && i_sb == sb Then |
1248 | spin_unlock( & inode_hash_lock) |
1249 | Return 0 |
1252 | spin_unlock( & inode_hash_lock) |
1254 | Return 1 |
Name | Describe |
---|---|
iunique | get a unique inode number |
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 |