11.17Shannken/*	$NetBSD: coda_vnops.h,v 1.17 2020/11/14 11:42:05 hannken Exp $	*/
21.2Srvb
31.1Srvb/*
41.10Sperry *
51.2Srvb *             Coda: an Experimental Distributed File System
61.2Srvb *                              Release 3.1
71.10Sperry *
81.2Srvb *           Copyright (c) 1987-1998 Carnegie Mellon University
91.2Srvb *                          All Rights Reserved
101.10Sperry *
111.2Srvb * Permission  to  use, copy, modify and distribute this software and its
121.2Srvb * documentation is hereby granted,  provided  that  both  the  copyright
131.2Srvb * notice  and  this  permission  notice  appear  in  all  copies  of the
141.2Srvb * software, derivative works or  modified  versions,  and  any  portions
151.2Srvb * thereof, and that both notices appear in supporting documentation, and
161.2Srvb * that credit is given to Carnegie Mellon University  in  all  documents
171.2Srvb * and publicity pertaining to direct or indirect use of this code or its
181.2Srvb * derivatives.
191.10Sperry *
201.2Srvb * CODA IS AN EXPERIMENTAL SOFTWARE SYSTEM AND IS  KNOWN  TO  HAVE  BUGS,
211.2Srvb * SOME  OF  WHICH MAY HAVE SERIOUS CONSEQUENCES.  CARNEGIE MELLON ALLOWS
221.2Srvb * FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION.   CARNEGIE  MELLON
231.2Srvb * DISCLAIMS  ANY  LIABILITY  OF  ANY  KIND  FOR  ANY  DAMAGES WHATSOEVER
241.2Srvb * RESULTING DIRECTLY OR INDIRECTLY FROM THE USE OF THIS SOFTWARE  OR  OF
251.2Srvb * ANY DERIVATIVE WORK.
261.10Sperry *
271.2Srvb * Carnegie  Mellon  encourages  users  of  this  software  to return any
281.2Srvb * improvements or extensions that  they  make,  and  to  grant  Carnegie
291.2Srvb * Mellon the rights to redistribute these changes without encumbrance.
301.10Sperry *
311.10Sperry * 	@(#) coda/coda_vnops.h,v 1.1.1.1 1998/08/29 21:26:46 rvb Exp $
321.2Srvb */
331.1Srvb
341.10Sperry/*
351.1Srvb * Mach Operating System
361.1Srvb * Copyright (c) 1990 Carnegie-Mellon University
371.1Srvb * Copyright (c) 1989 Carnegie-Mellon University
381.1Srvb * All rights reserved.  The CMU software License Agreement specifies
391.1Srvb * the terms and conditions for use and redistribution.
401.1Srvb */
411.1Srvb
421.1Srvb/*
431.1Srvb * This code was written for the Coda file system at Carnegie Mellon
441.1Srvb * University.  Contributers include David Steere, James Kistler, and
451.10Sperry * M. Satyanarayanan.
461.1Srvb */
471.1Srvb
481.1Srvb/* NetBSD interfaces to the vnodeops */
491.11Sxtraemeint coda_open(void *);
501.11Sxtraemeint coda_close(void *);
511.11Sxtraemeint coda_read(void *);
521.11Sxtraemeint coda_write(void *);
531.11Sxtraemeint coda_ioctl(void *);
541.11Sxtraeme/* 1.3 int coda_select(void *);*/
551.11Sxtraemeint coda_getattr(void *);
561.11Sxtraemeint coda_setattr(void *);
571.11Sxtraemeint coda_access(void *);
581.11Sxtraemeint coda_abortop(void *);
591.11Sxtraemeint coda_readlink(void *);
601.11Sxtraemeint coda_fsync(void *);
611.11Sxtraemeint coda_inactive(void *);
621.11Sxtraemeint coda_lookup(void *);
631.11Sxtraemeint coda_create(void *);
641.11Sxtraemeint coda_remove(void *);
651.11Sxtraemeint coda_link(void *);
661.11Sxtraemeint coda_rename(void *);
671.11Sxtraemeint coda_mkdir(void *);
681.11Sxtraemeint coda_rmdir(void *);
691.11Sxtraemeint coda_symlink(void *);
701.11Sxtraemeint coda_readdir(void *);
711.11Sxtraemeint coda_bmap(void *);
721.11Sxtraemeint coda_strategy(void *);
731.11Sxtraemeint coda_reclaim(void *);
741.11Sxtraemeint coda_lock(void *);
751.11Sxtraemeint coda_unlock(void *);
761.11Sxtraemeint coda_islocked(void *);
771.17Shannkenint coda_pathconf(void *);
781.11Sxtraemeint coda_vop_error(void *);
791.11Sxtraemeint coda_vop_nop(void *);
801.11Sxtraemeint coda_getpages(void *);
811.11Sxtraemeint coda_putpages(void *);
821.1Srvb
831.15Smattextern int (**coda_vnodeop_p)(void *);
841.14Schristosint coda_rdwr(vnode_t *, struct uio *, enum uio_rw, int, kauth_cred_t,
851.14Schristos    struct lwp *);
861.14Schristosint coda_grab_vnode(vnode_t *, dev_t, ino_t, vnode_t **);
87