fifo_vnops.c (94995) | fifo_vnops.c (95759) |
---|---|
1/* 2 * Copyright (c) 1990, 1993, 1995 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)fifo_vnops.c 8.10 (Berkeley) 5/27/95 | 1/* 2 * Copyright (c) 1990, 1993, 1995 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)fifo_vnops.c 8.10 (Berkeley) 5/27/95 |
34 * $FreeBSD: head/sys/fs/fifofs/fifo_vnops.c 94995 2002-04-18 14:47:34Z alfred $ | 34 * $FreeBSD: head/sys/fs/fifofs/fifo_vnops.c 95759 2002-04-30 01:54:54Z tanimura $ |
35 */ 36 37#include <sys/param.h> | 35 */ 36 37#include <sys/param.h> |
38#include <sys/systm.h> 39#include <sys/unistd.h> | 38#include <sys/event.h> 39#include <sys/filio.h> 40#include <sys/fcntl.h> 41#include <sys/file.h> |
40#include <sys/kernel.h> 41#include <sys/lock.h> 42#include <sys/mutex.h> 43#include <sys/malloc.h> | 42#include <sys/kernel.h> 43#include <sys/lock.h> 44#include <sys/mutex.h> 45#include <sys/malloc.h> |
44#include <sys/vnode.h> | 46#include <sys/poll.h> |
45#include <sys/proc.h> /* XXXKSE */ | 47#include <sys/proc.h> /* XXXKSE */ |
48#include <sys/signalvar.h> |
|
46#include <sys/socket.h> 47#include <sys/socketvar.h> | 49#include <sys/socket.h> 50#include <sys/socketvar.h> |
48#include <sys/filio.h> 49#include <sys/fcntl.h> 50#include <sys/file.h> 51#include <sys/event.h> 52#include <sys/poll.h> | 51#include <sys/sx.h> 52#include <sys/systm.h> |
53#include <sys/un.h> | 53#include <sys/un.h> |
54#include <sys/unistd.h> 55#include <sys/vnode.h> |
|
54#include <fs/fifofs/fifo.h> 55 56/* 57 * This structure is associated with the FIFO vnode and stores 58 * the state associated with the FIFO. 59 */ 60struct fifoinfo { 61 struct socket *fi_readsock; --- 560 unchanged lines hidden --- | 56#include <fs/fifofs/fifo.h> 57 58/* 59 * This structure is associated with the FIFO vnode and stores 60 * the state associated with the FIFO. 61 */ 62struct fifoinfo { 63 struct socket *fi_readsock; --- 560 unchanged lines hidden --- |