inode.h (231168) | inode.h (232703) |
---|---|
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 231168 2012-02-07 22:31:28Z pfg $ | 35 * $FreeBSD: head/sys/fs/ext2fs/inode.h 232703 2012-03-08 21:06:05Z 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 --- 28 unchanged lines hidden (view full) --- 72 int32_t i_count; /* Size of free slot in directory. */ 73 doff_t i_endoff; /* End of useful stuff in directory. */ 74 doff_t i_diroff; /* Offset in dir, where we found last entry. */ 75 doff_t i_offset; /* Offset of free space in directory. */ 76 77 uint32_t i_block_group; 78 uint32_t i_next_alloc_block; 79 uint32_t i_next_alloc_goal; | 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 --- 28 unchanged lines hidden (view full) --- 72 int32_t i_count; /* Size of free slot in directory. */ 73 doff_t i_endoff; /* End of useful stuff in directory. */ 74 doff_t i_diroff; /* Offset in dir, where we found last entry. */ 75 doff_t i_offset; /* Offset of free space in directory. */ 76 77 uint32_t i_block_group; 78 uint32_t i_next_alloc_block; 79 uint32_t i_next_alloc_goal; |
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_mtime; /* Last modified time. */ 89 int32_t i_ctime; /* Last inode change time. */ --- 83 unchanged lines hidden --- | 80 81 /* Fields from struct dinode in UFS. */ 82 uint16_t i_mode; /* IFMT, permissions; see below. */ 83 int16_t i_nlink; /* File link count. */ 84 uint64_t i_size; /* File byte count. */ 85 int32_t i_atime; /* Last access time. */ 86 int32_t i_mtime; /* Last modified time. */ 87 int32_t i_ctime; /* Last inode change time. */ --- 83 unchanged lines hidden --- |