aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1999-12-23 17:22:58 +0000
committerBruce Evans <bde@FreeBSD.org>1999-12-23 17:22:58 +0000
commit5770fb136104860cd7ab44a3d2dbfa89a3e67a42 (patch)
treeff6685dc22066aacc7ffe4cb61940c2f836e1d29 /share
parentbd00dbfafc21d67f71804cf71ad2c259d1f8e196 (diff)
Notes
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/VOP_BWRITE.910
-rw-r--r--share/man/man9/physio.99
2 files changed, 6 insertions, 13 deletions
diff --git a/share/man/man9/VOP_BWRITE.9 b/share/man/man9/VOP_BWRITE.9
index cb62d4b19a6f..da9050d68c27 100644
--- a/share/man/man9/VOP_BWRITE.9
+++ b/share/man/man9/VOP_BWRITE.9
@@ -37,19 +37,17 @@
.Sh SYNOPSIS
.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
-.Fd #include <sys/buf.h>
.Ft int
-.Fn VOP_BWRITE "struct buf *bp"
+.Fn VOP_BWRITE "struct vnode *vp" "struct buf *bp"
.Sh DESCRIPTION
.Pp
The arguments are:
-.Bl -tag -width bp
+.Bl -tag -width vp
+.It Ar vp
+the vnode of the file being written to
.It Ar bp
the buffer to be written
.El
-.Pp
-Most filesystems use the default implementation of this,
-.Fn vn_bwrite .
.Sh RETURN VALUES
Zero is returned on success, otherwise an error is returned.
.Sh SEE ALSO
diff --git a/share/man/man9/physio.9 b/share/man/man9/physio.9
index 3822af1db50f..02114fafe22f 100644
--- a/share/man/man9/physio.9
+++ b/share/man/man9/physio.9
@@ -44,15 +44,10 @@
.Nd initiate I/O on raw devices
.Sh SYNOPSIS
.Fd #include <sys/param.h>
+.Fd #include <sys/systm.h>
.Fd #include <sys/buf.h>
.Ft int
-.Fo physio
-.Fa "void (*strategy)(struct buf *)"
-.Fa "struct buf *bp"
-.Fa "dev_t dev"
-.Fa "int flags"
-.Fa "u_int (*minphys)(struct buf *)"
-.Fa "struct uio *uio"
+.Fn physio "dev_t dev" "struct uio *uio" "int ioflag"
.Fc
.Sh DESCRIPTION
The