Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
VRELE(9)		 BSD Kernel Developer's	Manual		      VRELE(9)

NAME
     vrele -- decrement	the use	count for a vnode

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

     void
     vrele(struct vnode	*vp);

DESCRIPTION
     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
     vget(9), vnode(9),	vput(9), vref(9)

AUTHORS
     This man page was written by Doug Rabson.

BSD				 July 24, 1996				   BSD

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | AUTHORS

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=vrele&sektion=9&manpath=FreeBSD+5.3-RELEASE+and+Ports>

home | help