Scroll to navigation

ILOOKUP(9) The Linux VFS ILOOKUP(9)

NAME

ilookup - search for an inode in the inode cache

SYNOPSIS

struct inode * ilookup(struct super_block * sb, unsigned long ino);

ARGUMENTS

sb

super block of file system to search

ino

inode number to search for

DESCRIPTION

ilookup uses ifind_fast to search for the inode ino in the inode cache. This is for file systems where the inode number is sufficient for unique identification of an inode.

If the inode is in the cache, the inode is returned with an incremented reference count.

Otherwise NULL is returned.

COPYRIGHT

May 2024 Kernel Hackers Manual 2.6.