]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/coda/coda_vnops.h
This commit was generated by cvs2svn to compensate for changes in r104349,
[FreeBSD/FreeBSD.git] / 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 filesystem at Carnegie Mellon
44  * University.  Contributers include David Steere, James Kistler, and
45  * M. Satyanarayanan.  
46  */
47
48
49 /* NetBSD interfaces to the vnodeops */
50 int coda_open(void *);
51 int coda_close(void *);
52 int coda_read(void *);
53 int coda_write(void *);
54 int coda_ioctl(void *);
55 /* 1.3 int cfs_select(void *);*/
56 int coda_getattr(void *);
57 int coda_setattr(void *);
58 int coda_access(void *);
59 int coda_abortop(void *);
60 int coda_readlink(void *);
61 int coda_fsync(void *);
62 int coda_inactive(void *);
63 int coda_lookup(void *);
64 int coda_create(void *);
65 int coda_remove(void *);
66 int coda_link(void *);
67 int coda_rename(void *);
68 int coda_mkdir(void *);
69 int coda_rmdir(void *);
70 int coda_symlink(void *);
71 int coda_readdir(void *);
72 int coda_bmap(void *);
73 int coda_strategy(void *);
74 int coda_reclaim(void *);
75 int coda_lock(void *);
76 int coda_unlock(void *);
77 int coda_islocked(void *);
78 int coda_vop_error(void *);
79 int coda_vop_nop(void *);
80 int coda_fbsd_getpages  (void *);
81
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(dev_t dev, ino_t ino, struct vnode **vpp);
85 void print_vattr(struct vattr *attr);
86 void print_cred(struct ucred *cred);