Query: vop_inactive
OS: opensolaris
Section: 9
Links: opensolaris man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
VOP_INACTIVE(9) BSD Kernel Developer's Manual VOP_INACTIVE(9)NAMEVOP_INACTIVE, VOP_RECLAIM -- reclaim file system resources for a vnodeSYNOPSIS#include <sys/param.h> #include <sys/vnode.h> int VOP_INACTIVE(struct vnode *vp, struct thread *td); int VOP_RECLAIM(struct vnode *vp, struct thread *td);DESCRIPTIONThe arguments are: vp The vnode being reclaimed. VOP_INACTIVE() is called when the kernel is no longer using the vnode. This may be because the reference count reaches zero or it may be that the file system is being forcibly unmounted while there are open files. It can be used to reclaim space for 'open but deleted' files. VOP_RECLAIM() is called when a vnode is being reused for a different file system. Any file system specific resources associated with the vnode should be freed.LOCKSFor VOP_INACTIVE, the vp will be locked on entry. Your VOP_INACTIVE code must unlock the vp prior to returning. For VOP_RECLAIM, the vp will not be locked on entry and should be left unlocked on return.SEE ALSOvnode(9)AUTHORSThis manual page was written by Doug Rabson.BSDJuly 24, 1996 BSD
Related Man Pages |
---|
vunref(9) - debian |
vunref(9) - freebsd |
vput(9) - opensolaris |
vput(9) - centos |
vrele(9) - minix |
Similar Topics in the Unix Linux Community |
---|
Trying to block signal |
How to learn UNIX |
PHP Man Pages Now Available (Over 10,000) |
Study UNIX Kernel |
Free Sun Blade 2k, Ultra 2, Ross Hyperstation 30, cards, memory- Baltimore, MD |