*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> vgonel (9)              
Title
Content
Arch
Section
 

VGONE(9)

Contents


NAME    [Toc]    [Back]

     vgone, vgonel -- prepare a vnode for reuse

SYNOPSIS    [Toc]    [Back]

     #include <sys/param.h>
     #include <sys/vnode.h>

     void
     vgone(struct vnode *vp);

     void
     vgonel(struct vnode *vp, struct thread *td);

DESCRIPTION    [Toc]    [Back]

     vgone() and vgonel() prepare a vnode for reuse by another file system.
     The preparation includes the cleaning of all file system specific data
     and the removal from its mount point vnode list.

     If the vnode has a v_usecount of zero, and its VDOOMED flag is not set,
     it is moved to the head of the free list as in most cases the vnode is
     about to be reused, or its file system being unmounted.

     The difference between vgone() and vgonel() is that vgone() locks the
     vnode interlock and then calls vgonel() while vgonel() expects the interlock
 to already be locked.

SEE ALSO    [Toc]    [Back]

      
      
     vclean(9)

AUTHORS    [Toc]    [Back]

     This man page was written by Chad David <[email protected]>.


FreeBSD 5.2.1		       November 21, 2001		 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
freexid IRIX make X resource identifier available for reuse
monitor Tru64 Prepare execution profile
moncontrol Tru64 Prepare execution profile
monitor_signal Tru64 Prepare execution profile
monstartup Tru64 Prepare execution profile
monitor IRIX prepare execution profile
login_tty FreeBSD prepare a tty for a new login session
pthread_attr_setcreatesuspend_np FreeBSD prepare attribute for creattion of suspended thread
gss_export_sec_context Tru64 Prepare security context for transfer to another process.
SSL_set_connect_state Tru64 Prepare SSL object to work in client or server mode
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service