UFS/FFS split for LFS version 1
[unix-history] / usr / src / sys / ufs / mfs / mfs_extern.h
CommitLineData
a5e29c6f
KB
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.1 (Berkeley) %G%
8 */
9
10struct buf;
11struct mount;
12struct nameidata;
13struct proc;
14struct statfs;
15struct ucred;
16struct vnode;
17
18__BEGIN_DECLS
19int mfs_badop __P((void));
20int mfs_bmap __P((struct vnode *vp,
21 daddr_t bn, struct vnode **vpp, daddr_t *bnp));
22int mfs_close __P((struct vnode *vp,
23 int flag, struct ucred *cred, struct proc *p));
24void mfs_doio __P((struct buf *bp, caddr_t base));
25int mfs_inactive __P((struct vnode *vp, struct proc *p));
26int mfs_init __P((void));
27int mfs_ioctl __P((struct vnode *vp, int com,
28 caddr_t data, int fflag, struct ucred *cred, struct proc *p));
29int mfs_mount __P((struct mount *mp,
30 char *path, caddr_t data, struct nameidata *ndp, struct proc *p));
31int mfs_open __P((struct vnode *vp,
32 int mode, struct ucred *cred, struct proc *p));
33int mfs_print __P((struct vnode *vp));
34int mfs_start __P((struct mount *mp, int flags, struct proc *p));
35int mfs_statfs __P((struct mount *mp, struct statfs *sbp, struct proc *p));
36int mfs_strategy __P((struct buf *bp));
37__END_DECLS