1/*
2 * Copyright (c) 1982, 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.
--- 22 unchanged lines hidden (view full) ---
31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)inode.h 8.4 (Berkeley) 1/21/94
39 * $Id: inode.h,v 1.6 1995/05/30 08:15:30 rgrimes Exp $
40 */
41
42#ifndef _UFS_UFS_INODE_H_
43#define _UFS_UFS_INODE_H_
44
45#include <ufs/ufs/dinode.h>
46
47/*
--- 21 unchanged lines hidden (view full) ---
69 struct vnode *i_vnode; /* Vnode associated with this inode. */
70 struct vnode *i_devvp; /* Vnode for block I/O. */
71 u_long i_flag; /* I* flags. */
72 dev_t i_dev; /* Device associated with the inode. */
73 ino_t i_number; /* The identity of the inode. */
74 union { /* Associated filesystem. */
75 struct fs *fs; /* FFS */
76 struct lfs *lfs; /* LFS */
77 struct ext2_sb_info *e2fs; /* EXT2FS */
78 } inode_u;
79#define i_fs inode_u.fs
80#define i_lfs inode_u.lfs
81#define i_e2fs inode_u.e2fs
82 struct dquot *i_dquot[MAXQUOTAS]; /* Dquot structures. */
83 u_quad_t i_modrev; /* Revision level for lease. */
84 struct lockf *i_lockf; /* Head of byte-level lock list. */
85 pid_t i_lockholder; /* DEBUG: holder of inode lock. */
86 pid_t i_lockwaiter; /* DEBUG: latest blocked for inode lock. */
87 /*
88 * Side effects; used during directory lookup.
89 */
--- 91 unchanged lines hidden ---
2 * Copyright (c) 1982, 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.
--- 22 unchanged lines hidden (view full) ---
31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)inode.h 8.4 (Berkeley) 1/21/94
39 * $Id: inode.h,v 1.6 1995/05/30 08:15:30 rgrimes Exp $
40 */
41
42#ifndef _UFS_UFS_INODE_H_
43#define _UFS_UFS_INODE_H_
44
45#include <ufs/ufs/dinode.h>
46
47/*
--- 21 unchanged lines hidden (view full) ---
69 struct vnode *i_vnode; /* Vnode associated with this inode. */
70 struct vnode *i_devvp; /* Vnode for block I/O. */
71 u_long i_flag; /* I* flags. */
72 dev_t i_dev; /* Device associated with the inode. */
73 ino_t i_number; /* The identity of the inode. */
74 union { /* Associated filesystem. */
75 struct fs *fs; /* FFS */
76 struct lfs *lfs; /* LFS */
77 struct ext2_sb_info *e2fs; /* EXT2FS */
78 } inode_u;
79#define i_fs inode_u.fs
80#define i_lfs inode_u.lfs
81#define i_e2fs inode_u.e2fs
82 struct dquot *i_dquot[MAXQUOTAS]; /* Dquot structures. */
83 u_quad_t i_modrev; /* Revision level for lease. */
84 struct lockf *i_lockf; /* Head of byte-level lock list. */
85 pid_t i_lockholder; /* DEBUG: holder of inode lock. */
86 pid_t i_lockwaiter; /* DEBUG: latest blocked for inode lock. */
87 /*
88 * Side effects; used during directory lookup.
89 */
--- 91 unchanged lines hidden ---