Deleted Added
full compact
inode.h (231075) inode.h (231168)
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.

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

27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * @(#)inode.h 8.9 (Berkeley) 5/14/95
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.

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

27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * @(#)inode.h 8.9 (Berkeley) 5/14/95
35 * $FreeBSD: head/sys/fs/ext2fs/inode.h 231075 2012-02-06 11:04:36Z kib $
35 * $FreeBSD: head/sys/fs/ext2fs/inode.h 231168 2012-02-07 22:31:28Z pfg $
36 */
37
38#ifndef _FS_EXT2FS_INODE_H_
39#define _FS_EXT2FS_INODE_H_
40
41#include <sys/lock.h>
42#include <sys/queue.h>
43

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

80 uint32_t i_prealloc_block;
81 uint32_t i_prealloc_count;
82
83 /* Fields from struct dinode in UFS. */
84 uint16_t i_mode; /* IFMT, permissions; see below. */
85 int16_t i_nlink; /* File link count. */
86 uint64_t i_size; /* File byte count. */
87 int32_t i_atime; /* Last access time. */
36 */
37
38#ifndef _FS_EXT2FS_INODE_H_
39#define _FS_EXT2FS_INODE_H_
40
41#include <sys/lock.h>
42#include <sys/queue.h>
43

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

80 uint32_t i_prealloc_block;
81 uint32_t i_prealloc_count;
82
83 /* Fields from struct dinode in UFS. */
84 uint16_t i_mode; /* IFMT, permissions; see below. */
85 int16_t i_nlink; /* File link count. */
86 uint64_t i_size; /* File byte count. */
87 int32_t i_atime; /* Last access time. */
88 int32_t i_atimensec; /* Last access time. */
89 int32_t i_mtime; /* Last modified time. */
88 int32_t i_mtime; /* Last modified time. */
90 int32_t i_mtimensec; /* Last modified time. */
91 int32_t i_ctime; /* Last inode change time. */
89 int32_t i_ctime; /* Last inode change time. */
90 int32_t i_birthtime; /* Inode creation time. */
91 int32_t i_mtimensec; /* Last modified time. */
92 int32_t i_atimensec; /* Last access time. */
92 int32_t i_ctimensec; /* Last inode change time. */
93 int32_t i_ctimensec; /* Last inode change time. */
94 int32_t i_birthnsec; /* Inode creation time. */
93 int32_t i_db[NDADDR]; /* Direct disk blocks. */
94 int32_t i_ib[NIADDR]; /* Indirect disk blocks. */
95 uint32_t i_flags; /* Status flags (chflags). */
96 int32_t i_blocks; /* Blocks actually held. */
97 int32_t i_gen; /* Generation number. */
98 uint32_t i_uid; /* File owner. */
99 uint32_t i_gid; /* File group. */
100};

--- 70 unchanged lines hidden ---
95 int32_t i_db[NDADDR]; /* Direct disk blocks. */
96 int32_t i_ib[NIADDR]; /* Indirect disk blocks. */
97 uint32_t i_flags; /* Status flags (chflags). */
98 int32_t i_blocks; /* Blocks actually held. */
99 int32_t i_gen; /* Generation number. */
100 uint32_t i_uid; /* File owner. */
101 uint32_t i_gid; /* File group. */
102};

--- 70 unchanged lines hidden ---