1ILOOKUP(9) The Linux VFS ILOOKUP(9)
2
3
4
6 ilookup - search for an inode in the inode cache
7
9 struct inode * ilookup(struct super_block * sb, unsigned long ino);
10
12 sb
13 super block of file system to search
14
15 ino
16 inode number to search for
17
19 ilookup uses ifind_fast to search for the inode ino in the inode cache.
20 This is for file systems where the inode number is sufficient for
21 unique identification of an inode.
22
23 If the inode is in the cache, the inode is returned with an incremented
24 reference count.
25
26 Otherwise NULL is returned.
27
29Kernel Hackers Manual 2.6. June 2019 ILOOKUP(9)