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:d_inode_nowait - find an inode in the inode cache*@sb: super block of file system to search*@hashval: hash value (usually inode number) to search for*@match: callback used for comparisons between inodes*@data: opaque data pointer to pass to @match* Search
Proto:struct inode *find_inode_nowait(struct super_block *sb, unsigned long hashval, int (*match)(struct inode *, unsigned long , void *), void *data)
Type:struct inode
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct super_block * | sb | |
| unsigned long | hashval | |
| int (* | match | |
| void * | data |
| 1436 | head = inode_hashtable + hash(sb, hashval) |
| 1440 | spin_lock( & inode_hash_lock) |
| 1445 | If mval == 0 Then Continue |
| 1449 | Go to out |
| 1451 | out : |
| 1452 | spin_unlock( & inode_hash_lock) |
| 1453 | Return ret_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 |