FreeBSD/Linux Kernel Cross Reference
sys/coda/coda_vnops.h
1 /*
2 *
3 * Coda: an Experimental Distributed File System
4 * Release 3.1
5 *
6 * Copyright (c) 1987-1998 Carnegie Mellon University
7 * All Rights Reserved
8 *
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
16 * derivatives.
17 *
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.
24 *
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.
28 *
29 * @(#) src/sys/coda/coda_vnops.h,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
30 * $FreeBSD$
31 *
32 */
33
34 /*
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.
40 */
41
42 /*
43 * This code was written for the Coda file system at Carnegie Mellon
44 * University. Contributers include David Steere, James Kistler, and
45 * M. Satyanarayanan.
46 */
47
48 /*
49 * HISTORY
50 * $Log: coda_vnops.h,v $
51 * Revision 1.4 1998/09/13 13:57:59 rvb
52 * Finish conversion of cfs -> coda
53 *
54 * Revision 1.3 1998/09/11 18:50:17 rvb
55 * All the references to cfs, in symbols, structs, and strings
56 * have been changed to coda. (Same for CFS.)
57 *
58 * Revision 1.2 1998/09/02 19:09:53 rvb
59 * Pass2 complete
60 *
61 * Revision 1.1.1.1 1998/08/29 21:14:52 rvb
62 * Very Preliminary Coda
63 *
64 * Revision 1.7 1998/08/28 18:12:24 rvb
65 * Now it also works on FreeBSD -current. This code will be
66 * committed to the FreeBSD -current and NetBSD -current
67 * trees. It will then be tailored to the particular platform
68 * by flushing conditional code.
69 *
70 * Revision 1.6 1998/08/18 17:05:22 rvb
71 * Don't use __RCSID now
72 *
73 * Revision 1.5 1998/08/18 16:31:47 rvb
74 * Sync the code for NetBSD -current; test on 1.3 later
75 *
76 * Revision 1.4 98/01/23 11:53:49 rvb
77 * Bring RVB_CODA1_1 to HEAD
78 *
79 * Revision 1.3.2.3 98/01/23 11:21:13 rvb
80 * Sync with 2.2.5
81 *
82 * Revision 1.3.2.2 97/12/16 12:40:20 rvb
83 * Sync with 1.3
84 *
85 * Revision 1.3.2.1 97/12/10 14:08:34 rvb
86 * Fix O_ flags; check result in coda_call
87 *
88 * Revision 1.3 97/12/05 10:39:25 rvb
89 * Read CHANGES
90 *
91 * Revision 1.2.34.2 97/11/20 11:46:54 rvb
92 * Capture current cfs_venus
93 *
94 * Revision 1.2.34.1 97/11/13 22:03:04 rvb
95 * pass2 cfs_NetBSD.h mt
96 *
97 * Revision 1.2 96/01/02 16:57:14 bnoble
98 * Added support for Coda MiniCache and raw inode calls (final commit)
99 *
100 * Revision 1.1.2.1 1995/12/20 01:57:40 bnoble
101 * Added CODA-specific files
102 *
103 */
104
105 /* NetBSD interfaces to the vnodeops */
106 int coda_open __P((void *));
107 int coda_close __P((void *));
108 int coda_read __P((void *));
109 int coda_write __P((void *));
110 int coda_ioctl __P((void *));
111 /* 1.3 int cfs_select __P((void *));*/
112 int coda_getattr __P((void *));
113 int coda_setattr __P((void *));
114 int coda_access __P((void *));
115 int coda_abortop __P((void *));
116 int coda_readlink __P((void *));
117 int coda_fsync __P((void *));
118 int coda_inactive __P((void *));
119 int coda_lookup __P((void *));
120 int coda_create __P((void *));
121 int coda_remove __P((void *));
122 int coda_link __P((void *));
123 int coda_rename __P((void *));
124 int coda_mkdir __P((void *));
125 int coda_rmdir __P((void *));
126 int coda_symlink __P((void *));
127 int coda_readdir __P((void *));
128 int coda_bmap __P((void *));
129 int coda_strategy __P((void *));
130 int coda_reclaim __P((void *));
131 int coda_lock __P((void *));
132 int coda_unlock __P((void *));
133 int coda_islocked __P((void *));
134 int coda_vop_error __P((void *));
135 int coda_vop_nop __P((void *));
136 int coda_fbsd_getpages __P((void *));
137 int coda_fbsd_putpages __P((void *));
138
139 int (**coda_vnodeop_p)(void *);
140
141 int coda_rdwr(struct vnode *vp, struct uio *uiop, enum uio_rw rw,
142 int ioflag, struct ucred *cred, struct proc *p);
143 int coda_grab_vnode(dev_t dev, ino_t ino, struct vnode **vpp);
144 void print_vattr(struct vattr *attr);
145 void print_cred(struct ucred *cred);
Cache object: dc43b871f9a9117586322baafad8862d
|