ilookup5_nowait man page on OpenSuSE

Man page or keyword search:  
man Server   25941 pages
apropos Keyword Search (all sections)
Output format
OpenSuSE logo
[printable version]

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
       Search for the inode specified by hashval and data in the inode cache.
       If the inode is in the cache, the inode is returned with an incremented
       reference count.

NOTE
       I_NEW 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.

NOTE2
       test is called with the inode_hash_lock held, so can't sleep.

COPYRIGHT
Kernel Hackers Manual 3.11	 November 2013		    ILOOKUP5_NOWAIT(9)
[top]

List of man pages available for OpenSuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net