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 --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)fifo_vnops.c 8.10 (Berkeley) 5/27/95 |
30 * $FreeBSD: head/sys/fs/fifofs/fifo_vnops.c 140196 2005-01-13 18:59:48Z phk $ |
31 */ 32 33#include <sys/param.h> 34#include <sys/event.h> 35#include <sys/file.h> 36#include <sys/filedesc.h> 37#include <sys/filio.h> 38#include <sys/fcntl.h> --- 58 unchanged lines hidden (view full) --- 97 98static struct filterops fiforead_filtops = 99 { 1, NULL, filt_fifordetach, filt_fiforead }; 100static struct filterops fifowrite_filtops = 101 { 1, NULL, filt_fifowdetach, filt_fifowrite }; 102 103struct vop_vector fifo_specops = { 104 .vop_default = &default_vnodeops, |
105 |
106 .vop_access = VOP_EBADF, 107 .vop_advlock = fifo_advlock, 108 .vop_close = fifo_close, 109 .vop_create = VOP_PANIC, 110 .vop_getattr = VOP_EBADF, 111 .vop_ioctl = fifo_ioctl, 112 .vop_kqfilter = fifo_kqfilter, 113 .vop_lease = VOP_NULL, --- 577 unchanged lines hidden --- |