3 * Coda: an Experimental Distributed File System
6 * Copyright (c) 1987-1998 Carnegie Mellon University
9 * Permission to use, copy, modify and distribute this software and its
10 * documentation is hereby granted, provided that both the copyright
11 * notice and this permission notice appear in all copies of the
12 * software, derivative works or modified versions, and any portions
13 * thereof, and that both notices appear in supporting documentation, and
14 * that credit is given to Carnegie Mellon University in all documents
15 * and publicity pertaining to direct or indirect use of this code or its
18 * CODA IS AN EXPERIMENTAL SOFTWARE SYSTEM AND IS KNOWN TO HAVE BUGS,
19 * SOME OF WHICH MAY HAVE SERIOUS CONSEQUENCES. CARNEGIE MELLON ALLOWS
20 * FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION. CARNEGIE MELLON
21 * DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER
22 * RESULTING DIRECTLY OR INDIRECTLY FROM THE USE OF THIS SOFTWARE OR OF
23 * ANY DERIVATIVE WORK.
25 * Carnegie Mellon encourages users of this software to return any
26 * improvements or extensions that they make, and to grant Carnegie
27 * Mellon the rights to redistribute these changes without encumbrance.
29 * @(#) src/sys/coda/coda_vnops.h,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
35 * Mach Operating System
36 * Copyright (c) 1990 Carnegie-Mellon University
37 * Copyright (c) 1989 Carnegie-Mellon University
38 * All rights reserved. The CMU software License Agreement specifies
39 * the terms and conditions for use and redistribution.
43 * This code was written for the Coda filesystem at Carnegie Mellon
44 * University. Contributers include David Steere, James Kistler, and
49 /* NetBSD interfaces to the vnodeops */
51 vop_close_t coda_close;
53 vop_write_t coda_write;
54 vop_ioctl_t coda_ioctl;
55 /* 1.3 int cfs_select(void *);*/
56 vop_getattr_t coda_getattr;
57 vop_setattr_t coda_setattr;
58 vop_access_t coda_access;
59 int coda_abortop(void *);
60 vop_readlink_t coda_readlink;
61 vop_fsync_t coda_fsync;
62 vop_inactive_t coda_inactive;
63 vop_lookup_t coda_lookup;
64 vop_create_t coda_create;
65 vop_remove_t coda_remove;
67 vop_rename_t coda_rename;
68 vop_mkdir_t coda_mkdir;
69 vop_rmdir_t coda_rmdir;
70 vop_symlink_t coda_symlink;
71 vop_readdir_t coda_readdir;
73 vop_strategy_t coda_strategy;
74 vop_reclaim_t coda_reclaim;
76 vop_unlock_t coda_unlock;
77 vop_islocked_t coda_islocked;
78 int coda_vop_error(void *);
79 int coda_vop_nop(void *);
80 vop_pathconf_t coda_pathconf;
82 int coda_rdwr(struct vnode *vp, struct uio *uiop, enum uio_rw rw,
83 int ioflag, struct ucred *cred, struct thread *td);
84 int coda_grab_vnode(struct cdev *dev, ino_t ino, struct vnode **vpp);
85 void print_vattr(struct vattr *attr);
86 void print_cred(struct ucred *cred);