Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:lookup5_nowait - search for an inode in the inode cache*@sb: super block of file system to search*@hashval: hash value (usually inode number) to search for*@test: callback used for comparisons between inodes*@data: opaque data pointer to pass to @test

Proto:struct inode *ilookup5_nowait(struct super_block *sb, unsigned long hashval, int (*test)(struct inode *, void *), void *data)

Type:struct inode

Parameter:

TypeParameterName
struct super_block *sb
unsigned longhashval
int (*test
void *data
1332  head = inode_hashtable + hash(sb, hashval)
1335  spin_lock( & inode_hash_lock)
1336  inode = Called with the inode lock held.
1337  spin_unlock( & inode_hash_lock)
1339  Return If IS_ERR(inode) Then NULL Else inode
Caller
NameDescribe
ilookup5search for an inode in the inode cache