*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: VOP_RECLAIM | Section: 9 | Source: FreeBSD | File: VOP_RECLAIM.9.gz
VOP_INACTIVE(9) FreeBSD Kernel Developer's Manual VOP_INACTIVE(9) NAME VOP_INACTIVE, VOP_RECLAIM - reclaim file system resources for a vnode SYNOPSIS #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); DESCRIPTION The arguments are: vp The vnode being reclaimed. VOP_INACTIVE() is usually called when the kernel is no longer using the vnode. However, there is no guarantee that it will be called at all, for example if the last reference was dropped while the vnode lock could not be upgraded to exclusive without sleeping. 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 on the last close of an `open but deleted' file. 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. LOCKS For both VOP_INACTIVE() and VOP_RECLAIM(), the vp will be exclusively locked on entry, and must be left exclusively locked on return. SEE ALSO vnode(9) AUTHORS This manual page was written by Doug Rabson. FreeBSD 14.1-RELEASE-p8 March 15, 2019 FreeBSD 14.1-RELEASE-p8

Navigation Options