函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\inode.c Create Date:2022-07-29 10:38:06
Last Modify:2020-03-18 19:19:59 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:struct inode *ilookup5_nowait(struct super_block *sb, unsigned long hashval, int (*test)(struct inode *, void *), void *data)

返回类型:struct inode

参数:

类型参数名称
struct super_block *sb
unsigned longhashval
int (*test
void *data
1332  head等于inode_hashtablehash(sb, hashval)
1335  加自旋锁
1336  inode等于Called with the inode lock held.
1337  自旋锁解锁
1339  返回:如果是错误NULL否则inode
调用者
名称描述
ilookup5在高速缓存查找索引节点