1/*
2 * Copyright (c) 1990, 1993
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.2 (Berkeley) 1/4/94
34 * $Id$
35 */
36
37#include <sys/param.h>
38#include <sys/proc.h>
39#include <sys/time.h>
40#include <sys/namei.h>
41#include <sys/vnode.h>
42#include <sys/socket.h>
--- 60 unchanged lines hidden (view full) ---
103 { &vop_truncate_desc, fifo_truncate }, /* truncate */
104 { &vop_update_desc, fifo_update }, /* update */
105 { &vop_bwrite_desc, fifo_bwrite }, /* bwrite */
106 { (struct vnodeop_desc*)NULL, (int(*)())NULL }
107};
108struct vnodeopv_desc fifo_vnodeop_opv_desc =
109 { &fifo_vnodeop_p, fifo_vnodeop_entries };
110
111/*
112 * Trivial lookup routine that always fails.
113 */
114/* ARGSUSED */
115int
116fifo_lookup(ap)
117 struct vop_lookup_args /* {
118 struct vnode * a_dvp;
--- 395 unchanged lines hidden ---
2 * Copyright (c) 1990, 1993
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.2 (Berkeley) 1/4/94
34 * $Id$
35 */
36
37#include <sys/param.h>
38#include <sys/proc.h>
39#include <sys/time.h>
40#include <sys/namei.h>
41#include <sys/vnode.h>
42#include <sys/socket.h>
--- 60 unchanged lines hidden (view full) ---
103 { &vop_truncate_desc, fifo_truncate }, /* truncate */
104 { &vop_update_desc, fifo_update }, /* update */
105 { &vop_bwrite_desc, fifo_bwrite }, /* bwrite */
106 { (struct vnodeop_desc*)NULL, (int(*)())NULL }
107};
108struct vnodeopv_desc fifo_vnodeop_opv_desc =
109 { &fifo_vnodeop_p, fifo_vnodeop_entries };
110
111/*
112 * Trivial lookup routine that always fails.
113 */
114/* ARGSUSED */
115int
116fifo_lookup(ap)
117 struct vop_lookup_args /* {
118 struct vnode * a_dvp;
--- 395 unchanged lines hidden ---