/* * _reclaim is called when getnewvnode() * wants to make use of an entry on the vnode * free list. at this time the filesystem needs * to free any private data and remove the node * from any private lists. */ int procfs_reclaim(void *v) { struct vop_reclaim_args *ap = v; return (procfs_freevp(ap->a_vp)); }
/* * _reclaim is called when getnewvnode() * wants to make use of an entry on the vnode * free list. at this time the filesystem needs * to free any private data and remove the node * from any private lists. * * procfs_reclaim(struct vnode *a_vp) */ static int procfs_reclaim(struct vop_reclaim_args *ap) { return (procfs_freevp(ap->a_vp)); }