VFS_VGET(9)

HOME || NAME SYNOPSIS DESCRIPTION SEE ALSO AUTHORS
NAME
     VFS_VGET -- convert an inode number to a vnode
SYNOPSIS
     #include <sys/param.h>
     #include <sys/mount.h>
     #include <sys/vnode.h>

     int
     VFS_VGET(struct mount *mp, ino_t ino, int flags, struct vnode **vpp);
DESCRIPTION
     This converts an inode number into a locked vnode.

     Its arguments are:

     mp     The file system.

     ino    The inode representing the file.

     flags  Additional locking flags to pass through.

     vpp    Return parameter for the vnode.

     This is an optional file system entry-point for file systems which have a
     unique id number for every file in the file system.  It is used inter-
     nally by the UFS file system and also by the NFSv3 server to implement
     the READDIRPLUS nfs call.

     If the file system does not support this call, then it should return
     EOPNOTSUPP.
SEE ALSO
     VFS(9), vget(9), vnode(9)
AUTHORS
     This manual page was written by Doug Rabson.