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:insert_inode_locked4

Proto:int insert_inode_locked4(struct inode *inode, unsigned long hashval, int (*test)(struct inode *, void *), void *data)

Type:int

Parameter:

TypeParameterName
struct inode *inode
unsigned longhashval
int (*test
void *data
1509  Misc |= I_CREATING
1510  old = de_insert5 - obtain an inode from a mounted file system*@inode: pre-allocated inode to use for insert to cache*@hashval: hash value (usually inode number) to get*@test: callback used for comparisons between inodes*@set: callback used to initialize a new
1512  If old != inode Then
1513  put an inode
1514  Return -EBUSY
1516  Return 0