Add vgonel(), although it is used only once.

This commit is contained in:
gmcgarry 2002-10-23 06:15:59 +00:00
parent f062d0205a
commit f73425f16e
2 changed files with 11 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.130 2002/10/20 05:16:32 gmcgarry Exp $
# $NetBSD: Makefile,v 1.131 2002/10/23 06:15:59 gmcgarry Exp $
# Makefile for section 9 (kernel function and variable) manual pages.
@ -469,6 +469,7 @@ MLINKS+=vnode.9 vcount.9 \
vnode.9 ungetnewvnode.9 \
vnode.9 vrecycle.9 \
vnode.9 vgone.9 \
vnode.9 vgonel.9 \
vnode.9 vflush.9 \
vnode.9 vaccess.9 \
vnode.9 checkalias.9 \

View File

@ -1,4 +1,4 @@
.\" $NetBSD: vnode.9,v 1.10 2002/10/14 13:43:36 wiz Exp $
.\" $NetBSD: vnode.9,v 1.11 2002/10/23 06:15:59 gmcgarry Exp $
.\"
.\" Copyright (c) 2001 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -53,6 +53,7 @@
.Nm ungetnewvnode ,
.Nm vrecycle ,
.Nm vgone ,
.Nm vgonel ,
.Nm vflush ,
.Nm vaccess ,
.Nm checkalias ,
@ -97,6 +98,8 @@
.Fn vrecycle "struct vnode *vp" "struct simplelock *inter_lkp" "struct proc *p"
.Ft void
.Fn vgone "struct vnode *vp"
.Ft void
.Fn vgonel "struct vnode *vp"
.Ft int
.Fn vflush "struct mount *mp" "struct vnode *skipvp" "int flags"
.Ft int
@ -642,7 +645,11 @@ to the front of the freelist.
.Fn vrecycle
is a null operation if the reference count is greater than zero.
.It Fn vgone "vp"
Eliminate all activity associated with the vnode
Eliminate all activity associated with the unlocked vnode
.Fa vp
in preparation for recycling.
.It Fn vgonel "vp"
Eliminate all activity associated with the locked vnode
.Fa vp
in preparation for recycling.
.It Fn vflush "mp" "skipvp" "flags"