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

  man pages->OpenBSD man pages -> vput (9)              
Title
Content
Arch
Section
 

VPUT(9)

Contents


NAME    [Toc]    [Back]

     vput - decrement the reference count for a vnode and  unlock
it

SYNOPSIS    [Toc]    [Back]

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

     void
     vput(struct vnode *vp);

DESCRIPTION    [Toc]    [Back]

     Decrement  the  v_usecount  field of the vnode vp and unlock
the vnode.

     This  operation  is  functionally  equivalent   to   calling
VOP_UNLOCK() followed
 by vrele(9).

SEE ALSO    [Toc]    [Back]

      
      
     VOP_UNLOCK(9), vnode(9), vref(9), vrele(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
vrele FreeBSD decrement the use count for a vnode
vrele OpenBSD decrement the use count for a vnode
vrecycle OpenBSD recycle a vnode if its reference count is zero
BUF_REFCNT FreeBSD returns the reference count on a buffer's lock
vref FreeBSD increment the use count for a vnode
VREF FreeBSD increment the use count for a vnode
vref OpenBSD increment the use count for a vnode
sem_trywait OpenBSD decrement (lock) a semaphore
sem_trywait FreeBSD decrement (lock) a semaphore
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service