Deleted Added
full compact
ext2_mount.h (77437) ext2_mount.h (83366)
1/*
2 * Copyright (c) 1982, 1986, 1989, 1993
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 * @(#)ufsmount.h 8.6 (Berkeley) 3/30/95
1/*
2 * Copyright (c) 1982, 1986, 1989, 1993
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 * @(#)ufsmount.h 8.6 (Berkeley) 3/30/95
34 * $FreeBSD: head/sys/gnu/fs/ext2fs/ext2_mount.h 77437 2001-05-29 21:21:53Z phk $
34 * $FreeBSD: head/sys/gnu/fs/ext2fs/ext2_mount.h 83366 2001-09-12 08:38:13Z julian $
35 */
36
37#ifndef _UFS_UFS_UFSMOUNT_H_
38#define _UFS_UFS_UFSMOUNT_H_
39
40/*
41 * Arguments to mount UFS-based filesystems
42 */

--- 40 unchanged lines hidden (view full) ---

83 time_t um_btime[MAXQUOTAS]; /* block quota time limit */
84 time_t um_itime[MAXQUOTAS]; /* inode quota time limit */
85 char um_qflags[MAXQUOTAS]; /* quota specific flags */
86 int64_t um_savedmaxfilesize; /* XXX - limit maxfilesize */
87 struct malloc_type *um_malloctype; /* The inodes malloctype */
88 int um_i_effnlink_valid; /* i_effnlink valid? */
89 int (*um_balloc) __P((struct vnode *, off_t, int, struct ucred *, int, struct buf **));
90 int (*um_blkatoff) __P((struct vnode *, off_t, char **, struct buf **));
35 */
36
37#ifndef _UFS_UFS_UFSMOUNT_H_
38#define _UFS_UFS_UFSMOUNT_H_
39
40/*
41 * Arguments to mount UFS-based filesystems
42 */

--- 40 unchanged lines hidden (view full) ---

83 time_t um_btime[MAXQUOTAS]; /* block quota time limit */
84 time_t um_itime[MAXQUOTAS]; /* inode quota time limit */
85 char um_qflags[MAXQUOTAS]; /* quota specific flags */
86 int64_t um_savedmaxfilesize; /* XXX - limit maxfilesize */
87 struct malloc_type *um_malloctype; /* The inodes malloctype */
88 int um_i_effnlink_valid; /* i_effnlink valid? */
89 int (*um_balloc) __P((struct vnode *, off_t, int, struct ucred *, int, struct buf **));
90 int (*um_blkatoff) __P((struct vnode *, off_t, char **, struct buf **));
91 int (*um_truncate) __P((struct vnode *, off_t, int, struct ucred *, struct proc *));
91 int (*um_truncate) __P((struct vnode *, off_t, int, struct ucred *, struct thread *));
92 int (*um_update) __P((struct vnode *, int));
93 int (*um_valloc) __P((struct vnode *, int, struct ucred *, struct vnode **));
94 int (*um_vfree) __P((struct vnode *, ino_t, int));
95};
96
97#define UFS_BALLOC(aa, bb, cc, dd, ee, ff) VFSTOUFS((aa)->v_mount)->um_balloc(aa, bb, cc, dd, ee, ff)
98#define UFS_BLKATOFF(aa, bb, cc, dd) VFSTOUFS((aa)->v_mount)->um_blkatoff(aa, bb, cc, dd)
99#define UFS_TRUNCATE(aa, bb, cc, dd, ee) VFSTOUFS((aa)->v_mount)->um_truncate(aa, bb, cc, dd, ee)

--- 23 unchanged lines hidden ---
92 int (*um_update) __P((struct vnode *, int));
93 int (*um_valloc) __P((struct vnode *, int, struct ucred *, struct vnode **));
94 int (*um_vfree) __P((struct vnode *, ino_t, int));
95};
96
97#define UFS_BALLOC(aa, bb, cc, dd, ee, ff) VFSTOUFS((aa)->v_mount)->um_balloc(aa, bb, cc, dd, ee, ff)
98#define UFS_BLKATOFF(aa, bb, cc, dd) VFSTOUFS((aa)->v_mount)->um_blkatoff(aa, bb, cc, dd)
99#define UFS_TRUNCATE(aa, bb, cc, dd, ee) VFSTOUFS((aa)->v_mount)->um_truncate(aa, bb, cc, dd, ee)

--- 23 unchanged lines hidden ---