ext2_mount.h (2177) | ext2_mount.h (12117) |
---|---|
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.2 (Berkeley) 1/12/94 | 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.2 (Berkeley) 1/12/94 |
34 * $Id: ufsmount.h,v 1.2 1994/08/02 07:55:04 davidg Exp $ | 34 * $Id: ufsmount.h,v 1.3 1994/08/21 07:16:18 paul Exp $ |
35 */ 36 37#ifndef _UFS_UFS_UFSMOUNT_H_ 38#define _UFS_UFS_UFSMOUNT_H_ 39 40struct buf; 41struct inode; 42struct nameidata; --- 6 unchanged lines hidden (view full) --- 49/* This structure describes the UFS specific mount structure data. */ 50struct ufsmount { 51 struct mount *um_mountp; /* filesystem vfs structure */ 52 dev_t um_dev; /* device mounted */ 53 struct vnode *um_devvp; /* block device mounted vnode */ 54 union { /* pointer to superblock */ 55 struct lfs *lfs; /* LFS */ 56 struct fs *fs; /* FFS */ | 35 */ 36 37#ifndef _UFS_UFS_UFSMOUNT_H_ 38#define _UFS_UFS_UFSMOUNT_H_ 39 40struct buf; 41struct inode; 42struct nameidata; --- 6 unchanged lines hidden (view full) --- 49/* This structure describes the UFS specific mount structure data. */ 50struct ufsmount { 51 struct mount *um_mountp; /* filesystem vfs structure */ 52 dev_t um_dev; /* device mounted */ 53 struct vnode *um_devvp; /* block device mounted vnode */ 54 union { /* pointer to superblock */ 55 struct lfs *lfs; /* LFS */ 56 struct fs *fs; /* FFS */ |
57 struct ext2_sb_info *e2fs; /* EXT2FS */ |
|
57 } ufsmount_u; 58#define um_fs ufsmount_u.fs 59#define um_lfs ufsmount_u.lfs | 58 } ufsmount_u; 59#define um_fs ufsmount_u.fs 60#define um_lfs ufsmount_u.lfs |
61#define um_e2fs ufsmount_u.e2fs 62#define um_e2fsb ufsmount_u.e2fs->s_es |
|
60 struct vnode *um_quotas[MAXQUOTAS]; /* pointer to quota files */ 61 struct ucred *um_cred[MAXQUOTAS]; /* quota file access cred */ 62 u_long um_nindir; /* indirect ptrs per block */ 63 u_long um_bptrtodb; /* indir ptr to disk block */ 64 u_long um_seqinc; /* inc between seq blocks */ 65 time_t um_btime[MAXQUOTAS]; /* block quota time limit */ 66 time_t um_itime[MAXQUOTAS]; /* inode quota time limit */ 67 char um_qflags[MAXQUOTAS]; /* quota specific flags */ --- 20 unchanged lines hidden --- | 63 struct vnode *um_quotas[MAXQUOTAS]; /* pointer to quota files */ 64 struct ucred *um_cred[MAXQUOTAS]; /* quota file access cred */ 65 u_long um_nindir; /* indirect ptrs per block */ 66 u_long um_bptrtodb; /* indir ptr to disk block */ 67 u_long um_seqinc; /* inc between seq blocks */ 68 time_t um_btime[MAXQUOTAS]; /* block quota time limit */ 69 time_t um_itime[MAXQUOTAS]; /* inode quota time limit */ 70 char um_qflags[MAXQUOTAS]; /* quota specific flags */ --- 20 unchanged lines hidden --- |