suse man page for ilookup5_nowait

Query: ilookup5_nowait

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

ILOOKUP5_NOWAIT(9)						   The Linux VFS						ILOOKUP5_NOWAIT(9)

NAME
ilookup5_nowait - search for an inode in the inode cache
SYNOPSIS
struct inode * ilookup5_nowait(struct super_block * sb, unsigned long hashval, int (*test) (struct inode *, void *), void * data);
ARGUMENTS
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
DESCRIPTION
ilookup5 uses ifind to search for the inode specified by hashval and data in the inode cache. This is a generalized version of ilookup for file systems where the inode number is not sufficient for unique identification of an inode. If the inode is in the cache, the inode is returned with an incremented reference count. Note, the inode lock is not waited upon so you have to be very careful what you do with the returned inode. You probably should be using ilookup5 instead. Otherwise NULL is returned. Note, test is called with the inode_lock held, so can't sleep.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 ILOOKUP5_NOWAIT(9)
Related Man Pages
matchpathcon_checkmatches(3) - debian
matchpathcon_filespec_add(3) - debian
matchpathcon_filespec_destroy(3) - debian
matchpathcon_filespec_add(3) - centos
clri(1m) - hpux
Similar Topics in the Unix Linux Community
Change directory error
Grant unprivileged user rights to see the output of echo|format but not modify disks
Migrating to UNIX
Update kernel Linux without reboot?!
Docker learning Phase-I