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 $
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 } ufsmount_u;
58#define um_fs ufsmount_u.fs
59#define um_lfs ufsmount_u.lfs
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 ---
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 $
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 } ufsmount_u;
58#define um_fs ufsmount_u.fs
59#define um_lfs ufsmount_u.lfs
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 ---