don't add overflow pages to pages that already have overflow pages
[unix-history] / usr / src / sys / ufs / ffs / ufs_extern.h
CommitLineData
0db0015e
KB
1/*-
2 * Copyright (c) 1991 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * %sccs.include.redist.c%
6 *
ea67b335 7 * @(#)ufs_extern.h 7.7 (Berkeley) %G%
0db0015e
KB
8 */
9
10struct buf;
11struct direct;
12struct disklabel;
13struct fid;
14struct flock;
15struct inode;
16struct mount;
17struct nameidata;
18struct proc;
19struct ucred;
20struct uio;
21struct vattr;
22struct vnode;
23
24__BEGIN_DECLS
25void diskerr
26 __P((struct buf *, char *, char *, int, int, struct disklabel *));
27void disksort __P((struct buf *, struct buf *));
28u_int dkcksum __P((struct disklabel *));
29char *readdisklabel __P((dev_t, int (*)(), struct disklabel *));
30int setdisklabel __P((struct disklabel *, struct disklabel *, u_long));
31int writedisklabel __P((dev_t, int (*)(), struct disklabel *));
32
cfef4373 33int ufs_abortop __P((struct vnode *, struct componentname *));
0db0015e
KB
34int ufs_access __P((struct vnode *, int, struct ucred *, struct proc *));
35int ufs_advlock __P((struct vnode *, caddr_t, int, struct flock *, int));
0db0015e
KB
36void ufs_bufstats __P((void));
37int ufs_checkpath __P((struct inode *, struct inode *, struct ucred *));
8e232de3
KM
38int ufs_chmod __P((struct vnode *, int, struct ucred *, struct proc *));
39int ufs_chown
55cdcec4 40 __P((struct vnode *, uid_t, gid_t, struct ucred *, struct proc *));
0db0015e 41int ufs_close __P((struct vnode *, int, struct ucred *, struct proc *));
cfef4373
JH
42int ufs_create __P((struct vnode *, struct vnode **,
43 struct componentname *, struct vattr *));
362d7f3b 44void ufs_dirbad __P((struct inode *, doff_t, char *));
0db0015e
KB
45int ufs_dirbadentry __P((struct direct *, int));
46int ufs_dirempty __P((struct inode *, ino_t, struct ucred *));
cfef4373
JH
47int ufs_direnter __P((struct inode *, struct vnode *,struct componentname *));
48int ufs_dirremove __P((struct vnode *, struct componentname*));
0db0015e 49int ufs_dirrewrite
cfef4373 50 __P((struct inode *, struct inode *, struct componentname *));
0db0015e
KB
51int ufs_getattr __P((struct vnode *,
52 struct vattr *, struct ucred *, struct proc *));
e044e9d5 53struct vnode *
0db0015e
KB
54 ufs_ihashget __P((int, ino_t));
55void ufs_ihashinit __P((void));
56void ufs_ihashins __P((struct inode *));
57void ufs_ilock __P((struct inode *));
0db0015e
KB
58int ufs_init __P((void));
59int ufs_ioctl __P((struct vnode *,
60 int, caddr_t, int, struct ucred *, struct proc *));
61void ufs_iput __P((struct inode *));
62int ufs_islocked __P((struct vnode *));
63void ufs_iunlock __P((struct inode *));
cfef4373 64int ufs_link __P((struct vnode *, struct vnode *, struct componentname *));
0db0015e 65int ufs_lock __P((struct vnode *));
cfef4373
JH
66int ufs_lookup __P((struct vnode *, struct vnode **, struct componentname *));
67int ufs_makeinode __P((int mode, struct vnode *, struct vnode **, struct componentname *));
68int ufs_mkdir __P((struct vnode *, struct vnode **,
69 struct componentname *, struct vattr *));
70int ufs_mknod __P((struct vnode *, struct vnode **,
71 struct componentname *, struct vattr *));
0db0015e
KB
72int ufs_mmap __P((struct vnode *, int, struct ucred *, struct proc *));
73int ufs_mountedon __P((struct vnode *));
74int ufs_open __P((struct vnode *, int, struct ucred *, struct proc *));
75int ufs_print __P((struct vnode *));
76int ufs_readdir __P((struct vnode *, struct uio *, struct ucred *, int *));
77int ufs_readlink __P((struct vnode *, struct uio *, struct ucred *));
78int ufs_reclaim __P((struct vnode *));
cfef4373 79int ufs_remove __P((struct vnode *, struct vnode *, struct componentname *));
0db0015e 80int ufs_rename
cfef4373
JH
81 __P((struct vnode *, struct vnode *, struct componentname *,
82 struct vnode *, struct vnode *, struct componentname *));
83int ufs_rmdir __P((struct vnode *, struct vnode *, struct componentname *));
0db0015e
KB
84int ufs_seek __P((struct vnode *, off_t, off_t, struct ucred *));
85int ufs_select
86 __P((struct vnode *, int, int, struct ucred *, struct proc *));
87int ufs_setattr __P((struct vnode *,
88 struct vattr *, struct ucred *, struct proc *));
89int ufs_start __P((struct mount *, int, struct proc *));
90int ufs_strategy __P((struct buf *));
91int ufs_symlink
cfef4373 92 __P((struct vnode *, struct vnode **, struct componentname *, struct vattr *, char *));
0db0015e 93int ufs_unlock __P((struct vnode *));
e044e9d5
KM
94int ufs_vinit __P((struct mount *,
95 struct vnodeops *, struct vnodeops *, struct vnode **));
0db0015e
KB
96int ufsspec_close
97 __P((struct vnode *, int, struct ucred *, struct proc *));
98int ufsspec_read __P((struct vnode *, struct uio *, int, struct ucred *));
99int ufsspec_write __P((struct vnode *, struct uio *, int, struct ucred *));
100
101#ifdef FIFO
102int ufsfifo_read __P((struct vnode *, struct uio *, int, struct ucred *));
103int ufsfifo_write __P((struct vnode *, struct uio *, int, struct ucred *));
104int ufsfifo_close __P((struct vnode *, int, struct ucred *, struct proc *));
105#endif
106__END_DECLS