1/*-
2 * Copyright (c) 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley
6 * by Pace Willisson (pace@blitz.com). The Rock Ridge Extension
7 * Support code is derived from software contributed to Berkeley
8 * by Atsushi Murai (amurai@spec.co.jp).
--- 22 unchanged lines hidden (view full) ---
31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)cd9660_vnops.c 8.3 (Berkeley) 1/23/94
39 * $Id: cd9660_vnops.c,v 1.6 1994/09/15 19:46:03 bde Exp $
40 */
41
42#include <sys/param.h>
43#include <sys/systm.h>
44#include <sys/namei.h>
45#include <sys/resourcevar.h>
46#include <sys/kernel.h>
47#include <sys/file.h>
--- 884 unchanged lines hidden (view full) ---
932 { &vop_vfree_desc, cd9660_vfree }, /* vfree */
933 { &vop_truncate_desc, cd9660_truncate },/* truncate */
934 { &vop_update_desc, cd9660_update }, /* update */
935 { &vop_bwrite_desc, vn_bwrite },
936 { (struct vnodeop_desc*)NULL, (int(*)())NULL }
937};
938struct vnodeopv_desc cd9660_vnodeop_opv_desc =
939 { &cd9660_vnodeop_p, cd9660_vnodeop_entries };
940VNODEOP_SET(cd9660_vnodeop_opv_desc);
941
942/*
943 * Special device vnode ops
944 */
945int (**cd9660_specop_p)();
946struct vnodeopv_entry_desc cd9660_specop_entries[] = {
947 { &vop_default_desc, vn_default_error },
948 { &vop_lookup_desc, spec_lookup }, /* lookup */
--- 36 unchanged lines hidden (view full) ---
985 { &vop_vfree_desc, spec_vfree }, /* vfree */
986 { &vop_truncate_desc, spec_truncate }, /* truncate */
987 { &vop_update_desc, cd9660_update }, /* update */
988 { &vop_bwrite_desc, vn_bwrite },
989 { (struct vnodeop_desc*)NULL, (int(*)())NULL }
990};
991struct vnodeopv_desc cd9660_specop_opv_desc =
992 { &cd9660_specop_p, cd9660_specop_entries };
993VNODEOP_SET(cd9660_specop_opv_desc);
994
995#ifdef FIFO
996int (**cd9660_fifoop_p)();
997struct vnodeopv_entry_desc cd9660_fifoop_entries[] = {
998 { &vop_default_desc, vn_default_error },
999 { &vop_lookup_desc, fifo_lookup }, /* lookup */
1000 { &vop_create_desc, cd9660_create }, /* create */
1001 { &vop_mknod_desc, cd9660_mknod }, /* mknod */
--- 33 unchanged lines hidden (view full) ---
1035 { &vop_vfree_desc, fifo_vfree }, /* vfree */
1036 { &vop_truncate_desc, fifo_truncate }, /* truncate */
1037 { &vop_update_desc, cd9660_update }, /* update */
1038 { &vop_bwrite_desc, vn_bwrite },
1039 { (struct vnodeop_desc*)NULL, (int(*)())NULL }
1040};
1041struct vnodeopv_desc cd9660_fifoop_opv_desc =
1042 { &cd9660_fifoop_p, cd9660_fifoop_entries };
1043
1044VNODEOP_SET(cd9660_fifoop_opv_desc);
1045#endif /* FIFO */
2 * Copyright (c) 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley
6 * by Pace Willisson (pace@blitz.com). The Rock Ridge Extension
7 * Support code is derived from software contributed to Berkeley
8 * by Atsushi Murai (amurai@spec.co.jp).
--- 22 unchanged lines hidden (view full) ---
31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)cd9660_vnops.c 8.3 (Berkeley) 1/23/94
39 * $Id: cd9660_vnops.c,v 1.6 1994/09/15 19:46:03 bde Exp $
40 */
41
42#include <sys/param.h>
43#include <sys/systm.h>
44#include <sys/namei.h>
45#include <sys/resourcevar.h>
46#include <sys/kernel.h>
47#include <sys/file.h>
--- 884 unchanged lines hidden (view full) ---
932 { &vop_vfree_desc, cd9660_vfree }, /* vfree */
933 { &vop_truncate_desc, cd9660_truncate },/* truncate */
934 { &vop_update_desc, cd9660_update }, /* update */
935 { &vop_bwrite_desc, vn_bwrite },
936 { (struct vnodeop_desc*)NULL, (int(*)())NULL }
937};
938struct vnodeopv_desc cd9660_vnodeop_opv_desc =
939 { &cd9660_vnodeop_p, cd9660_vnodeop_entries };
940VNODEOP_SET(cd9660_vnodeop_opv_desc);
941
942/*
943 * Special device vnode ops
944 */
945int (**cd9660_specop_p)();
946struct vnodeopv_entry_desc cd9660_specop_entries[] = {
947 { &vop_default_desc, vn_default_error },
948 { &vop_lookup_desc, spec_lookup }, /* lookup */
--- 36 unchanged lines hidden (view full) ---
985 { &vop_vfree_desc, spec_vfree }, /* vfree */
986 { &vop_truncate_desc, spec_truncate }, /* truncate */
987 { &vop_update_desc, cd9660_update }, /* update */
988 { &vop_bwrite_desc, vn_bwrite },
989 { (struct vnodeop_desc*)NULL, (int(*)())NULL }
990};
991struct vnodeopv_desc cd9660_specop_opv_desc =
992 { &cd9660_specop_p, cd9660_specop_entries };
993VNODEOP_SET(cd9660_specop_opv_desc);
994
995#ifdef FIFO
996int (**cd9660_fifoop_p)();
997struct vnodeopv_entry_desc cd9660_fifoop_entries[] = {
998 { &vop_default_desc, vn_default_error },
999 { &vop_lookup_desc, fifo_lookup }, /* lookup */
1000 { &vop_create_desc, cd9660_create }, /* create */
1001 { &vop_mknod_desc, cd9660_mknod }, /* mknod */
--- 33 unchanged lines hidden (view full) ---
1035 { &vop_vfree_desc, fifo_vfree }, /* vfree */
1036 { &vop_truncate_desc, fifo_truncate }, /* truncate */
1037 { &vop_update_desc, cd9660_update }, /* update */
1038 { &vop_bwrite_desc, vn_bwrite },
1039 { (struct vnodeop_desc*)NULL, (int(*)())NULL }
1040};
1041struct vnodeopv_desc cd9660_fifoop_opv_desc =
1042 { &cd9660_fifoop_p, cd9660_fifoop_entries };
1043
1044VNODEOP_SET(cd9660_fifoop_opv_desc);
1045#endif /* FIFO */