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:obtain an inode from a mounted file system

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

Type:struct inode

Parameter:

TypeParameterName
struct super_block *sb
unsigned longhashval
int (*test
int (*set
void *data
1143  inode = search for an inode in the inode cache
1145  If Not inode Then
1146  new = alloc_inode(sb)
1148  If new Then
1149  Misc = 0
1155  Return inode
Caller
NameDescribe
bdget