1/*-
2 * Copyright (c) 1991, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
--- 17 unchanged lines hidden (view full) ---
26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)ffs_extern.h 8.6 (Berkeley) 3/30/95
34 * $Id: ffs_extern.h,v 1.23 1998/03/08 09:58:50 julian Exp $
35 */
36
37#ifndef _UFS_FFS_EXTERN_H
38#define _UFS_FFS_EXTERN_H
39
40/*
41 * Sysctl values for the fast filesystem.
42 */
--- 15 unchanged lines hidden (view full) ---
58struct inode;
59struct malloc_type;
60struct mount;
61struct proc;
62struct sockaddr;
63struct statfs;
64struct ucred;
65struct vnode;
66struct vop_balloc_args;
67struct vop_bmap_args;
68struct vop_fsync_args;
69struct vop_reallocblks_args;
70
71int ffs_alloc __P((struct inode *,
72 ufs_daddr_t, ufs_daddr_t, int, struct ucred *, ufs_daddr_t *));
73int ffs_balloc __P((struct vop_balloc_args *));
74int ffs_blkatoff __P((struct vnode *, off_t, char **, struct buf **));
75void ffs_blkfree __P((struct inode *, ufs_daddr_t, long));
76ufs_daddr_t ffs_blkpref __P((struct inode *, ufs_daddr_t, int, ufs_daddr_t *));
--- 50 unchanged lines hidden (view full) ---
127 struct buf *, int, ufs_daddr_t));
128void softdep_setup_allocindir_page __P((struct inode *, ufs_lbn_t,
129 struct buf *, int, ufs_daddr_t, ufs_daddr_t, struct buf *));
130void softdep_disk_io_initiation __P((struct buf *));
131void softdep_disk_write_complete __P((struct buf *));
132int softdep_sync_metadata __P((struct vop_fsync_args *));
133
134#endif /* !_UFS_FFS_EXTERN_H */
2 * Copyright (c) 1991, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
--- 17 unchanged lines hidden (view full) ---
26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)ffs_extern.h 8.6 (Berkeley) 3/30/95
34 * $Id: ffs_extern.h,v 1.23 1998/03/08 09:58:50 julian Exp $
35 */
36
37#ifndef _UFS_FFS_EXTERN_H
38#define _UFS_FFS_EXTERN_H
39
40/*
41 * Sysctl values for the fast filesystem.
42 */
--- 15 unchanged lines hidden (view full) ---
58struct inode;
59struct malloc_type;
60struct mount;
61struct proc;
62struct sockaddr;
63struct statfs;
64struct ucred;
65struct vnode;
66struct vop_balloc_args;
67struct vop_bmap_args;
68struct vop_fsync_args;
69struct vop_reallocblks_args;
70
71int ffs_alloc __P((struct inode *,
72 ufs_daddr_t, ufs_daddr_t, int, struct ucred *, ufs_daddr_t *));
73int ffs_balloc __P((struct vop_balloc_args *));
74int ffs_blkatoff __P((struct vnode *, off_t, char **, struct buf **));
75void ffs_blkfree __P((struct inode *, ufs_daddr_t, long));
76ufs_daddr_t ffs_blkpref __P((struct inode *, ufs_daddr_t, int, ufs_daddr_t *));
--- 50 unchanged lines hidden (view full) ---
127 struct buf *, int, ufs_daddr_t));
128void softdep_setup_allocindir_page __P((struct inode *, ufs_lbn_t,
129 struct buf *, int, ufs_daddr_t, ufs_daddr_t, struct buf *));
130void softdep_disk_io_initiation __P((struct buf *));
131void softdep_disk_write_complete __P((struct buf *));
132int softdep_sync_metadata __P((struct vop_fsync_args *));
133
134#endif /* !_UFS_FFS_EXTERN_H */