update after yamt-lazymbuf merge.

This commit is contained in:
yamt 2008-03-24 12:30:17 +00:00
parent eb1ec8f233
commit d77618f875
3 changed files with 8 additions and 19 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: mi,v 1.1122 2008/03/23 07:32:13 bjs Exp $
# $NetBSD: mi,v 1.1123 2008/03/24 12:30:43 yamt Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@ -7225,7 +7225,7 @@
./usr/share/man/cat9/MCLGET.0 comp-sys-catman .cat
./usr/share/man/cat9/MEXTADD.0 comp-sys-catman .cat
./usr/share/man/cat9/MEXTMALLOC.0 comp-sys-catman .cat
./usr/share/man/cat9/MEXTREMOVE.0 comp-sys-catman .cat
./usr/share/man/cat9/MEXTREMOVE.0 comp-obsolete obsolete
./usr/share/man/cat9/MFREE.0 comp-sys-catman .cat
./usr/share/man/cat9/MGET.0 comp-sys-catman .cat
./usr/share/man/cat9/MGETHDR.0 comp-sys-catman .cat
@ -12245,7 +12245,7 @@
./usr/share/man/man9/MCLGET.9 comp-sys-man .man
./usr/share/man/man9/MEXTADD.9 comp-sys-man .man
./usr/share/man/man9/MEXTMALLOC.9 comp-sys-man .man
./usr/share/man/man9/MEXTREMOVE.9 comp-sys-man .man
./usr/share/man/man9/MEXTREMOVE.9 comp-obsolete obsolete
./usr/share/man/man9/MFREE.9 comp-sys-man .man
./usr/share/man/man9/MGET.9 comp-sys-man .man
./usr/share/man/man9/MGETHDR.9 comp-sys-man .man

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.259 2008/03/02 00:30:21 rmind Exp $
# $NetBSD: Makefile,v 1.260 2008/03/24 12:30:17 yamt Exp $
# Makefile for section 9 (kernel function and variable) manual pages.
@ -346,7 +346,7 @@ MLINKS+=mbuf.9 m_get.9 mbuf.9 m_getclr.9 mbuf.9 m_gethdr.9 mbuf.9 m_devget.9 \
mbuf.9 M_MOVE_PKTHDR.9 \
mbuf.9 M_ALIGN.9 mbuf.9 MH_ALIGN.9 mbuf.9 M_LEADINGSPACE.9 \
mbuf.9 M_TRAILINGSPACE.9 mbuf.9 M_PREPEND.9 mbuf.9 MCHTYPE.9 \
mbuf.9 MEXTREMOVE.9 mbuf.9 MFREE.9
mbuf.9 MFREE.9
MLINKS+=mca.9 mca_intr_establish.9 \
mca.9 mca_intr_disestablish.9 \
mca.9 mca_intr_evcnt.9 \

View File

@ -1,4 +1,4 @@
.\" $NetBSD: mbuf.9,v 1.45 2007/07/30 22:48:47 alc Exp $
.\" $NetBSD: mbuf.9,v 1.46 2008/03/24 12:30:17 yamt Exp $
.\"
.\" Copyright (c) 1997 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -34,7 +34,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd July 28, 2006
.Dd March 24, 2008
.Dt MBUF 9
.Os
.Sh NAME
@ -73,7 +73,6 @@
.Nm M_TRAILINGSPACE ,
.Nm M_PREPEND ,
.Nm MCHTYPE ,
.Nm MEXTREMOVE ,
.Nm MFREE ,
.Nd "functions and macros for managing memory used by networking code"
.Sh SYNOPSIS
@ -147,8 +146,6 @@
.Ft void
.Fn MCHTYPE "struct mbuf *m" "int type"
.Ft void
.Fn MEXTREMOVE "struct mbuf *m"
.Ft void
.Fn MFREE "struct mbuf *m" "struct mbuf *n"
.Sh DESCRIPTION
The
@ -612,8 +609,7 @@ The flag
.Dv M_EXT
is set upon success.
Implemented as a macro.
If a free routine is specified, it will be called when the mbuf is freed or
when MEXTREMOVE is called for the mbuf.
If a free routine is specified, it will be called when the mbuf is freed.
In the case of former, the first argument for a free routine is the mbuf
.Fa m
and the routine is expected to free it in addition to the external storage
@ -718,13 +714,6 @@ Change mbuf
to new type
.Fa type .
Implemented as a macro.
.It Fn MEXTREMOVE "struct mbuf *m"
Removes external storage from mbuf
.Fa m .
The flag
.Dv M_EXT
is removed.
Implemented as a macro.
.It Fn MFREE "struct mbuf *m" "struct mbuf *n"
Frees a single mbuf
.Fa m