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

  man pages->OpenBSD 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 the vnode specified by vp.

     Any  code  in  the  system  which  uses  a vnode should call
vrele() when it is
     finished with the vnode.  If the v_usecount field of the vnode reaches
     zero, the vnode 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  originally  written by Doug Rabson for
FreeBSD.

OpenBSD     3.6                           July      24,      1996
[ 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