VHOLD(9) OpenBSD Kernel Manual VHOLD(9)NAMEvhold - acquire a hold on a vnode
SYNOPSIS
#include <sys/param.h>
#include <sys/vnode.h>
void
vhold(struct vnode *vp);
DESCRIPTION
The vhold() function increments the v_holdcnt of the given vnode. If the
vnode has already been added to the free list and its v_holdcnt and
v_usecount are both zero, it will be removed from the free list and added
to the vnode hold list.
SEE ALSOvnode(9)AUTHORS
This man page was originally written by Chad David <davidc@acns.ab.ca>
for FreeBSD.
OpenBSD 4.9 December 15, 2009 OpenBSD 4.9