ext2_mount.h (83366) | ext2_mount.h (92728) |
---|---|
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 83366 2001-09-12 08:38:13Z julian $ | 34 * $FreeBSD: head/sys/gnu/fs/ext2fs/ext2_mount.h 92728 2002-03-19 22:40:48Z alfred $ |
35 */ 36 37#ifndef _UFS_UFS_UFSMOUNT_H_ 38#define _UFS_UFS_UFSMOUNT_H_ 39 40/* 41 * Arguments to mount UFS-based filesystems 42 */ --- 38 unchanged lines hidden (view full) --- 81 u_long um_bptrtodb; /* indir ptr to disk block */ 82 u_long um_seqinc; /* inc between seq blocks */ 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? */ | 35 */ 36 37#ifndef _UFS_UFS_UFSMOUNT_H_ 38#define _UFS_UFS_UFSMOUNT_H_ 39 40/* 41 * Arguments to mount UFS-based filesystems 42 */ --- 38 unchanged lines hidden (view full) --- 81 u_long um_bptrtodb; /* indir ptr to disk block */ 82 u_long um_seqinc; /* inc between seq blocks */ 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 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)); | 89 int (*um_balloc)(struct vnode *, off_t, int, struct ucred *, int, struct buf **); 90 int (*um_blkatoff)(struct vnode *, off_t, char **, struct buf **); 91 int (*um_truncate)(struct vnode *, off_t, int, struct ucred *, struct thread *); 92 int (*um_update)(struct vnode *, int); 93 int (*um_valloc)(struct vnode *, int, struct ucred *, struct vnode **); 94 int (*um_vfree)(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) 100#define UFS_UPDATE(aa, bb) VFSTOUFS((aa)->v_mount)->um_update(aa, bb) 101#define UFS_VALLOC(aa, bb, cc, dd) VFSTOUFS((aa)->v_mount)->um_valloc(aa, bb, cc, dd) 102#define UFS_VFREE(aa, bb, cc) VFSTOUFS((aa)->v_mount)->um_vfree(aa, bb, cc) --- 20 unchanged lines hidden --- | 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) 100#define UFS_UPDATE(aa, bb) VFSTOUFS((aa)->v_mount)->um_update(aa, bb) 101#define UFS_VALLOC(aa, bb, cc, dd) VFSTOUFS((aa)->v_mount)->um_valloc(aa, bb, cc, dd) 102#define UFS_VFREE(aa, bb, cc) VFSTOUFS((aa)->v_mount)->um_vfree(aa, bb, cc) --- 20 unchanged lines hidden --- |