man.bsd.lv manual page server

Manual Page Search Parameters

VRELE(9) Kernel Developer's Manual VRELE(9)

vreleRelease a previously obtained primary reference for a vnode

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

void
vrele(struct vnode *vp);

The caller is holding a primary reference to the vnode and wishes to release it.
vp
The vnode being released.

Any code in the system which obtains a primary reference to a vnode via vref(9) typically releases that reference with () when it is finished with the vnode. Upon release of the last primary reference, the vnode will be deactivated and either moved to the free list for later reuse or marked as being cache. The vnode can be reactivated at any time prior to the system reusing it.

vdrop(9), vget(9), vhold(9), vnode(9), vn_lock(9), vn_unlock(9), vput(9), vref(9)

This manual page was written by Doug Rabson.

May 5, 2007 DragonFly-5.6.1