Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Remove documentation for removed macros.
details: https://anonhg.NetBSD.org/src/rev/2c293a160b41
branches: trunk
changeset: 750616:2c293a160b41
user: pooka <pooka%NetBSD.org@localhost>
date: Fri Jan 08 12:41:33 2010 +0000
description:
Remove documentation for removed macros.
diffstat:
distrib/sets/lists/comp/mi | 26 +++++++++++++-------------
share/man/man9/Makefile | 5 +----
share/man/man9/vattr.9 | 10 ++--------
share/man/man9/vnode.9 | 22 ++--------------------
4 files changed, 18 insertions(+), 45 deletions(-)
diffs (260 lines):
diff -r 0be322d7311f -r 2c293a160b41 distrib/sets/lists/comp/mi
--- a/distrib/sets/lists/comp/mi Fri Jan 08 12:12:49 2010 +0000
+++ b/distrib/sets/lists/comp/mi Fri Jan 08 12:41:33 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1356 2010/01/08 06:25:14 dyoung Exp $
+# $NetBSD: mi,v 1.1357 2010/01/08 12:41:33 pooka Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@@ -8297,7 +8297,7 @@
./usr/share/man/cat9/FILE_UNUSE.0 comp-sys-catman .cat
./usr/share/man/cat9/FILE_USE.0 comp-sys-catman .cat
./usr/share/man/cat9/FREE.0 comp-sys-catman .cat
-./usr/share/man/cat9/HOLDRELE.0 comp-sys-catman .cat
+./usr/share/man/cat9/HOLDRELE.0 comp-sys-catman obsolete
./usr/share/man/cat9/KASSERT.0 comp-sys-catman .cat
./usr/share/man/cat9/KDASSERT.0 comp-sys-catman .cat
./usr/share/man/cat9/KNOTE.0 comp-sys-catman .cat
@@ -8331,7 +8331,7 @@
./usr/share/man/cat9/SCHED_UNLOCK.0 comp-obsolete obsolete
./usr/share/man/cat9/TC_DENSE_TO_SPARSE.0 comp-sys-catman .cat
./usr/share/man/cat9/TC_PHYS_TO_UNCACHED.0 comp-sys-catman .cat
-./usr/share/man/cat9/VATTR_NULL.0 comp-sys-catman .cat
+./usr/share/man/cat9/VATTR_NULL.0 comp-sys-catman obsolete
./usr/share/man/cat9/VFS_CHECKEXP.0 comp-sys-catman .cat
./usr/share/man/cat9/VFS_FHTOVP.0 comp-sys-catman .cat
./usr/share/man/cat9/VFS_MOUNT.0 comp-sys-catman .cat
@@ -8346,7 +8346,7 @@
./usr/share/man/cat9/VFS_UNMOUNT.0 comp-sys-catman .cat
./usr/share/man/cat9/VFS_VGET.0 comp-sys-catman .cat
./usr/share/man/cat9/VFS_VPTOFH.0 comp-sys-catman .cat
-./usr/share/man/cat9/VHOLD.0 comp-sys-catman .cat
+./usr/share/man/cat9/VHOLD.0 comp-sys-catman obsolete
./usr/share/man/cat9/VOP_ABORTOP.0 comp-sys-catman .cat
./usr/share/man/cat9/VOP_ACCESS.0 comp-sys-catman .cat
./usr/share/man/cat9/VOP_ADVLOCK.0 comp-sys-catman .cat
@@ -8398,7 +8398,7 @@
./usr/share/man/cat9/VOP_VFREE.0 comp-obsolete obsolete
./usr/share/man/cat9/VOP_WHITEOUT.0 comp-sys-catman .cat
./usr/share/man/cat9/VOP_WRITE.0 comp-sys-catman .cat
-./usr/share/man/cat9/VREF.0 comp-sys-catman .cat
+./usr/share/man/cat9/VREF.0 comp-sys-catman obsolete
./usr/share/man/cat9/accept_filt_add.0 comp-sys-catman .cat
./usr/share/man/cat9/accept_filt_del.0 comp-sys-catman .cat
./usr/share/man/cat9/accept_filt_generic_mod_event.0 comp-sys-catman .cat
@@ -13853,7 +13853,7 @@
./usr/share/man/html9/FILE_UNUSE.html comp-sys-htmlman html
./usr/share/man/html9/FILE_USE.html comp-sys-htmlman html
./usr/share/man/html9/FREE.html comp-sys-htmlman html
-./usr/share/man/html9/HOLDRELE.html comp-sys-htmlman html
+./usr/share/man/html9/HOLDRELE.html comp-sys-htmlman obsolete
./usr/share/man/html9/KASSERT.html comp-sys-htmlman html
./usr/share/man/html9/KDASSERT.html comp-sys-htmlman html
./usr/share/man/html9/KNOTE.html comp-sys-htmlman html
@@ -13884,7 +13884,7 @@
./usr/share/man/html9/RUN_ONCE.html comp-sys-htmlman html
./usr/share/man/html9/TC_DENSE_TO_SPARSE.html comp-sys-htmlman html
./usr/share/man/html9/TC_PHYS_TO_UNCACHED.html comp-sys-htmlman html
-./usr/share/man/html9/VATTR_NULL.html comp-sys-htmlman html
+./usr/share/man/html9/VATTR_NULL.html comp-sys-htmlman obsolete
./usr/share/man/html9/VFS_CHECKEXP.html comp-sys-htmlman html
./usr/share/man/html9/VFS_FHTOVP.html comp-sys-htmlman html
./usr/share/man/html9/VFS_MOUNT.html comp-sys-htmlman html
@@ -13898,7 +13898,7 @@
./usr/share/man/html9/VFS_UNMOUNT.html comp-sys-htmlman html
./usr/share/man/html9/VFS_VGET.html comp-sys-htmlman html
./usr/share/man/html9/VFS_VPTOFH.html comp-sys-htmlman html
-./usr/share/man/html9/VHOLD.html comp-sys-htmlman html
+./usr/share/man/html9/VHOLD.html comp-sys-htmlman obsolete
./usr/share/man/html9/VOP_ABORTOP.html comp-sys-htmlman html
./usr/share/man/html9/VOP_ACCESS.html comp-sys-htmlman html
./usr/share/man/html9/VOP_ADVLOCK.html comp-sys-htmlman html
@@ -13943,7 +13943,7 @@
./usr/share/man/html9/VOP_UNLOCK.html comp-sys-htmlman html
./usr/share/man/html9/VOP_WHITEOUT.html comp-sys-htmlman html
./usr/share/man/html9/VOP_WRITE.html comp-sys-htmlman html
-./usr/share/man/html9/VREF.html comp-sys-htmlman html
+./usr/share/man/html9/VREF.html comp-sys-htmlman obsolete
./usr/share/man/html9/accept_filt_add.html comp-sys-htmlman html
./usr/share/man/html9/accept_filt_del.html comp-sys-htmlman html
./usr/share/man/html9/accept_filt_generic_mod_event.html comp-sys-htmlman html
@@ -19496,7 +19496,7 @@
./usr/share/man/man9/FILE_UNUSE.9 comp-sys-man .man
./usr/share/man/man9/FILE_USE.9 comp-sys-man .man
./usr/share/man/man9/FREE.9 comp-sys-man .man
-./usr/share/man/man9/HOLDRELE.9 comp-sys-man .man
+./usr/share/man/man9/HOLDRELE.9 comp-sys-man obsolete
./usr/share/man/man9/KASSERT.9 comp-sys-man .man
./usr/share/man/man9/KDASSERT.9 comp-sys-man .man
./usr/share/man/man9/KNOTE.9 comp-sys-man .man
@@ -19530,7 +19530,7 @@
./usr/share/man/man9/SCHED_UNLOCK.9 comp-obsolete obsolete
./usr/share/man/man9/TC_DENSE_TO_SPARSE.9 comp-sys-man .man
./usr/share/man/man9/TC_PHYS_TO_UNCACHED.9 comp-sys-man .man
-./usr/share/man/man9/VATTR_NULL.9 comp-sys-man .man
+./usr/share/man/man9/VATTR_NULL.9 comp-sys-man obsolete
./usr/share/man/man9/VFS_CHECKEXP.9 comp-sys-man .man
./usr/share/man/man9/VFS_FHTOVP.9 comp-sys-man .man
./usr/share/man/man9/VFS_MOUNT.9 comp-sys-man .man
@@ -19545,7 +19545,7 @@
./usr/share/man/man9/VFS_UNMOUNT.9 comp-sys-man .man
./usr/share/man/man9/VFS_VGET.9 comp-sys-man .man
./usr/share/man/man9/VFS_VPTOFH.9 comp-sys-man .man
-./usr/share/man/man9/VHOLD.9 comp-sys-man .man
+./usr/share/man/man9/VHOLD.9 comp-sys-man obsolete
./usr/share/man/man9/VOP_ABORTOP.9 comp-sys-man .man
./usr/share/man/man9/VOP_ACCESS.9 comp-sys-man .man
./usr/share/man/man9/VOP_ADVLOCK.9 comp-sys-man .man
@@ -19597,7 +19597,7 @@
./usr/share/man/man9/VOP_VFREE.9 comp-obsolete obsolete
./usr/share/man/man9/VOP_WHITEOUT.9 comp-sys-man .man
./usr/share/man/man9/VOP_WRITE.9 comp-sys-man .man
-./usr/share/man/man9/VREF.9 comp-sys-man .man
+./usr/share/man/man9/VREF.9 comp-sys-man obsolete
./usr/share/man/man9/accept_filt_add.9 comp-sys-man .man
./usr/share/man/man9/accept_filt_del.9 comp-sys-man .man
./usr/share/man/man9/accept_filt_generic_mod_event.9 comp-sys-man .man
diff -r 0be322d7311f -r 2c293a160b41 share/man/man9/Makefile
--- a/share/man/man9/Makefile Fri Jan 08 12:12:49 2010 +0000
+++ b/share/man/man9/Makefile Fri Jan 08 12:41:33 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.300 2010/01/08 06:25:14 dyoung Exp $
+# $NetBSD: Makefile,v 1.301 2010/01/08 12:41:33 pooka Exp $
# Makefile for section 9 (kernel function and variable) manual pages.
@@ -743,14 +743,11 @@
vmem.9 vmem_xfree.9
MLINKS+=vnode.9 vcount.9 \
vnode.9 vref.9 \
- vnode.9 VREF.9 \
vnode.9 vrele.9 \
vnode.9 vget.9 \
vnode.9 vput.9 \
vnode.9 vhold.9 \
- vnode.9 VHOLD.9 \
vnode.9 holdrele.9 \
- vnode.9 HOLDRELE.9 \
vnode.9 getnewvnode.9 \
vnode.9 ungetnewvnode.9 \
vnode.9 vrecycle.9 \
diff -r 0be322d7311f -r 2c293a160b41 share/man/man9/vattr.9
--- a/share/man/man9/vattr.9 Fri Jan 08 12:12:49 2010 +0000
+++ b/share/man/man9/vattr.9 Fri Jan 08 12:41:33 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: vattr.9,v 1.13 2010/01/08 00:45:50 pooka Exp $
+.\" $NetBSD: vattr.9,v 1.14 2010/01/08 12:41:33 pooka Exp $
.\"
.\" Copyright (c) 2001 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -32,16 +32,13 @@
.Os
.Sh NAME
.Nm vattr ,
-.Nm vattr_null ,
-.Nm VATTR_NULL
+.Nm vattr_null
.Nd vnode attributes
.Sh SYNOPSIS
.In sys/param.h
.In sys/vnode.h
.Ft void
.Fn vattr_null "struct vattr *vap"
-.Ft void
-.Fn VATTR_NULL "struct vattr *vap"
.Sh DESCRIPTION
Vnode attributes describe attributes of a file or directory including
file permissions, owner, group, size, access time and modification time.
@@ -98,9 +95,6 @@
Set vnode attributes in
.Fa vap
to VNOVAL.
-.It Fn VATTR_NULL "vap"
-This function is an alias for
-.Fn vattr_null .
.El
.Sh CODE REFERENCES
This section describes places within the
diff -r 0be322d7311f -r 2c293a160b41 share/man/man9/vnode.9
--- a/share/man/man9/vnode.9 Fri Jan 08 12:12:49 2010 +0000
+++ b/share/man/man9/vnode.9 Fri Jan 08 12:41:33 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: vnode.9,v 1.41 2009/12/05 20:11:02 pooka Exp $
+.\" $NetBSD: vnode.9,v 1.42 2010/01/08 12:41:33 pooka Exp $
.\"
.\" Copyright (c) 2001, 2005, 2006 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -27,21 +27,18 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd December 5, 2009
+.Dd January 8, 2010
.Dt VNODE 9
.Os
.Sh NAME
.Nm vnode ,
.Nm vcount ,
.Nm vref ,
-.Nm VREF ,
.Nm vrele ,
.Nm vget ,
.Nm vput ,
.Nm vhold ,
-.Nm VHOLD ,
.Nm holdrele ,
-.Nm HOLDRELE ,
.Nm getnewvnode ,
.Nm ungetnewvnode ,
.Nm vrecycle ,
@@ -68,8 +65,6 @@
.Ft void
.Fn vref "struct vnode *vp"
.Ft void
-.Fn VREF "struct vnode *vp"
-.Ft void
.Fn vrele "struct vnode *vp"
.Ft int
.Fn vget "struct vnode *vp" "int lockflag"
@@ -78,11 +73,7 @@
.Ft void
.Fn vhold "struct vnode *vp"
.Ft void
-.Fn VHOLD "struct vnode *vp"
-.Ft void
.Fn holdrele "struct vnode *vp"
-.Ft void
-.Fn HOLDRELE "struct vnode *vp"
.Ft int
.Fn getnewvnode "enum vtagtype tag" "struct mount *mp" "int (**vops)(void *)" "struct vnode **vpp"
.Ft void
@@ -531,9 +522,6 @@
Any kernel thread system which uses a vnode (e.g., during the operation
of some algorithm or to store in a data structure) should call
.Fn vref .
-.It Fn VREF "vp"
-This function is an alias for
-.Fn vref .
.It Fn vrele "vp"
Decrement
.Em v_usecount
@@ -591,18 +579,12 @@
Once on the holdlist, the vnode will not be recycled until it is
released with
.Fn holdrele .
-.It Fn VHOLD "vp"
-This function is an alias for
-.Fn vhold .
.It Fn holdrele "vp"
Mark the vnode
.Fa vp
as inactive by decrementing
.Em vp-\*[Gt]v_holdcnt
and moving the vnode from the holdlist to the freelist.
-.It Fn HOLDRELE "vp"
-This function is an alias for
-.Fn holdrele .
.It Fn getnewvnode "tag" "mp" "vops" "vpp"
Retrieve the next vnode from the freelist.
.Fn getnewvnode
Home |
Main Index |
Thread Index |
Old Index