1 /*- 2 * Copyright (c) 1991 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)mfs_extern.h 7.2 (Berkeley) 12/16/91 8 */ 9 10 struct buf; 11 struct mount; 12 struct nameidata; 13 struct proc; 14 struct statfs; 15 struct ucred; 16 struct vnode; 17 18 __BEGIN_DECLS 19 int mfs_badop __P((void)); 20 int mfs_bmap __P((struct vnode *vp, 21 daddr_t bn, struct vnode **vpp, daddr_t *bnp)); 22 int mfs_close __P((struct vnode *vp, 23 int flag, struct ucred *cred, struct proc *p)); 24 void mfs_doio __P((struct buf *bp, caddr_t base)); 25 int mfs_inactive __P((struct vnode *vp, struct proc *p)); 26 int mfs_reclaim __P((struct vnode *vp)); 27 int mfs_init __P((void)); 28 int mfs_ioctl __P((struct vnode *vp, int com, 29 caddr_t data, int fflag, struct ucred *cred, struct proc *p)); 30 int mfs_mount __P((struct mount *mp, 31 char *path, caddr_t data, struct nameidata *ndp, struct proc *p)); 32 int mfs_open __P((struct vnode *vp, 33 int mode, struct ucred *cred, struct proc *p)); 34 int mfs_print __P((struct vnode *vp)); 35 int mfs_start __P((struct mount *mp, int flags, struct proc *p)); 36 int mfs_statfs __P((struct mount *mp, struct statfs *sbp, struct proc *p)); 37 int mfs_strategy __P((struct buf *bp)); 38 __END_DECLS 39