vhold - acquire a hold on a vnode
#include <sys/param.h>
#include <sys/vnode.h>
void
vhold(struct vnode *vp);
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.
vnode(9)
This man page was orignally written by Chad David
<[email protected]> for
FreeBSD.
OpenBSD 3.6 November 21, 2001
[ Back ] |