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:search for an inode in the inode cache

Proto:struct inode *ilookup5(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
1364  again :
1365  inode = 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
1366  If inode Then
1367  writeback.h requires fs.h; it, too, is not included from here.
1369  put an inode
1370  Go to again
1373  Return inode
Caller
NameDescribe
iget5_lockedobtain an inode from a mounted file system
bdev_unhash_inodeIf there is a bdev inode for this device, unhash it so that it gets evicted* as soon as last inode reference is dropped.