Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
VFS_VGET(9)		 BSD Kernel Developer's	Manual		   VFS_VGET(9)

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.

BSD				 July 24, 1996				   BSD

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | AUTHORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=VFS_VGET&sektion=9&manpath=FreeBSD+5.3-RELEASE+and+Ports>

home | help