Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-3]: src/share/man/man9 Pull up following revision(s) (requested b...
details: https://anonhg.NetBSD.org/src/rev/f80abb5c68b3
branches: netbsd-3
changeset: 577348:f80abb5c68b3
user: riz <riz%NetBSD.org@localhost>
date: Sat Oct 15 15:30:38 2005 +0000
description:
Pull up following revision(s) (requested by xtraeme in ticket #876):
share/man/man9/bufq.9: revision 1.8
* bufq functions are defined in bufq.h not buf.h.
* Add missing bufq_drain() function.
Bump DATE.
diffstat:
share/man/man9/bufq.9 | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
diffs (58 lines):
diff -r 5a5f5a536513 -r f80abb5c68b3 share/man/man9/bufq.9
--- a/share/man/man9/bufq.9 Fri Oct 14 07:01:09 2005 +0000
+++ b/share/man/man9/bufq.9 Sat Oct 15 15:30:38 2005 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: bufq.9,v 1.6.6.1 2005/08/28 10:07:43 tron Exp $
+.\" $NetBSD: bufq.9,v 1.6.6.2 2005/10/15 15:30:38 riz Exp $
.\"
.\" Copyright (c) 2002 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -34,23 +34,26 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd July 9, 2005
+.Dd October 10, 2005
.Dt BUFQ 9
.Os
.Sh NAME
.Nm bufq ,
.Nm bufq_state ,
.Nm bufq_alloc ,
+.Nm bufq_drain ,
.Nm bufq_free ,
.Nm BUFQ_PUT ,
.Nm BUFQ_GET ,
.Nm BUFQ_PEEK
.Nd device buffer queues
.Sh SYNOPSIS
-.In buf.h
+.In sys/bufq.h
.Ft void
.Fn bufq_alloc "struct bufq_state *bufq" "int flags"
.Ft void
+.Fn bufq_drain "struct bufq_state *bufq"
+.Ft void
.Fn bufq_free "struct bufq_state *bufq"
.Ft void
.Fn BUFQ_PUT "struct bufq_state *bufq" "struct buf *bp"
@@ -66,7 +69,7 @@
The primary data type for using the operations is the
.Em bufq_state
structure in
-.Pa buf.h :
+.Pa sys/bufq.h :
.Bd -literal
struct bufq_state {
void (*bq_put)(struct bufq_state *, struct buf *);
@@ -108,6 +111,10 @@
The argument
.Fa flags
controls the strategy and sort order.
+.It Fn bufq_drain "bufq"
+Drain a
+.Em bufq_state
+descriptor.
.It Fn bufq_free "bufq"
Destroy a
.Em bufq_state
Home |
Main Index |
Thread Index |
Old Index