Sync declarations with reality, bump date.
This commit is contained in:
parent
484f70316c
commit
66d36229df
|
@ -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"
|
||||
"struct kauth_cred *cred" "int flags" "buf_t **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"
|
||||
.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 @@ In addition to describing a cached block, a
|
|||
.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 needed; this routine will not start a write.
|
|||
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"
|
||||
|
|
Loading…
Reference in New Issue