Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man9 Sync declarations with reality, bump date.
details: https://anonhg.NetBSD.org/src/rev/03d8bb03b8ec
branches: trunk
changeset: 748935:03d8bb03b8ec
user: rmind <rmind%NetBSD.org@localhost>
date: Wed Nov 11 08:43:18 2009 +0000
description:
Sync declarations with reality, bump date.
diffstat:
share/man/man9/buffercache.9 | 37 ++++++++++++++++---------------------
1 files changed, 16 insertions(+), 21 deletions(-)
diffs (91 lines):
diff -r 09cca7afd62e -r 03d8bb03b8ec share/man/man9/buffercache.9
--- a/share/man/man9/buffercache.9 Wed Nov 11 07:22:33 2009 +0000
+++ b/share/man/man9/buffercache.9 Wed Nov 11 08:43:18 2009 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: buffercache.9,v 1.23 2008/05/16 09:21:59 hannken Exp $
+.\" $NetBSD: buffercache.9,v 1.24 2009/11/11 08:43:18 rmind Exp $
.\"
.\" Copyright (c)2003 YAMAMOTO Takashi,
.\" All rights reserved.
@@ -101,13 +101,12 @@
.\"
.\"
.\" ------------------------------------------------------------
-.Dd May 16, 2008
+.Dd November 11, 2009
.Dt BUFFERCACHE 9
.Os
.Sh NAME
.Nm buffercache ,
.Nm bread ,
-.Nm breada ,
.Nm breadn ,
.Nm bwrite ,
.Nm bawrite ,
@@ -125,36 +124,32 @@
.In sys/buf.h
.Ft int
.Fn bread "struct vnode *vp" "daddr_t blkno" "int size" \
-"struct kauth_cred *cred" "int flags" "struct buf **bpp"
+"struct kauth_cred *cred" "int flags" "buf_t **bpp"
.Ft int
.Fn breadn "struct vnode *vp" "daddr_t blkno" "int size" \
"daddr_t rablks[]" "int rasizes[]" "int nrablks" \
-"struct kauth_cred *cred" "int flags" "struct buf **bpp"
-.Ft int
-.Fn breada "struct vnode *vp" "daddr_t blkno" "int size" \
-"daddr_t rablkno" "int rabsize" \
-"struct kauth_cred *cred" "int flags" "struct buf **bpp"
+"struct kauth_cred *cred" "int flags" "buf_t **bpp"
.Ft int
-.Fn bwrite "struct buf *bp"
+.Fn bwrite "buf_t *bp"
.Ft void
-.Fn bawrite "struct buf *bp"
+.Fn bawrite "buf_t *bp"
.Ft void
-.Fn bdwrite "struct buf *bp"
-.Ft struct buf *
+.Fn bdwrite "buf_t *bp"
+.Ft buf_t *
.Fn getblk "struct vnode *vp" "daddr_t blkno" "int size" \
"int slpflag" "int slptimeo"
-.Ft struct buf *
+.Ft buf_t *
.Fn geteblk "int size"
-.Ft struct buf *
+.Ft buf_t *
.Fn incore "struct vnode *vp" "daddr_t blkno"
.Ft void
-.Fn allocbuf "struct buf *bp" "int size" "int preserve"
+.Fn allocbuf "buf_t *bp" "int size" "int preserve"
.Ft void
-.Fn brelse "struct buf *bp"
+.Fn brelse "buf_t *bp" "int set"
.Ft void
-.Fn biodone "struct buf *bp"
+.Fn biodone "buf_t *bp"
.Ft int
-.Fn biowait "struct buf *bp"
+.Fn biowait "buf_t *bp"
.\" ------------------------------------------------------------
.Sh DESCRIPTION
The
@@ -170,7 +165,7 @@
.Em buf
structure is also used to describe an I/O request as a part of
the disk driver interface.
-.\" XXX struct buf, B_ flags, MP locks, etc
+.\" XXX buf_t, B_ flags, MP locks, etc
.\" ------------------------------------------------------------
.Sh FUNCTIONS
.Bl -tag -width compact
@@ -324,7 +319,7 @@
If the buffer grows, it is the callers responsibility to fill out
the buffer's additional contents.
.\" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-.It Fn brelse "bp"
+.It Fn brelse "bp" "set"
Unbusy a buffer and release it to the free lists.
.\" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
.It Fn biodone "bp"
Home |
Main Index |
Thread Index |
Old Index