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.22 1998/02/03 21:52:00 bde 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_bmap_args;
67struct vop_reallocblks_args;
68
69int ffs_alloc __P((struct inode *,
70 ufs_daddr_t, ufs_daddr_t, int, struct ucred *, ufs_daddr_t *));
71int ffs_balloc __P((struct vop_balloc_args *));
72int ffs_blkatoff __P((struct vnode *, off_t, char **, struct buf **));
73void ffs_blkfree __P((struct inode *, ufs_daddr_t, long));
74ufs_daddr_t ffs_blkpref __P((struct inode *, ufs_daddr_t, int, ufs_daddr_t *));
--- 50 unchanged lines hidden (view full) ---
125 struct buf *, int, ufs_daddr_t));
126void softdep_setup_allocindir_page __P((struct inode *, ufs_lbn_t,
127 struct buf *, int, ufs_daddr_t, ufs_daddr_t, struct buf *));
128void softdep_disk_io_initiation __P((struct buf *));
129void softdep_disk_write_complete __P((struct buf *));
130int softdep_sync_metadata __P((struct vop_fsync_args *));
131
132#endif /* !_UFS_FFS_EXTERN_H */
133
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.22 1998/02/03 21:52:00 bde 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_bmap_args;
67struct vop_reallocblks_args;
68
69int ffs_alloc __P((struct inode *,
70 ufs_daddr_t, ufs_daddr_t, int, struct ucred *, ufs_daddr_t *));
71int ffs_balloc __P((struct vop_balloc_args *));
72int ffs_blkatoff __P((struct vnode *, off_t, char **, struct buf **));
73void ffs_blkfree __P((struct inode *, ufs_daddr_t, long));
74ufs_daddr_t ffs_blkpref __P((struct inode *, ufs_daddr_t, int, ufs_daddr_t *));
--- 50 unchanged lines hidden (view full) ---
125 struct buf *, int, ufs_daddr_t));
126void softdep_setup_allocindir_page __P((struct inode *, ufs_lbn_t,
127 struct buf *, int, ufs_daddr_t, ufs_daddr_t, struct buf *));
128void softdep_disk_io_initiation __P((struct buf *));
129void softdep_disk_write_complete __P((struct buf *));
130int softdep_sync_metadata __P((struct vop_fsync_args *));
131
132#endif /* !_UFS_FFS_EXTERN_H */
133