1/* 2 * Copyright (c) 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software donated to Berkeley by 6 * Jan-Simon Pendry. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 21 unchanged lines hidden (view full) --- 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * @(#)fdesc_vnops.c 8.9 (Berkeley) 1/21/94 37 * |
38 * $Id: fdesc_vnops.c,v 1.16 1996/06/12 03:37:02 davidg Exp $ |
39 */ 40 41/* 42 * /dev/fd Filesystem 43 */ 44 45#include <sys/param.h> 46#include <sys/systm.h> --- 46 unchanged lines hidden (view full) --- 93static int fdesc_badop __P((void)); 94static int fdesc_enotsupp __P((void)); 95static int fdesc_getattr __P((struct vop_getattr_args *ap)); 96static struct fdcache * 97 fdesc_hash __P((int ix)); 98static int fdesc_inactive __P((struct vop_inactive_args *ap)); 99static int fdesc_ioctl __P((struct vop_ioctl_args *ap)); 100static int fdesc_lookup __P((struct vop_lookup_args *ap)); |
101static int fdesc_open __P((struct vop_open_args *ap)); 102static int fdesc_pathconf __P((struct vop_pathconf_args *ap)); 103static int fdesc_print __P((struct vop_print_args *ap)); 104static int fdesc_read __P((struct vop_read_args *ap)); 105static int fdesc_readdir __P((struct vop_readdir_args *ap)); 106static int fdesc_readlink __P((struct vop_readlink_args *ap)); 107static int fdesc_reclaim __P((struct vop_reclaim_args *ap)); 108static int fdesc_select __P((struct vop_select_args *ap)); --- 810 unchanged lines hidden (view full) --- 919static int 920fdesc_badop() 921{ 922 923 panic("fdesc: bad op"); 924 /* NOTREACHED */ 925} 926 |
927#define fdesc_create ((int (*) __P((struct vop_create_args *)))fdesc_enotsupp) 928#define fdesc_mknod ((int (*) __P((struct vop_mknod_args *)))fdesc_enotsupp) 929#define fdesc_close ((int (*) __P((struct vop_close_args *)))nullop) 930#define fdesc_access ((int (*) __P((struct vop_access_args *)))nullop) 931#define fdesc_mmap ((int (*) __P((struct vop_mmap_args *)))fdesc_enotsupp) 932#define fdesc_fsync ((int (*) __P((struct vop_fsync_args *)))nullop) 933#define fdesc_seek ((int (*) __P((struct vop_seek_args *)))nullop) 934#define fdesc_remove ((int (*) __P((struct vop_remove_args *)))fdesc_enotsupp) --- 74 unchanged lines hidden --- |