conf.h (92719) | conf.h (93008) |
---|---|
1/*- 2 * Copyright (c) 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * Copyright (c) 2000 5 * Poul-Henning Kamp. All rights reserved. 6 * (c) UNIX System Laboratories, Inc. 7 * All or some portions of this file are derived from material licensed 8 * to the University of California by American Telephone and Telegraph --- 24 unchanged lines hidden (view full) --- 33 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 34 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 35 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 36 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 37 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 38 * SUCH DAMAGE. 39 * 40 * @(#)conf.h 8.5 (Berkeley) 1/9/95 | 1/*- 2 * Copyright (c) 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * Copyright (c) 2000 5 * Poul-Henning Kamp. All rights reserved. 6 * (c) UNIX System Laboratories, Inc. 7 * All or some portions of this file are derived from material licensed 8 * to the University of California by American Telephone and Telegraph --- 24 unchanged lines hidden (view full) --- 33 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 34 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 35 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 36 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 37 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 38 * SUCH DAMAGE. 39 * 40 * @(#)conf.h 8.5 (Berkeley) 1/9/95 |
41 * $FreeBSD: head/sys/sys/conf.h 92719 2002-03-19 20:18:42Z alfred $ | 41 * $FreeBSD: head/sys/sys/conf.h 93008 2002-03-23 08:46:52Z bde $ |
42 */ 43 44#ifndef _SYS_CONF_H_ 45#define _SYS_CONF_H_ 46 47#ifdef _KERNEL 48#include <sys/eventhandler.h> 49 --- 83 unchanged lines hidden (view full) --- 133 */ 134 135typedef struct thread d_thread_t; 136 137typedef int d_open_t(dev_t dev, int oflags, int devtype, struct thread *td); 138typedef int d_close_t(dev_t dev, int fflag, int devtype, struct thread *td); 139typedef void d_strategy_t(struct bio *bp); 140typedef int d_ioctl_t(dev_t dev, u_long cmd, caddr_t data, | 42 */ 43 44#ifndef _SYS_CONF_H_ 45#define _SYS_CONF_H_ 46 47#ifdef _KERNEL 48#include <sys/eventhandler.h> 49 --- 83 unchanged lines hidden (view full) --- 133 */ 134 135typedef struct thread d_thread_t; 136 137typedef int d_open_t(dev_t dev, int oflags, int devtype, struct thread *td); 138typedef int d_close_t(dev_t dev, int fflag, int devtype, struct thread *td); 139typedef void d_strategy_t(struct bio *bp); 140typedef int d_ioctl_t(dev_t dev, u_long cmd, caddr_t data, |
141 int fflag, struct thread *td); | 141 int fflag, struct thread *td); |
142typedef int d_dump_t(dev_t dev); 143typedef int d_psize_t(dev_t dev); 144 145typedef int d_read_t(dev_t dev, struct uio *uio, int ioflag); 146typedef int d_write_t(dev_t dev, struct uio *uio, int ioflag); 147typedef int d_poll_t(dev_t dev, int events, struct thread *td); 148typedef int d_kqfilter_t(dev_t dev, struct knote *kn); 149typedef int d_mmap_t(dev_t dev, vm_offset_t offset, int nprot); 150 151typedef int l_open_t(dev_t dev, struct tty *tp); 152typedef int l_close_t(struct tty *tp, int flag); 153typedef int l_read_t(struct tty *tp, struct uio *uio, int flag); 154typedef int l_write_t(struct tty *tp, struct uio *uio, int flag); 155typedef int l_ioctl_t(struct tty *tp, u_long cmd, caddr_t data, | 142typedef int d_dump_t(dev_t dev); 143typedef int d_psize_t(dev_t dev); 144 145typedef int d_read_t(dev_t dev, struct uio *uio, int ioflag); 146typedef int d_write_t(dev_t dev, struct uio *uio, int ioflag); 147typedef int d_poll_t(dev_t dev, int events, struct thread *td); 148typedef int d_kqfilter_t(dev_t dev, struct knote *kn); 149typedef int d_mmap_t(dev_t dev, vm_offset_t offset, int nprot); 150 151typedef int l_open_t(dev_t dev, struct tty *tp); 152typedef int l_close_t(struct tty *tp, int flag); 153typedef int l_read_t(struct tty *tp, struct uio *uio, int flag); 154typedef int l_write_t(struct tty *tp, struct uio *uio, int flag); 155typedef int l_ioctl_t(struct tty *tp, u_long cmd, caddr_t data, |
156 int flag, struct thread *td); | 156 int flag, struct thread *td); |
157typedef int l_rint_t(int c, struct tty *tp); 158typedef int l_start_t(struct tty *tp); 159typedef int l_modem_t(struct tty *tp, int flag); 160 161/* 162 * XXX: The dummy argument can be used to do what strategy1() never 163 * did anywhere: Create a per device flag to lock the device during 164 * label/slice surgery, all calls with a dummy == 0 gets stalled on --- 194 unchanged lines hidden --- | 157typedef int l_rint_t(int c, struct tty *tp); 158typedef int l_start_t(struct tty *tp); 159typedef int l_modem_t(struct tty *tp, int flag); 160 161/* 162 * XXX: The dummy argument can be used to do what strategy1() never 163 * did anywhere: Create a per device flag to lock the device during 164 * label/slice surgery, all calls with a dummy == 0 gets stalled on --- 194 unchanged lines hidden --- |