move buffer queue related stuffs from buf.h to their own header, bufq.h.

This commit is contained in:
yamt 2004-10-28 07:07:35 +00:00
parent 043a545875
commit 05f25dcc2a
77 changed files with 374 additions and 218 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: fd.c,v 1.18 2003/08/07 16:26:29 agc Exp $ */
/* $NetBSD: fd.c,v 1.19 2004/10/28 07:07:35 yamt Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -89,7 +89,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.18 2003/08/07 16:26:29 agc Exp $");
__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.19 2004/10/28 07:07:35 yamt Exp $");
#include "opt_ddb.h"
@ -103,6 +103,7 @@ __KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.18 2003/08/07 16:26:29 agc Exp $");
#include <sys/disklabel.h>
#include <sys/disk.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/malloc.h>
#include <sys/uio.h>
#include <sys/syslog.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: fd.c,v 1.62 2003/07/14 15:57:39 aymeric Exp $ */
/* $NetBSD: fd.c,v 1.63 2004/10/28 07:07:35 yamt Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.62 2003/07/14 15:57:39 aymeric Exp $");
__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.63 2004/10/28 07:07:35 yamt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -41,6 +41,7 @@ __KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.62 2003/07/14 15:57:39 aymeric Exp $");
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/device.h>
#include <sys/ioctl.h>
#include <sys/fcntl.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: fd.c,v 1.17 2003/08/07 16:26:50 agc Exp $ */
/* $NetBSD: fd.c,v 1.18 2004/10/28 07:07:36 yamt Exp $ */
/* $OpenBSD: fd.c,v 1.6 1998/10/03 21:18:57 millert Exp $ */
/* NetBSD: fd.c,v 1.78 1995/07/04 07:23:09 mycroft Exp */
@ -73,7 +73,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.17 2003/08/07 16:26:50 agc Exp $");
__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.18 2004/10/28 07:07:36 yamt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -86,6 +86,7 @@ __KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.17 2003/08/07 16:26:50 agc Exp $");
#include <sys/disklabel.h>
#include <sys/disk.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/uio.h>
#include <sys/syslog.h>
#include <sys/queue.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: fd.c,v 1.48 2004/01/04 16:19:43 wiz Exp $ */
/* $NetBSD: fd.c,v 1.49 2004/10/28 07:07:36 yamt Exp $ */
/*
* Copyright (c) 1995 Leo Weppelman.
@ -49,7 +49,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.48 2004/01/04 16:19:43 wiz Exp $");
__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.49 2004/10/28 07:07:36 yamt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -57,6 +57,7 @@ __KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.48 2004/01/04 16:19:43 wiz Exp $");
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/proc.h>
#include <sys/device.h>
#include <sys/ioctl.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: hdfd.c,v 1.43 2004/03/25 10:17:19 leo Exp $ */
/* $NetBSD: hdfd.c,v 1.44 2004/10/28 07:07:36 yamt Exp $ */
/*-
* Copyright (c) 1996 Leo Weppelman
@ -91,7 +91,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: hdfd.c,v 1.43 2004/03/25 10:17:19 leo Exp $");
__KERNEL_RCSID(0, "$NetBSD: hdfd.c,v 1.44 2004/10/28 07:07:36 yamt Exp $");
#include "opt_ddb.h"
@ -105,6 +105,7 @@ __KERNEL_RCSID(0, "$NetBSD: hdfd.c,v 1.43 2004/03/25 10:17:19 leo Exp $");
#include <sys/disklabel.h>
#include <sys/disk.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/malloc.h>
#include <sys/uio.h>
#include <sys/syslog.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: mmemcard.c,v 1.3 2003/07/15 01:31:40 lukem Exp $ */
/* $NetBSD: mmemcard.c,v 1.4 2004/10/28 07:07:36 yamt Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@ -37,10 +37,11 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mmemcard.c,v 1.3 2003/07/15 01:31:40 lukem Exp $");
__KERNEL_RCSID(0, "$NetBSD: mmemcard.c,v 1.4 2004/10/28 07:07:36 yamt Exp $");
#include <sys/param.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/device.h>
#include <sys/disklabel.h>
#include <sys/disk.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ct.c,v 1.38 2004/08/28 17:37:00 thorpej Exp $ */
/* $NetBSD: ct.c,v 1.39 2004/10/28 07:07:36 yamt Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@ -82,11 +82,12 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ct.c,v 1.38 2004/08/28 17:37:00 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: ct.c,v 1.39 2004/10/28 07:07:36 yamt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/conf.h>
#include <sys/device.h>
#include <sys/ioctl.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: mt.c,v 1.26 2004/09/22 09:56:18 yamt Exp $ */
/* $NetBSD: mt.c,v 1.27 2004/10/28 07:07:36 yamt Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@ -67,12 +67,13 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mt.c,v 1.26 2004/09/22 09:56:18 yamt Exp $");
__KERNEL_RCSID(0, "$NetBSD: mt.c,v 1.27 2004/10/28 07:07:36 yamt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/callout.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/ioctl.h>
#include <sys/mtio.h>
#include <sys/file.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: rd.c,v 1.64 2004/08/28 17:45:24 thorpej Exp $ */
/* $NetBSD: rd.c,v 1.65 2004/10/28 07:07:36 yamt Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@ -117,7 +117,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: rd.c,v 1.64 2004/08/28 17:45:24 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: rd.c,v 1.65 2004/10/28 07:07:36 yamt Exp $");
#include "opt_useleds.h"
#include "rnd.h"
@ -125,6 +125,7 @@ __KERNEL_RCSID(0, "$NetBSD: rd.c,v 1.64 2004/08/28 17:45:24 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/conf.h>
#include <sys/device.h>
#include <sys/disk.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: iwm_fd.c,v 1.27 2004/09/22 10:08:51 yamt Exp $ */
/* $NetBSD: iwm_fd.c,v 1.28 2004/10/28 07:07:36 yamt Exp $ */
/*
* Copyright (c) 1997, 1998 Hauke Fath. All rights reserved.
@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: iwm_fd.c,v 1.27 2004/09/22 10:08:51 yamt Exp $");
__KERNEL_RCSID(0, "$NetBSD: iwm_fd.c,v 1.28 2004/10/28 07:07:36 yamt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -53,6 +53,7 @@ __KERNEL_RCSID(0, "$NetBSD: iwm_fd.c,v 1.27 2004/09/22 10:08:51 yamt Exp $");
#include <sys/disk.h>
#include <sys/dkbad.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/uio.h>
#include <sys/stat.h>
#include <sys/syslog.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: hp.c,v 1.1 2003/08/19 10:51:57 ragge Exp $ */
/* $NetBSD: hp.c,v 1.2 2004/10/28 07:07:38 yamt Exp $ */
/*
* Copyright (c) 1996 Ludd, University of Lule}, Sweden.
* All rights reserved.
@ -47,6 +47,7 @@
#include <sys/disk.h>
#include <sys/dkio.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/stat.h>
#include <sys/ioccom.h>
#include <sys/fcntl.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: fd.c,v 1.115 2004/09/19 19:09:24 he Exp $ */
/* $NetBSD: fd.c,v 1.116 2004/10/28 07:07:38 yamt Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -108,7 +108,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.115 2004/09/19 19:09:24 he Exp $");
__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.116 2004/10/28 07:07:38 yamt Exp $");
#include "opt_ddb.h"
#include "opt_md.h"
@ -124,6 +124,7 @@ __KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.115 2004/09/19 19:09:24 he Exp $");
#include <sys/disk.h>
#include <sys/fdio.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/malloc.h>
#include <sys/proc.h>
#include <sys/uio.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: fd.c,v 1.40 2004/03/24 15:44:46 pk Exp $ */
/* $NetBSD: fd.c,v 1.41 2004/10/28 07:07:38 yamt Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -72,7 +72,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.40 2004/03/24 15:44:46 pk Exp $");
__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.41 2004/10/28 07:07:38 yamt Exp $");
#include "opt_ddb.h"
@ -87,6 +87,7 @@ __KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.40 2004/03/24 15:44:46 pk Exp $");
#include <sys/disk.h>
#include <sys/fdio.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/malloc.h>
#include <sys/proc.h>
#include <sys/uio.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: xd.c,v 1.46 2003/09/29 09:50:22 wiz Exp $ */
/* $NetBSD: xd.c,v 1.47 2004/10/28 07:07:38 yamt Exp $ */
/*
*
@ -52,7 +52,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: xd.c,v 1.46 2003/09/29 09:50:22 wiz Exp $");
__KERNEL_RCSID(0, "$NetBSD: xd.c,v 1.47 2004/10/28 07:07:38 yamt Exp $");
#undef XDC_DEBUG /* full debug */
#define XDC_DIAG /* extra sanity checks */
@ -68,6 +68,7 @@ __KERNEL_RCSID(0, "$NetBSD: xd.c,v 1.46 2003/09/29 09:50:22 wiz Exp $");
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/uio.h>
#include <sys/malloc.h>
#include <sys/device.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: xy.c,v 1.48 2003/09/29 09:50:22 wiz Exp $ */
/* $NetBSD: xy.c,v 1.49 2004/10/28 07:07:38 yamt Exp $ */
/*
*
@ -52,7 +52,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: xy.c,v 1.48 2003/09/29 09:50:22 wiz Exp $");
__KERNEL_RCSID(0, "$NetBSD: xy.c,v 1.49 2004/10/28 07:07:38 yamt Exp $");
#undef XYC_DEBUG /* full debug */
#undef XYC_DIAG /* extra sanity checks */
@ -68,6 +68,7 @@ __KERNEL_RCSID(0, "$NetBSD: xy.c,v 1.48 2003/09/29 09:50:22 wiz Exp $");
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/uio.h>
#include <sys/malloc.h>
#include <sys/device.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: hp.c,v 1.36 2003/12/29 16:23:58 pk Exp $ */
/* $NetBSD: hp.c,v 1.37 2004/10/28 07:07:38 yamt Exp $ */
/*
* Copyright (c) 1996 Ludd, University of Lule}, Sweden.
* All rights reserved.
@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: hp.c,v 1.36 2003/12/29 16:23:58 pk Exp $");
__KERNEL_RCSID(0, "$NetBSD: hp.c,v 1.37 2004/10/28 07:07:38 yamt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -51,6 +51,7 @@ __KERNEL_RCSID(0, "$NetBSD: hp.c,v 1.36 2003/12/29 16:23:58 pk Exp $");
#include <sys/disk.h>
#include <sys/dkio.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/stat.h>
#include <sys/ioccom.h>
#include <sys/fcntl.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ctu.c,v 1.20 2003/11/06 00:30:13 he Exp $ */
/* $NetBSD: ctu.c,v 1.21 2004/10/28 07:07:39 yamt Exp $ */
/*
* Copyright (c) 1996 Ludd, University of Lule}, Sweden.
* All rights reserved.
@ -40,13 +40,14 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ctu.c,v 1.20 2003/11/06 00:30:13 he Exp $");
__KERNEL_RCSID(0, "$NetBSD: ctu.c,v 1.21 2004/10/28 07:07:39 yamt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/callout.h>
#include <sys/kernel.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/fcntl.h>
#include <sys/malloc.h>
#include <sys/ioctl.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: hdc9224.c,v 1.30 2003/07/15 02:15:06 lukem Exp $ */
/* $NetBSD: hdc9224.c,v 1.31 2004/10/28 07:07:39 yamt Exp $ */
/*
* Copyright (c) 1996 Ludd, University of Lule}, Sweden.
* All rights reserved.
@ -51,7 +51,7 @@
#undef RDDEBUG
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: hdc9224.c,v 1.30 2003/07/15 02:15:06 lukem Exp $");
__KERNEL_RCSID(0, "$NetBSD: hdc9224.c,v 1.31 2004/10/28 07:07:39 yamt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -61,6 +61,7 @@ __KERNEL_RCSID(0, "$NetBSD: hdc9224.c,v 1.30 2003/07/15 02:15:06 lukem Exp $");
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/proc.h>
#include <sys/user.h>
#include <sys/device.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: fd.c,v 1.61 2004/05/08 08:38:36 minoura Exp $ */
/* $NetBSD: fd.c,v 1.62 2004/10/28 07:07:39 yamt Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -71,7 +71,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.61 2004/05/08 08:38:36 minoura Exp $");
__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.62 2004/10/28 07:07:39 yamt Exp $");
#include "rnd.h"
#include "opt_ddb.h"
@ -90,6 +90,7 @@ __KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.61 2004/05/08 08:38:36 minoura Exp $");
#include <sys/disklabel.h>
#include <sys/disk.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/uio.h>
#include <sys/syslog.h>
#include <sys/queue.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: xbd.c,v 1.10 2004/09/15 04:55:21 tls Exp $ */
/* $NetBSD: xbd.c,v 1.11 2004/10/28 07:07:39 yamt Exp $ */
/*
*
@ -33,7 +33,7 @@
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: xbd.c,v 1.10 2004/09/15 04:55:21 tls Exp $");
__KERNEL_RCSID(0, "$NetBSD: xbd.c,v 1.11 2004/10/28 07:07:39 yamt Exp $");
#include "xbd.h"
#include "rnd.h"
@ -44,6 +44,7 @@ __KERNEL_RCSID(0, "$NetBSD: xbd.c,v 1.10 2004/09/15 04:55:21 tls Exp $");
#include <sys/proc.h>
#include <sys/errno.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/malloc.h>
#include <sys/pool.h>
#include <sys/ioctl.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: fdc_acpi.c,v 1.22 2004/05/01 12:03:48 kochi Exp $ */
/* $NetBSD: fdc_acpi.c,v 1.23 2004/10/28 07:07:39 yamt Exp $ */
/*
* Copyright (c) 2002 Jared D. McNeill <jmcneill@invisible.ca>
@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: fdc_acpi.c,v 1.22 2004/05/01 12:03:48 kochi Exp $");
__KERNEL_RCSID(0, "$NetBSD: fdc_acpi.c,v 1.23 2004/10/28 07:07:39 yamt Exp $");
#include "rnd.h"
@ -40,6 +40,7 @@ __KERNEL_RCSID(0, "$NetBSD: fdc_acpi.c,v 1.22 2004/05/01 12:03:48 kochi Exp $");
#include <sys/callout.h>
#include <sys/device.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/queue.h>
#include <sys/disk.h>
#if NRND > 0

View File

@ -1,4 +1,4 @@
/* $NetBSD: ata_raid.c,v 1.10 2004/10/15 04:38:36 thorpej Exp $ */
/* $NetBSD: ata_raid.c,v 1.11 2004/10/28 07:07:39 yamt Exp $ */
/*
* Copyright (c) 2003 Wasabi Systems, Inc.
@ -40,10 +40,11 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ata_raid.c,v 1.10 2004/10/15 04:38:36 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: ata_raid.c,v 1.11 2004/10/28 07:07:39 yamt Exp $");
#include <sys/param.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/conf.h>
#include <sys/device.h>
#include <sys/disk.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ata_raid_promise.c,v 1.3 2003/12/14 05:37:25 thorpej Exp $ */
/* $NetBSD: ata_raid_promise.c,v 1.4 2004/10/28 07:07:39 yamt Exp $ */
/*-
* Copyright (c) 2000,2001,2002 Søren Schmidt <sos@FreeBSD.org>
@ -35,10 +35,11 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ata_raid_promise.c,v 1.3 2003/12/14 05:37:25 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: ata_raid_promise.c,v 1.4 2004/10/28 07:07:39 yamt Exp $");
#include <sys/param.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/conf.h>
#include <sys/device.h>
#include <sys/disk.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ata_wdc.c,v 1.75 2004/08/21 02:17:07 thorpej Exp $ */
/* $NetBSD: ata_wdc.c,v 1.76 2004/10/28 07:07:39 yamt Exp $ */
/*
* Copyright (c) 1998, 2001, 2003 Manuel Bouyer.
@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ata_wdc.c,v 1.75 2004/08/21 02:17:07 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: ata_wdc.c,v 1.76 2004/10/28 07:07:39 yamt Exp $");
#ifndef ATADEBUG
#define ATADEBUG
@ -78,6 +78,7 @@ __KERNEL_RCSID(0, "$NetBSD: ata_wdc.c,v 1.75 2004/08/21 02:17:07 thorpej Exp $")
#include <sys/file.h>
#include <sys/stat.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/malloc.h>
#include <sys/device.h>
#include <sys/disklabel.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ld_ataraid.c,v 1.12 2004/09/17 23:21:53 enami Exp $ */
/* $NetBSD: ld_ataraid.c,v 1.13 2004/10/28 07:07:39 yamt Exp $ */
/*
* Copyright (c) 2003 Wasabi Systems, Inc.
@ -45,7 +45,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ld_ataraid.c,v 1.12 2004/09/17 23:21:53 enami Exp $");
__KERNEL_RCSID(0, "$NetBSD: ld_ataraid.c,v 1.13 2004/10/28 07:07:39 yamt Exp $");
#include "rnd.h"
@ -55,6 +55,7 @@ __KERNEL_RCSID(0, "$NetBSD: ld_ataraid.c,v 1.12 2004/09/17 23:21:53 enami Exp $"
#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/dkio.h>
#include <sys/disk.h>
#include <sys/disklabel.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: wd.c,v 1.295 2004/09/28 18:22:33 bouyer Exp $ */
/* $NetBSD: wd.c,v 1.296 2004/10/28 07:07:39 yamt Exp $ */
/*
* Copyright (c) 1998, 2001 Manuel Bouyer. All rights reserved.
@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.295 2004/09/28 18:22:33 bouyer Exp $");
__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.296 2004/10/28 07:07:39 yamt Exp $");
#ifndef ATADEBUG
#define ATADEBUG
@ -82,6 +82,7 @@ __KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.295 2004/09/28 18:22:33 bouyer Exp $");
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/uio.h>
#include <sys/malloc.h>
#include <sys/device.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ccd.c,v 1.100 2004/10/26 22:44:45 thorpej Exp $ */
/* $NetBSD: ccd.c,v 1.101 2004/10/28 07:07:39 yamt Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 1999 The NetBSD Foundation, Inc.
@ -125,13 +125,14 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ccd.c,v 1.100 2004/10/26 22:44:45 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: ccd.c,v 1.101 2004/10/28 07:07:39 yamt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/errno.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/malloc.h>
#include <sys/pool.h>
#include <sys/namei.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: cgd.c,v 1.20 2004/10/04 11:12:09 yamt Exp $ */
/* $NetBSD: cgd.c,v 1.21 2004/10/28 07:07:39 yamt Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.20 2004/10/04 11:12:09 yamt Exp $");
__KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.21 2004/10/28 07:07:39 yamt Exp $");
#include <sys/types.h>
#include <sys/param.h>
@ -45,6 +45,7 @@ __KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.20 2004/10/04 11:12:09 yamt Exp $");
#include <sys/proc.h>
#include <sys/errno.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/malloc.h>
#include <sys/pool.h>
#include <sys/ioctl.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: dksubr.c,v 1.13 2004/08/23 05:39:46 thorpej Exp $ */
/* $NetBSD: dksubr.c,v 1.14 2004/10/28 07:07:39 yamt Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 1999, 2002 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: dksubr.c,v 1.13 2004/08/23 05:39:46 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: dksubr.c,v 1.14 2004/10/28 07:07:39 yamt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -47,6 +47,8 @@ __KERNEL_RCSID(0, "$NetBSD: dksubr.c,v 1.13 2004/08/23 05:39:46 thorpej Exp $");
#include <sys/device.h>
#include <sys/disk.h>
#include <sys/disklabel.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/vnode.h>
#include <sys/fcntl.h>
#include <sys/namei.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: dk.c,v 1.4 2004/10/26 22:50:16 thorpej Exp $ */
/* $NetBSD: dk.c,v 1.5 2004/10/28 07:07:40 yamt Exp $ */
/*-
* Copyright (c) 2004 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: dk.c,v 1.4 2004/10/26 22:50:16 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: dk.c,v 1.5 2004/10/28 07:07:40 yamt Exp $");
#include "opt_dkwedge.h"
@ -50,6 +50,8 @@ __KERNEL_RCSID(0, "$NetBSD: dk.c,v 1.4 2004/10/26 22:50:16 thorpej Exp $");
#include <sys/disklabel.h>
#include <sys/disk.h>
#include <sys/fcntl.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/vnode.h>
#include <sys/stat.h>
#include <sys/conf.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: fss.c,v 1.9 2004/06/20 18:55:58 hannken Exp $ */
/* $NetBSD: fss.c,v 1.10 2004/10/28 07:07:39 yamt Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: fss.c,v 1.9 2004/06/20 18:55:58 hannken Exp $");
__KERNEL_RCSID(0, "$NetBSD: fss.c,v 1.10 2004/10/28 07:07:39 yamt Exp $");
#include "fss.h"
@ -53,6 +53,7 @@ __KERNEL_RCSID(0, "$NetBSD: fss.c,v 1.9 2004/06/20 18:55:58 hannken Exp $");
#include <sys/proc.h>
#include <sys/errno.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/malloc.h>
#include <sys/ioctl.h>
#include <sys/disklabel.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ct.c,v 1.2 2003/08/07 16:30:55 agc Exp $ */
/* $NetBSD: ct.c,v 1.3 2004/10/28 07:07:40 yamt Exp $ */
/*-
* Copyright (c) 1996-2003 The NetBSD Foundation, Inc.
@ -128,11 +128,12 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ct.c,v 1.2 2003/08/07 16:30:55 agc Exp $");
__KERNEL_RCSID(0, "$NetBSD: ct.c,v 1.3 2004/10/28 07:07:40 yamt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/conf.h>
#include <sys/device.h>
#include <sys/ioctl.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: mt.c,v 1.2 2003/08/07 16:30:56 agc Exp $ */
/* $NetBSD: mt.c,v 1.3 2004/10/28 07:07:40 yamt Exp $ */
/*-
* Copyright (c) 1996-2003 The NetBSD Foundation, Inc.
@ -121,12 +121,13 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mt.c,v 1.2 2003/08/07 16:30:56 agc Exp $");
__KERNEL_RCSID(0, "$NetBSD: mt.c,v 1.3 2004/10/28 07:07:40 yamt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/callout.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/ioctl.h>
#include <sys/mtio.h>
#include <sys/file.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: rd.c,v 1.3 2004/08/28 17:45:24 thorpej Exp $ */
/* $NetBSD: rd.c,v 1.4 2004/10/28 07:07:40 yamt Exp $ */
/*-
* Copyright (c) 1996-2003 The NetBSD Foundation, Inc.
@ -118,13 +118,14 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: rd.c,v 1.3 2004/08/28 17:45:24 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: rd.c,v 1.4 2004/10/28 07:07:40 yamt Exp $");
#include "rnd.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/callout.h>
#include <sys/conf.h>
#include <sys/device.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ld_iop.c,v 1.14 2004/04/19 12:44:10 wiz Exp $ */
/* $NetBSD: ld_iop.c,v 1.15 2004/10/28 07:07:40 yamt Exp $ */
/*-
* Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ld_iop.c,v 1.14 2004/04/19 12:44:10 wiz Exp $");
__KERNEL_RCSID(0, "$NetBSD: ld_iop.c,v 1.15 2004/10/28 07:07:40 yamt Exp $");
#include "opt_i2o.h"
#include "rnd.h"
@ -53,6 +53,7 @@ __KERNEL_RCSID(0, "$NetBSD: ld_iop.c,v 1.14 2004/04/19 12:44:10 wiz Exp $");
#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/endian.h>
#include <sys/dkio.h>
#include <sys/disk.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ld_aac.c,v 1.5 2002/10/02 16:33:33 thorpej Exp $ */
/* $NetBSD: ld_aac.c,v 1.6 2004/10/28 07:07:40 yamt Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ld_aac.c,v 1.5 2002/10/02 16:33:33 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: ld_aac.c,v 1.6 2004/10/28 07:07:40 yamt Exp $");
#include "rnd.h"
@ -46,6 +46,7 @@ __KERNEL_RCSID(0, "$NetBSD: ld_aac.c,v 1.5 2002/10/02 16:33:33 thorpej Exp $");
#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/endian.h>
#include <sys/dkio.h>
#include <sys/disk.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ld_cac.c,v 1.8 2002/10/02 16:33:33 thorpej Exp $ */
/* $NetBSD: ld_cac.c,v 1.9 2004/10/28 07:07:40 yamt Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ld_cac.c,v 1.8 2002/10/02 16:33:33 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: ld_cac.c,v 1.9 2004/10/28 07:07:40 yamt Exp $");
#include "rnd.h"
@ -50,6 +50,7 @@ __KERNEL_RCSID(0, "$NetBSD: ld_cac.c,v 1.8 2002/10/02 16:33:33 thorpej Exp $");
#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/endian.h>
#include <sys/dkio.h>
#include <sys/disk.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ld_icp.c,v 1.8 2003/06/13 05:57:31 thorpej Exp $ */
/* $NetBSD: ld_icp.c,v 1.9 2004/10/28 07:07:40 yamt Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ld_icp.c,v 1.8 2003/06/13 05:57:31 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: ld_icp.c,v 1.9 2004/10/28 07:07:40 yamt Exp $");
#include "rnd.h"
@ -50,6 +50,7 @@ __KERNEL_RCSID(0, "$NetBSD: ld_icp.c,v 1.8 2003/06/13 05:57:31 thorpej Exp $");
#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/endian.h>
#include <sys/dkio.h>
#include <sys/disk.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ld_mlx.c,v 1.7 2002/10/02 16:33:34 thorpej Exp $ */
/* $NetBSD: ld_mlx.c,v 1.8 2004/10/28 07:07:40 yamt Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ld_mlx.c,v 1.7 2002/10/02 16:33:34 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: ld_mlx.c,v 1.8 2004/10/28 07:07:40 yamt Exp $");
#include "rnd.h"
@ -50,6 +50,7 @@ __KERNEL_RCSID(0, "$NetBSD: ld_mlx.c,v 1.7 2002/10/02 16:33:34 thorpej Exp $");
#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/endian.h>
#include <sys/dkio.h>
#include <sys/disk.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: mlx.c,v 1.30 2004/09/13 12:55:47 drochner Exp $ */
/* $NetBSD: mlx.c,v 1.31 2004/10/28 07:07:40 yamt Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -74,7 +74,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mlx.c,v 1.30 2004/09/13 12:55:47 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: mlx.c,v 1.31 2004/10/28 07:07:40 yamt Exp $");
#include "ld.h"
@ -85,6 +85,7 @@ __KERNEL_RCSID(0, "$NetBSD: mlx.c,v 1.30 2004/09/13 12:55:47 drochner Exp $");
#include <sys/queue.h>
#include <sys/proc.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/endian.h>
#include <sys/malloc.h>
#include <sys/conf.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: rrunner.c,v 1.45 2004/04/22 00:17:11 itojun Exp $ */
/* $NetBSD: rrunner.c,v 1.46 2004/10/28 07:07:40 yamt Exp $ */
/*
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: rrunner.c,v 1.45 2004/04/22 00:17:11 itojun Exp $");
__KERNEL_RCSID(0, "$NetBSD: rrunner.c,v 1.46 2004/10/28 07:07:40 yamt Exp $");
#include "opt_inet.h"
#include "opt_ns.h"
@ -54,6 +54,7 @@ __KERNEL_RCSID(0, "$NetBSD: rrunner.c,v 1.45 2004/04/22 00:17:11 itojun Exp $");
#include <sys/systm.h>
#include <sys/mbuf.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <sys/errno.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: fd.c,v 1.54 2004/09/18 16:40:11 yamt Exp $ */
/* $NetBSD: fd.c,v 1.55 2004/10/28 07:07:40 yamt Exp $ */
/*-
* Copyright (c) 1998, 2003 The NetBSD Foundation, Inc.
@ -88,7 +88,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.54 2004/09/18 16:40:11 yamt Exp $");
__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.55 2004/10/28 07:07:40 yamt Exp $");
#include "rnd.h"
#include "opt_ddb.h"
@ -113,6 +113,7 @@ __KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.54 2004/09/18 16:40:11 yamt Exp $");
#include <sys/disklabel.h>
#include <sys/disk.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/malloc.h>
#include <sys/uio.h>
#include <sys/syslog.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: mcd.c,v 1.86 2004/09/14 20:20:48 drochner Exp $ */
/* $NetBSD: mcd.c,v 1.87 2004/10/28 07:07:40 yamt Exp $ */
/*
* Copyright (c) 1993, 1994, 1995 Charles M. Hannum. All rights reserved.
@ -56,7 +56,7 @@
/*static char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore";*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mcd.c,v 1.86 2004/09/14 20:20:48 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: mcd.c,v 1.87 2004/10/28 07:07:40 yamt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -66,6 +66,7 @@ __KERNEL_RCSID(0, "$NetBSD: mcd.c,v 1.86 2004/09/14 20:20:48 drochner Exp $");
#include <sys/conf.h>
#include <sys/file.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/stat.h>
#include <sys/uio.h>
#include <sys/ioctl.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ld.c,v 1.32 2004/10/26 22:46:13 thorpej Exp $ */
/* $NetBSD: ld.c,v 1.33 2004/10/28 07:07:39 yamt Exp $ */
/*-
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ld.c,v 1.32 2004/10/26 22:46:13 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: ld.c,v 1.33 2004/10/28 07:07:39 yamt Exp $");
#include "rnd.h"
@ -52,6 +52,7 @@ __KERNEL_RCSID(0, "$NetBSD: ld.c,v 1.32 2004/10/26 22:46:13 thorpej Exp $");
#include <sys/queue.h>
#include <sys/proc.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/endian.h>
#include <sys/disklabel.h>
#include <sys/disk.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ed_mca.c,v 1.26 2004/09/25 16:13:42 thorpej Exp $ */
/* $NetBSD: ed_mca.c,v 1.27 2004/10/28 07:07:40 yamt Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ed_mca.c,v 1.26 2004/09/25 16:13:42 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: ed_mca.c,v 1.27 2004/10/28 07:07:40 yamt Exp $");
#include "rnd.h"
@ -50,6 +50,7 @@ __KERNEL_RCSID(0, "$NetBSD: ed_mca.c,v 1.26 2004/09/25 16:13:42 thorpej Exp $");
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/uio.h>
#include <sys/malloc.h>
#include <sys/device.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: edc_mca.c,v 1.25 2004/09/01 20:57:58 drochner Exp $ */
/* $NetBSD: edc_mca.c,v 1.26 2004/10/28 07:07:40 yamt Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -50,12 +50,14 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: edc_mca.c,v 1.25 2004/09/01 20:57:58 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: edc_mca.c,v 1.26 2004/10/28 07:07:40 yamt Exp $");
#include "rnd.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/errno.h>
#include <sys/device.h>
#include <sys/malloc.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.c,v 1.38 2004/08/30 00:34:42 thorpej Exp $ */
/* $NetBSD: md.c,v 1.39 2004/10/28 07:07:39 yamt Exp $ */
/*
* Copyright (c) 1995 Gordon W. Ross, Leo Weppelman.
@ -46,7 +46,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: md.c,v 1.38 2004/08/30 00:34:42 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: md.c,v 1.39 2004/10/28 07:07:39 yamt Exp $");
#include "opt_md.h"
@ -55,6 +55,7 @@ __KERNEL_RCSID(0, "$NetBSD: md.c,v 1.38 2004/08/30 00:34:42 thorpej Exp $");
#include <sys/malloc.h>
#include <sys/systm.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/device.h>
#include <sys/disk.h>
#include <sys/proc.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: mscp_subr.c,v 1.24 2003/08/07 16:31:09 agc Exp $ */
/* $NetBSD: mscp_subr.c,v 1.25 2004/10/28 07:07:40 yamt Exp $ */
/*
* Copyright (c) 1988 Regents of the University of California.
* All rights reserved.
@ -75,11 +75,12 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mscp_subr.c,v 1.24 2003/08/07 16:31:09 agc Exp $");
__KERNEL_RCSID(0, "$NetBSD: mscp_subr.c,v 1.25 2004/10/28 07:07:40 yamt Exp $");
#include <sys/param.h>
#include <sys/device.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/systm.h>
#include <sys/proc.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_esh_pci.c,v 1.15 2004/08/21 23:48:33 thorpej Exp $ */
/* $NetBSD: if_esh_pci.c,v 1.16 2004/10/28 07:07:41 yamt Exp $ */
/*
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_esh_pci.c,v 1.15 2004/08/21 23:48:33 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_esh_pci.c,v 1.16 2004/10/28 07:07:41 yamt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -53,6 +53,7 @@ __KERNEL_RCSID(0, "$NetBSD: if_esh_pci.c,v 1.15 2004/08/21 23:48:33 thorpej Exp
#include <sys/select.h>
#include <sys/device.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <net/if.h>
#include <net/if_dl.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ld_amr.c,v 1.5 2003/05/04 16:15:36 ad Exp $ */
/* $NetBSD: ld_amr.c,v 1.6 2004/10/28 07:07:41 yamt Exp $ */
/*-
* Copyright (c) 2002, 2003 The NetBSD Foundation, Inc.
@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ld_amr.c,v 1.5 2003/05/04 16:15:36 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: ld_amr.c,v 1.6 2004/10/28 07:07:41 yamt Exp $");
#include "rnd.h"
@ -50,6 +50,7 @@ __KERNEL_RCSID(0, "$NetBSD: ld_amr.c,v 1.5 2003/05/04 16:15:36 ad Exp $");
#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/endian.h>
#include <sys/dkio.h>
#include <sys/disk.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ld_twe.c,v 1.20 2004/05/27 23:48:34 thorpej Exp $ */
/* $NetBSD: ld_twe.c,v 1.21 2004/10/28 07:07:41 yamt Exp $ */
/*-
* Copyright (c) 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ld_twe.c,v 1.20 2004/05/27 23:48:34 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: ld_twe.c,v 1.21 2004/10/28 07:07:41 yamt Exp $");
#include "rnd.h"
@ -50,6 +50,7 @@ __KERNEL_RCSID(0, "$NetBSD: ld_twe.c,v 1.20 2004/05/27 23:48:34 thorpej Exp $");
#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/endian.h>
#include <sys/dkio.h>
#include <sys/disk.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: rf.c,v 1.6 2004/10/06 12:12:42 wiz Exp $ */
/* $NetBSD: rf.c,v 1.7 2004/10/28 07:07:41 yamt Exp $ */
/*
* Copyright (c) 2002 Jochen Kunz.
* All rights reserved.
@ -36,7 +36,7 @@ TODO:
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: rf.c,v 1.6 2004/10/06 12:12:42 wiz Exp $");
__KERNEL_RCSID(0, "$NetBSD: rf.c,v 1.7 2004/10/28 07:07:41 yamt Exp $");
/* autoconfig stuff */
#include <sys/param.h>
@ -63,6 +63,7 @@ __KERNEL_RCSID(0, "$NetBSD: rf.c,v 1.6 2004/10/06 12:12:42 wiz Exp $");
/* physio / buffer handling */
#include <sys/buf.h>
#include <sys/bufq.h>
/* tsleep / sleep / wakeup */
#include <sys/proc.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: rl.c,v 1.22 2004/09/25 16:27:38 thorpej Exp $ */
/* $NetBSD: rl.c,v 1.23 2004/10/28 07:07:41 yamt Exp $ */
/*
* Copyright (c) 2000 Ludd, University of Lule}, Sweden. All rights reserved.
@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: rl.c,v 1.22 2004/09/25 16:27:38 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: rl.c,v 1.23 2004/10/28 07:07:41 yamt Exp $");
#include <sys/param.h>
#include <sys/device.h>
@ -52,6 +52,7 @@ __KERNEL_RCSID(0, "$NetBSD: rl.c,v 1.22 2004/09/25 16:27:38 thorpej Exp $");
#include <sys/disk.h>
#include <sys/disklabel.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/stat.h>
#include <sys/dkio.h>
#include <sys/fcntl.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ts.c,v 1.11 2003/08/07 16:31:17 agc Exp $ */
/* $NetBSD: ts.c,v 1.12 2004/10/28 07:07:41 yamt Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ts.c,v 1.11 2003/08/07 16:31:17 agc Exp $");
__KERNEL_RCSID(0, "$NetBSD: ts.c,v 1.12 2004/10/28 07:07:41 yamt Exp $");
#undef TSDEBUG
@ -82,6 +82,7 @@ __KERNEL_RCSID(0, "$NetBSD: ts.c,v 1.11 2003/08/07 16:31:17 agc Exp $");
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/conf.h>
#include <sys/errno.h>
#include <sys/file.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: rf_netbsdkintf.c,v 1.181 2004/10/15 06:41:35 thorpej Exp $ */
/* $NetBSD: rf_netbsdkintf.c,v 1.182 2004/10/28 07:07:44 yamt Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
* All rights reserved.
@ -146,7 +146,7 @@
***********************************************************/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.181 2004/10/15 06:41:35 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.182 2004/10/28 07:07:44 yamt Exp $");
#include <sys/param.h>
#include <sys/errno.h>
@ -165,6 +165,7 @@ __KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.181 2004/10/15 06:41:35 thorpej
#include <sys/conf.h>
#include <sys/lock.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/user.h>
#include <sys/reboot.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: cd.c,v 1.210 2004/09/26 09:00:37 dogcow Exp $ */
/* $NetBSD: cd.c,v 1.211 2004/10/28 07:07:45 yamt Exp $ */
/*-
* Copyright (c) 1998, 2001, 2003, 2004 The NetBSD Foundation, Inc.
@ -54,7 +54,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: cd.c,v 1.210 2004/09/26 09:00:37 dogcow Exp $");
__KERNEL_RCSID(0, "$NetBSD: cd.c,v 1.211 2004/10/28 07:07:45 yamt Exp $");
#include "rnd.h"
@ -65,6 +65,7 @@ __KERNEL_RCSID(0, "$NetBSD: cd.c,v 1.210 2004/09/26 09:00:37 dogcow Exp $");
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/uio.h>
#include <sys/malloc.h>
#include <sys/errno.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: sd.c,v 1.228 2004/09/26 09:00:37 dogcow Exp $ */
/* $NetBSD: sd.c,v 1.229 2004/10/28 07:07:45 yamt Exp $ */
/*-
* Copyright (c) 1998, 2003, 2004 The NetBSD Foundation, Inc.
@ -54,7 +54,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sd.c,v 1.228 2004/09/26 09:00:37 dogcow Exp $");
__KERNEL_RCSID(0, "$NetBSD: sd.c,v 1.229 2004/10/28 07:07:45 yamt Exp $");
#include "opt_scsi.h"
#include "rnd.h"
@ -67,6 +67,7 @@ __KERNEL_RCSID(0, "$NetBSD: sd.c,v 1.228 2004/09/26 09:00:37 dogcow Exp $");
#include <sys/ioctl.h>
#include <sys/scsiio.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/uio.h>
#include <sys/malloc.h>
#include <sys/errno.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ss.c,v 1.56 2004/10/17 17:49:04 bouyer Exp $ */
/* $NetBSD: ss.c,v 1.57 2004/10/28 07:07:45 yamt Exp $ */
/*
* Copyright (c) 1995 Kenneth Stailey. All rights reserved.
@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ss.c,v 1.56 2004/10/17 17:49:04 bouyer Exp $");
__KERNEL_RCSID(0, "$NetBSD: ss.c,v 1.57 2004/10/28 07:07:45 yamt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -40,6 +40,7 @@ __KERNEL_RCSID(0, "$NetBSD: ss.c,v 1.56 2004/10/17 17:49:04 bouyer Exp $");
#include <sys/ioctl.h>
#include <sys/malloc.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/proc.h>
#include <sys/user.h>
#include <sys/device.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ss_mustek.c,v 1.26 2004/10/17 17:49:04 bouyer Exp $ */
/* $NetBSD: ss_mustek.c,v 1.27 2004/10/28 07:07:45 yamt Exp $ */
/*
* Copyright (c) 1995 Joachim Koenig-Baltes. All rights reserved.
@ -46,7 +46,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ss_mustek.c,v 1.26 2004/10/17 17:49:04 bouyer Exp $");
__KERNEL_RCSID(0, "$NetBSD: ss_mustek.c,v 1.27 2004/10/28 07:07:45 yamt Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@ -56,6 +56,7 @@ __KERNEL_RCSID(0, "$NetBSD: ss_mustek.c,v 1.26 2004/10/17 17:49:04 bouyer Exp $"
#include <sys/ioctl.h>
#include <sys/malloc.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/proc.h>
#include <sys/user.h>
#include <sys/device.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ss_scanjet.c,v 1.36 2004/09/18 00:21:03 mycroft Exp $ */
/* $NetBSD: ss_scanjet.c,v 1.37 2004/10/28 07:07:45 yamt Exp $ */
/*
* Copyright (c) 1995 Kenneth Stailey. All rights reserved.
@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ss_scanjet.c,v 1.36 2004/09/18 00:21:03 mycroft Exp $");
__KERNEL_RCSID(0, "$NetBSD: ss_scanjet.c,v 1.37 2004/10/28 07:07:45 yamt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -43,6 +43,7 @@ __KERNEL_RCSID(0, "$NetBSD: ss_scanjet.c,v 1.36 2004/09/18 00:21:03 mycroft Exp
#include <sys/ioctl.h>
#include <sys/malloc.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/proc.h>
#include <sys/user.h>
#include <sys/device.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: st.c,v 1.172 2004/09/26 09:00:37 dogcow Exp $ */
/* $NetBSD: st.c,v 1.173 2004/10/28 07:07:45 yamt Exp $ */
/*-
* Copyright (c) 1998, 2004 The NetBSD Foundation, Inc.
@ -57,7 +57,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: st.c,v 1.172 2004/09/26 09:00:37 dogcow Exp $");
__KERNEL_RCSID(0, "$NetBSD: st.c,v 1.173 2004/10/28 07:07:45 yamt Exp $");
#include "opt_scsi.h"
@ -68,6 +68,7 @@ __KERNEL_RCSID(0, "$NetBSD: st.c,v 1.172 2004/09/26 09:00:37 dogcow Exp $");
#include <sys/ioctl.h>
#include <sys/malloc.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/proc.h>
#include <sys/user.h>
#include <sys/mtio.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: st_atapi.c,v 1.13 2004/08/21 22:16:07 thorpej Exp $ */
/* $NetBSD: st_atapi.c,v 1.14 2004/10/28 07:07:46 yamt Exp $ */
/*
* Copyright (c) 2001 Manuel Bouyer.
@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: st_atapi.c,v 1.13 2004/08/21 22:16:07 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: st_atapi.c,v 1.14 2004/10/28 07:07:46 yamt Exp $");
#include "opt_scsi.h"
#include "rnd.h"
@ -39,6 +39,7 @@ __KERNEL_RCSID(0, "$NetBSD: st_atapi.c,v 1.13 2004/08/21 22:16:07 thorpej Exp $"
#include <sys/param.h>
#include <sys/device.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/conf.h>
#include <sys/kernel.h>
#include <sys/systm.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: st_scsi.c,v 1.15 2004/09/18 00:21:03 mycroft Exp $ */
/* $NetBSD: st_scsi.c,v 1.16 2004/10/28 07:07:46 yamt Exp $ */
/*-
* Copyright (c) 1998, 2004 The NetBSD Foundation, Inc.
@ -57,7 +57,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: st_scsi.c,v 1.15 2004/09/18 00:21:03 mycroft Exp $");
__KERNEL_RCSID(0, "$NetBSD: st_scsi.c,v 1.16 2004/10/28 07:07:46 yamt Exp $");
#include "opt_scsi.h"
#include "rnd.h"
@ -65,6 +65,7 @@ __KERNEL_RCSID(0, "$NetBSD: st_scsi.c,v 1.15 2004/09/18 00:21:03 mycroft Exp $")
#include <sys/param.h>
#include <sys/device.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/conf.h>
#include <sys/kernel.h>
#include <sys/systm.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: umass_scsipi.c,v 1.20 2004/09/18 16:40:11 yamt Exp $ */
/* $NetBSD: umass_scsipi.c,v 1.21 2004/10/28 07:07:46 yamt Exp $ */
/*
* Copyright (c) 2001, 2003 The NetBSD Foundation, Inc.
@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: umass_scsipi.c,v 1.20 2004/09/18 16:40:11 yamt Exp $");
__KERNEL_RCSID(0, "$NetBSD: umass_scsipi.c,v 1.21 2004/10/28 07:07:46 yamt Exp $");
#include "atapibus.h"
#include "scsibus.h"
@ -48,6 +48,7 @@ __KERNEL_RCSID(0, "$NetBSD: umass_scsipi.c,v 1.20 2004/09/18 16:40:11 yamt Exp $
#include <sys/kernel.h>
#include <sys/conf.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/device.h>
#include <sys/ioctl.h>
#include <sys/malloc.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: xd.c,v 1.54 2003/09/29 09:50:22 wiz Exp $ */
/* $NetBSD: xd.c,v 1.55 2004/10/28 07:07:46 yamt Exp $ */
/*
*
@ -51,7 +51,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: xd.c,v 1.54 2003/09/29 09:50:22 wiz Exp $");
__KERNEL_RCSID(0, "$NetBSD: xd.c,v 1.55 2004/10/28 07:07:46 yamt Exp $");
#undef XDC_DEBUG /* full debug */
#define XDC_DIAG /* extra sanity checks */
@ -67,6 +67,7 @@ __KERNEL_RCSID(0, "$NetBSD: xd.c,v 1.54 2003/09/29 09:50:22 wiz Exp $");
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/uio.h>
#include <sys/malloc.h>
#include <sys/device.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: xy.c,v 1.55 2003/12/23 13:15:18 pk Exp $ */
/* $NetBSD: xy.c,v 1.56 2004/10/28 07:07:46 yamt Exp $ */
/*
*
@ -51,7 +51,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: xy.c,v 1.55 2003/12/23 13:15:18 pk Exp $");
__KERNEL_RCSID(0, "$NetBSD: xy.c,v 1.56 2004/10/28 07:07:46 yamt Exp $");
#undef XYC_DEBUG /* full debug */
#undef XYC_DIAG /* extra sanity checks */
@ -67,6 +67,7 @@ __KERNEL_RCSID(0, "$NetBSD: xy.c,v 1.55 2003/12/23 13:15:18 pk Exp $");
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/uio.h>
#include <sys/malloc.h>
#include <sys/device.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: vnd.c,v 1.110 2004/09/18 16:40:11 yamt Exp $ */
/* $NetBSD: vnd.c,v 1.111 2004/10/28 07:07:39 yamt Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@ -133,7 +133,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: vnd.c,v 1.110 2004/09/18 16:40:11 yamt Exp $");
__KERNEL_RCSID(0, "$NetBSD: vnd.c,v 1.111 2004/10/28 07:07:39 yamt Exp $");
#if defined(_KERNEL_OPT)
#include "fs_nfs.h"
@ -145,6 +145,7 @@ __KERNEL_RCSID(0, "$NetBSD: vnd.c,v 1.110 2004/09/18 16:40:11 yamt Exp $");
#include <sys/proc.h>
#include <sys/errno.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/malloc.h>
#include <sys/ioctl.h>
#include <sys/disklabel.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: bufq_disksort.c,v 1.1 2004/10/14 05:12:28 yamt Exp $ */
/* $NetBSD: bufq_disksort.c,v 1.2 2004/10/28 07:07:46 yamt Exp $ */
/* NetBSD: subr_disk.c,v 1.61 2004/09/25 03:30:44 thorpej Exp */
/*-
@ -75,11 +75,12 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: bufq_disksort.c,v 1.1 2004/10/14 05:12:28 yamt Exp $");
__KERNEL_RCSID(0, "$NetBSD: bufq_disksort.c,v 1.2 2004/10/28 07:07:46 yamt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/malloc.h>
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: bufq_fcfs.c,v 1.1 2004/10/14 05:12:28 yamt Exp $ */
/* $NetBSD: bufq_fcfs.c,v 1.2 2004/10/28 07:07:46 yamt Exp $ */
/* NetBSD: subr_disk.c,v 1.61 2004/09/25 03:30:44 thorpej Exp */
/*-
@ -75,11 +75,12 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: bufq_fcfs.c,v 1.1 2004/10/14 05:12:28 yamt Exp $");
__KERNEL_RCSID(0, "$NetBSD: bufq_fcfs.c,v 1.2 2004/10/28 07:07:46 yamt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/malloc.h>
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: bufq_priocscan.c,v 1.1 2004/10/14 05:12:28 yamt Exp $ */
/* $NetBSD: bufq_priocscan.c,v 1.2 2004/10/28 07:07:46 yamt Exp $ */
/*-
* Copyright (c)2004 YAMAMOTO Takashi,
@ -27,11 +27,12 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: bufq_priocscan.c,v 1.1 2004/10/14 05:12:28 yamt Exp $");
__KERNEL_RCSID(0, "$NetBSD: bufq_priocscan.c,v 1.2 2004/10/28 07:07:46 yamt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/malloc.h>
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: bufq_readprio.c,v 1.1 2004/10/14 05:12:28 yamt Exp $ */
/* $NetBSD: bufq_readprio.c,v 1.2 2004/10/28 07:07:46 yamt Exp $ */
/* NetBSD: subr_disk.c,v 1.61 2004/09/25 03:30:44 thorpej Exp */
/*-
@ -75,11 +75,12 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: bufq_readprio.c,v 1.1 2004/10/14 05:12:28 yamt Exp $");
__KERNEL_RCSID(0, "$NetBSD: bufq_readprio.c,v 1.2 2004/10/28 07:07:46 yamt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/malloc.h>
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: subr_disk.c,v 1.63 2004/10/15 07:19:01 thorpej Exp $ */
/* $NetBSD: subr_disk.c,v 1.64 2004/10/28 07:07:46 yamt Exp $ */
/*-
* Copyright (c) 1996, 1997, 1999, 2000 The NetBSD Foundation, Inc.
@ -74,7 +74,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: subr_disk.c,v 1.63 2004/10/15 07:19:01 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: subr_disk.c,v 1.64 2004/10/28 07:07:46 yamt Exp $");
#include "opt_compat_netbsd.h"
#include "opt_bufq.h"
@ -83,6 +83,7 @@ __KERNEL_RCSID(0, "$NetBSD: subr_disk.c,v 1.63 2004/10/15 07:19:01 thorpej Exp $
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/syslog.h>
#include <sys/disklabel.h>
#include <sys/disk.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: buf.h,v 1.76 2004/10/14 05:12:28 yamt Exp $ */
/* $NetBSD: buf.h,v 1.77 2004/10/28 07:07:46 yamt Exp $ */
/*-
* Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@ -91,45 +91,6 @@ struct vnode;
*/
LIST_HEAD(workhead, worklist);
/*
* Device driver buffer queue.
*/
struct bufq_state {
void (*bq_put)(struct bufq_state *, struct buf *);
struct buf *(*bq_get)(struct bufq_state *, int);
void *bq_private;
int bq_flags; /* Flags from bufq_alloc() */
};
/*
* Flags for bufq_alloc.
*/
#define BUFQ_SORT_RAWBLOCK 0x0001 /* Sort by b_rawblkno */
#define BUFQ_SORT_CYLINDER 0x0002 /* Sort by b_cylinder, b_rawblkno */
#define BUFQ_FCFS 0x0010 /* First-come first-serve */
#define BUFQ_DISKSORT 0x0020 /* Min seek sort */
#define BUFQ_READ_PRIO 0x0030 /* Min seek and read priority */
#define BUFQ_PRIOCSCAN 0x0040 /* Per-priority CSCAN */
#define BUFQ_SORT_MASK 0x000f
#define BUFQ_METHOD_MASK 0x00f0
#ifdef _KERNEL
extern int bufq_disk_default_strat;
#define BUFQ_DISK_DEFAULT_STRAT() bufq_disk_default_strat
void bufq_alloc(struct bufq_state *, int);
void bufq_free(struct bufq_state *);
#define BUFQ_PUT(bufq, bp) \
(*(bufq)->bq_put)((bufq), (bp)) /* Put buffer in queue */
#define BUFQ_GET(bufq) \
(*(bufq)->bq_get)((bufq), 1) /* Get and remove buffer from queue */
#define BUFQ_PEEK(bufq) \
(*(bufq)->bq_get)((bufq), 0) /* Get buffer from queue */
#endif /* _KERNEL */
/*
* These are currently used only by the soft dependency code, hence
@ -331,35 +292,6 @@ int buf_setvalimit(vsize_t);
void vfs_buf_print(struct buf *, int, void (*)(const char *, ...));
#endif
void bufq_fcfs_init(struct bufq_state *);
void bufq_disksort_init(struct bufq_state *);
void bufq_readprio_init(struct bufq_state *);
void bufq_priocscan_init(struct bufq_state *);
static __inline int buf_inorder(const struct buf *, const struct buf *, int)
__unused;
#include <sys/null.h> /* for NULL */
/*
* Check if two buf's are in ascending order.
*/
static __inline int
buf_inorder(const struct buf *bp, const struct buf *bq, int sortby)
{
if (bp == NULL || bq == NULL)
return (bq == NULL);
if (sortby == BUFQ_SORT_CYLINDER) {
if (bp->b_cylinder != bq->b_cylinder)
return bp->b_cylinder < bq->b_cylinder;
else
return bp->b_rawblkno < bq->b_rawblkno;
} else
return bp->b_rawblkno < bq->b_rawblkno;
}
__END_DECLS
#endif
#endif /* !_SYS_BUF_H_ */

146
sys/sys/bufq.h Normal file
View File

@ -0,0 +1,146 @@
/* $NetBSD: bufq.h,v 1.1 2004/10/28 07:07:47 yamt Exp $ */
/* NetBSD: buf.h,v 1.75 2004/09/18 16:40:11 yamt Exp */
/*-
* Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Jason R. Thorpe of the Numerical Aerospace Simulation Facility,
* NASA Ames Research Center.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by the NetBSD
* Foundation, Inc. and its contributors.
* 4. Neither the name of The NetBSD Foundation nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
/*
* Copyright (c) 1982, 1986, 1989, 1993
* The Regents of the University of California. All rights reserved.
* (c) UNIX System Laboratories, Inc.
* All or some portions of this file are derived from material licensed
* to the University of California by American Telephone and Telegraph
* Co. or Unix System Laboratories, Inc. and are reproduced herein with
* the permission of UNIX System Laboratories, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* @(#)buf.h 8.9 (Berkeley) 3/30/95
*/
#if !defined(_KERNEL)
#error not supposed to be exposed to userland.
#endif
struct buf;
/*
* Device driver buffer queue.
*/
struct bufq_state {
void (*bq_put)(struct bufq_state *, struct buf *);
struct buf *(*bq_get)(struct bufq_state *, int);
void *bq_private;
int bq_flags; /* Flags from bufq_alloc() */
};
/*
* Flags for bufq_alloc.
*/
#define BUFQ_SORT_RAWBLOCK 0x0001 /* Sort by b_rawblkno */
#define BUFQ_SORT_CYLINDER 0x0002 /* Sort by b_cylinder, b_rawblkno */
#define BUFQ_FCFS 0x0010 /* First-come first-serve */
#define BUFQ_DISKSORT 0x0020 /* Min seek sort */
#define BUFQ_READ_PRIO 0x0030 /* Min seek and read priority */
#define BUFQ_PRIOCSCAN 0x0040 /* Per-priority CSCAN */
#define BUFQ_SORT_MASK 0x000f
#define BUFQ_METHOD_MASK 0x00f0
extern int bufq_disk_default_strat;
#define BUFQ_DISK_DEFAULT_STRAT() bufq_disk_default_strat
void bufq_alloc(struct bufq_state *, int);
void bufq_free(struct bufq_state *);
#define BUFQ_PUT(bufq, bp) \
(*(bufq)->bq_put)((bufq), (bp)) /* Put buffer in queue */
#define BUFQ_GET(bufq) \
(*(bufq)->bq_get)((bufq), 1) /* Get and remove buffer from queue */
#define BUFQ_PEEK(bufq) \
(*(bufq)->bq_get)((bufq), 0) /* Get buffer from queue */
void bufq_fcfs_init(struct bufq_state *);
void bufq_disksort_init(struct bufq_state *);
void bufq_readprio_init(struct bufq_state *);
void bufq_priocscan_init(struct bufq_state *);
static __inline int buf_inorder(const struct buf *, const struct buf *, int)
__unused;
#include <sys/null.h> /* for NULL */
/*
* Check if two buf's are in ascending order.
*/
static __inline int
buf_inorder(const struct buf *bp, const struct buf *bq, int sortby)
{
if (bp == NULL || bq == NULL)
return (bq == NULL);
if (sortby == BUFQ_SORT_CYLINDER) {
if (bp->b_cylinder != bq->b_cylinder)
return bp->b_cylinder < bq->b_cylinder;
else
return bp->b_rawblkno < bq->b_rawblkno;
} else
return bp->b_rawblkno < bq->b_rawblkno;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: mfs_vfsops.c,v 1.61 2004/07/05 07:28:46 pk Exp $ */
/* $NetBSD: mfs_vfsops.c,v 1.62 2004/10/28 07:07:47 yamt Exp $ */
/*
* Copyright (c) 1989, 1990, 1993, 1994
@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mfs_vfsops.c,v 1.61 2004/07/05 07:28:46 pk Exp $");
__KERNEL_RCSID(0, "$NetBSD: mfs_vfsops.c,v 1.62 2004/10/28 07:07:47 yamt Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@ -45,6 +45,7 @@ __KERNEL_RCSID(0, "$NetBSD: mfs_vfsops.c,v 1.61 2004/07/05 07:28:46 pk Exp $");
#include <sys/kernel.h>
#include <sys/proc.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/mount.h>
#include <sys/signalvar.h>
#include <sys/vnode.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: mfs_vnops.c,v 1.36 2004/01/26 10:02:31 hannken Exp $ */
/* $NetBSD: mfs_vnops.c,v 1.37 2004/10/28 07:07:47 yamt Exp $ */
/*
* Copyright (c) 1989, 1993
@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mfs_vnops.c,v 1.36 2004/01/26 10:02:31 hannken Exp $");
__KERNEL_RCSID(0, "$NetBSD: mfs_vnops.c,v 1.37 2004/10/28 07:07:47 yamt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -40,6 +40,7 @@ __KERNEL_RCSID(0, "$NetBSD: mfs_vnops.c,v 1.36 2004/01/26 10:02:31 hannken Exp $
#include <sys/kernel.h>
#include <sys/proc.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/vnode.h>
#include <sys/malloc.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: uvm_swap.c,v 1.88 2004/05/14 16:56:09 christos Exp $ */
/* $NetBSD: uvm_swap.c,v 1.89 2004/10/28 07:07:47 yamt Exp $ */
/*
* Copyright (c) 1995, 1996, 1997 Matthew R. Green
@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: uvm_swap.c,v 1.88 2004/05/14 16:56:09 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: uvm_swap.c,v 1.89 2004/10/28 07:07:47 yamt Exp $");
#include "fs_nfs.h"
#include "opt_uvmhist.h"
@ -42,6 +42,7 @@ __KERNEL_RCSID(0, "$NetBSD: uvm_swap.c,v 1.88 2004/05/14 16:56:09 christos Exp $
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/buf.h>
#include <sys/bufq.h>
#include <sys/conf.h>
#include <sys/proc.h>
#include <sys/namei.h>