fix mfs_inactive for incore mini-root.
[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 *
6865c2bc 7 * @(#)mfs_extern.h 7.2 (Berkeley) %G%
a5e29c6f
KB
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));
6865c2bc 26int mfs_reclaim __P((struct vnode *vp));
a5e29c6f
KB
27int mfs_init __P((void));
28int mfs_ioctl __P((struct vnode *vp, int com,
29 caddr_t data, int fflag, struct ucred *cred, struct proc *p));
30int mfs_mount __P((struct mount *mp,
31 char *path, caddr_t data, struct nameidata *ndp, struct proc *p));
32int mfs_open __P((struct vnode *vp,
33 int mode, struct ucred *cred, struct proc *p));
34int mfs_print __P((struct vnode *vp));
35int mfs_start __P((struct mount *mp, int flags, struct proc *p));
36int mfs_statfs __P((struct mount *mp, struct statfs *sbp, struct proc *p));
37int mfs_strategy __P((struct buf *bp));
38__END_DECLS