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 for an inode in the inode cache
Proto:struct inode *ilookup(struct super_block *sb, unsigned long ino)
Type:struct inode
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct super_block * | sb | |
| unsigned long | ino |
| 1387 | head = inode_hashtable + hash(sb, ino) |
| 1389 | again : |
| 1390 | spin_lock( & inode_hash_lock) |
| 1391 | inode = d_inode_fast is the fast path version of find_inode, see the comment at* iget_locked for details. |
| 1392 | spin_unlock( & inode_hash_lock) |
| 1394 | If inode Then |
| 1399 | put an inode |
| 1400 | Go to again |
| 1403 | Return inode |
| 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 |