iget_locked (9) - Linux Man Pages
iget_locked: obtain an inode from a mounted file system
iget_locked - obtain an inode from a mounted file system
struct inode * iget_locked(struct super_block
*sb, unsigned long ino);
- super block of file system
- inode number to get
Search for the inode specified by ino in the inode cache and if present return it with an increased reference count. This is for file systems where the inode number is sufficient for unique identification of an inode.