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

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

VRELE(9)

Contents


NAME    [Toc]    [Back]

     vrele -- decrement the use count for a vnode

SYNOPSIS    [Toc]    [Back]

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

     void
     vrele(struct vnode *vp);

DESCRIPTION    [Toc]    [Back]

     Decrement the v_usecount field of a vnode.

     vp  the vnode to decrement

     Any code in the system which is using a vnode should call vrele() when it
     is finished with the vnode.  If the v_usecount field of the vnode reaches
     zero, then it will be placed on the free list.

SEE ALSO    [Toc]    [Back]

      
      
     vget(9), vnode(9), vput(9), vref(9)

AUTHORS    [Toc]    [Back]

     This man page was written by Doug Rabson.


FreeBSD 5.2.1			 July 24, 1996			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
vput FreeBSD decrement the use count for a vnode and unlock it
vput OpenBSD decrement the reference count for a vnode and unlock it
VREF FreeBSD increment the use count for a vnode
vref OpenBSD increment the use count for a vnode
vref FreeBSD increment the use count for a vnode
vrecycle OpenBSD recycle a vnode if its reference count is zero
sem_trywait OpenBSD decrement (lock) a semaphore
sem_wait OpenBSD decrement (lock) a semaphore
sem_trywait FreeBSD decrement (lock) a semaphore
sem_wait FreeBSD decrement (lock) a semaphore
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service