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

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

VHOLD(9)

Contents


NAME    [Toc]    [Back]

     vhold, vdrop -- acquire/release a hold on a vnode

SYNOPSIS    [Toc]    [Back]

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

     void
     vhold(struct vnode *vp);

     void
     vdrop(struct vnode *vp);

DESCRIPTION    [Toc]    [Back]

     The vhold() function increments the v_holdcnt of the given vnode.	If the
     vnode has already been added to the free list and is still referenced, it
     will be removed.

     The vdrop() function decrements the v_holdcnt of the vnode.  If the holdcount
 is less than or equal zero prior to calling vdrop(), the system
     will panic.  If the vnode is no longer referenced, it will freed.

SEE ALSO    [Toc]    [Back]

      
      
     vbusy(9), vfree(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
vhold OpenBSD acquire a hold on a vnode
uu_lock OpenBSD acquire and release control of a serial device
uu_lock_txfr FreeBSD acquire and release control of a serial device
uu_lockerr OpenBSD acquire and release control of a serial device
uu_unlock OpenBSD acquire and release control of a serial device
uucplock OpenBSD acquire and release control of a serial device
uu_lockerr FreeBSD acquire and release control of a serial device
uu_unlock FreeBSD acquire and release control of a serial device
uu_lock_txfr OpenBSD acquire and release control of a serial device
uu_lock FreeBSD acquire and release control of a serial device
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service