aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/buf.h
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1999-05-07 07:03:47 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1999-05-07 07:03:47 +0000
commitc48d17750f93a0c73afe5ac7d5ec2ce0093a4407 (patch)
tree65710ea07c28c20ceb403a0816d633a6e691c978 /sys/sys/buf.h
parente244fe31d6789109d257d572331deeb0b6125118 (diff)
downloadsrc-c48d17750f93a0c73afe5ac7d5ec2ce0093a4407.tar.gz
src-c48d17750f93a0c73afe5ac7d5ec2ce0093a4407.zip
Introduce two functions: physread() and physwrite() and use these directly
in *devsw[] rather than the 46 local copies of the same functions. (grog will do the same for vinum when he has time)
Notes
Notes: svn path=/head/; revision=46625
Diffstat (limited to 'sys/sys/buf.h')
-rw-r--r--sys/sys/buf.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sys/buf.h b/sys/sys/buf.h
index df12c00cdd99..f05d3d74c63f 100644
--- a/sys/sys/buf.h
+++ b/sys/sys/buf.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)buf.h 8.9 (Berkeley) 3/30/95
- * $Id: buf.h,v 1.67 1999/05/06 17:06:32 phk Exp $
+ * $Id: buf.h,v 1.68 1999/05/06 20:00:32 phk Exp $
*/
#ifndef _SYS_BUF_H_
@@ -381,6 +381,8 @@ int cluster_wbuild __P((struct vnode *, long, daddr_t, int));
void cluster_write __P((struct buf *, u_quad_t));
int physio __P((void (*)(struct buf *), struct buf *, dev_t,
int, u_int (*)(struct buf *), struct uio *));
+int physread __P((dev_t dev, struct uio *uio, int ioflag));
+int physwrite __P((dev_t dev, struct uio *uio, int ioflag));
u_int minphys __P((struct buf *));
void vfs_bio_set_validclean __P((struct buf *, int base, int size));
void vfs_bio_clrbuf __P((struct buf *));