proc->thread stage 4: rework the VFS and DEVICE subsystems to take thread
[dragonfly.git] / sys / vfs / coda / coda_vnops.h
CommitLineData
984263bc
MD
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: src/sys/coda/coda_vnops.h,v 1.6 1999/08/28 00:40:58 peter Exp $
dadab5e9 31 * $DragonFly: src/sys/vfs/coda/Attic/coda_vnops.h,v 1.3 2003/06/25 03:55:44 dillon Exp $
984263bc
MD
32 *
33 */
34
35/*
36 * Mach Operating System
37 * Copyright (c) 1990 Carnegie-Mellon University
38 * Copyright (c) 1989 Carnegie-Mellon University
39 * All rights reserved. The CMU software License Agreement specifies
40 * the terms and conditions for use and redistribution.
41 */
42
43/*
44 * This code was written for the Coda file system at Carnegie Mellon
45 * University. Contributers include David Steere, James Kistler, and
46 * M. Satyanarayanan.
47 */
48
49
50/* NetBSD interfaces to the vnodeops */
51int coda_open __P((void *));
52int coda_close __P((void *));
53int coda_read __P((void *));
54int coda_write __P((void *));
55int coda_ioctl __P((void *));
56/* 1.3 int cfs_select __P((void *));*/
57int coda_getattr __P((void *));
58int coda_setattr __P((void *));
59int coda_access __P((void *));
60int coda_abortop __P((void *));
61int coda_readlink __P((void *));
62int coda_fsync __P((void *));
63int coda_inactive __P((void *));
64int coda_lookup __P((void *));
65int coda_create __P((void *));
66int coda_remove __P((void *));
67int coda_link __P((void *));
68int coda_rename __P((void *));
69int coda_mkdir __P((void *));
70int coda_rmdir __P((void *));
71int coda_symlink __P((void *));
72int coda_readdir __P((void *));
73int coda_bmap __P((void *));
74int coda_strategy __P((void *));
75int coda_reclaim __P((void *));
76int coda_lock __P((void *));
77int coda_unlock __P((void *));
78int coda_islocked __P((void *));
79int coda_vop_error __P((void *));
80int coda_vop_nop __P((void *));
81int coda_fbsd_getpages __P((void *));
82int coda_fbsd_putpages __P((void *));
83
84int (**coda_vnodeop_p)(void *);
85
86int coda_rdwr(struct vnode *vp, struct uio *uiop, enum uio_rw rw,
dadab5e9 87 int ioflag, struct ucred *cred, struct thread *p);
984263bc
MD
88int coda_grab_vnode(dev_t dev, ino_t ino, struct vnode **vpp);
89void print_vattr(struct vattr *attr);
90void print_cred(struct ucred *cred);