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

  man pages->OpenBSD man pages -> vref (9)              



NAME    [Toc]    [Back]

     vref - increment the use count for a vnode

SYNOPSIS    [Toc]    [Back]

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

     vref(struct vnode *vp);

DESCRIPTION    [Toc]    [Back]

     Increment the v_usecount field of the vnode specified by vp.

     Each  vnode maintains a reference count of how many parts of
the system
     are using the vnode.  This allows the system to detect  when
a vnode is no
     longer being used and can be safely recycled for a different

     Any code in the system which uses a vnode (e.g.  during  the
operation of
     some  algorithm or to store in a data structure) should call

SEE ALSO    [Toc]    [Back]

     vget(9), vnode(9), vput(9), vrele(9)

AUTHORS    [Toc]    [Back]

     This man page was originally  written  by  Doug  Rabson  for

OpenBSD      3.6                           July      24,     1996
[ Back ]
 Similar pages
Name OS Title
vrele OpenBSD decrement the use count for a vnode
vrele FreeBSD decrement the use count for a vnode
vput FreeBSD decrement the use count for a vnode and unlock it
vrecycle OpenBSD recycle a vnode if its reference count is zero
vput OpenBSD decrement the reference count for a vnode and unlock it
incr IRIX Increment the value of a variable
sem_post OpenBSD increment (unlock) a semaphore
DTinctime IRIX increment a DAT time code
sem_post FreeBSD increment (unlock) a semaphore
XmScrollBarGetValues HP-UX A ScrollBar function that returns the ScrollBar's increment values
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service