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