Query: vhold
OS: linux
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
VHOLD(9) BSD Kernel Developer's Manual VHOLD(9)NAMEvhold, vdrop, vdropl -- acquire/release a hold on a vnodeSYNOPSIS#include <sys/param.h> #include <sys/vnode.h> void vhold(struct vnode *vp); void vholdl(struct vnode *vp); void vdrop(struct vnode *vp); void vdropl(struct vnode *vp);DESCRIPTIONThe vhold() and vholdl() functions increment the v_holdcnt of the given vnode. If the vnode has already been added to the free list and is still referenced, it will be removed. The vdrop() and vdropl() functions decrement the v_holdcnt of the vnode. If the holdcount is less than or equal to zero prior to calling vdrop() or vdropl(), the system will panic. If the vnode is no longer referenced, it will be freed. vhold() and vdrop() lock the vnode interlock while vholdl() and vdropl() expect the interlock to already be held.SEE ALSOvnode(9)AUTHORSThis manual page was written by Chad David <davidc@acns.ab.ca>.BSDApril 1, 2007 BSD
Related Man Pages |
---|
vput(9) - debian |
vput(9) - opensolaris |
vrele(9) - centos |
vput(9) - centos |
vrele(9) - minix |