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.9 (Berkeley) 5/14/95 |
39 * $FreeBSD: head/sys/gnu/fs/ext2fs/inode.h 79561 2001-07-10 21:21:29Z iedowse $ |
40 */ 41 42#ifndef _UFS_UFS_INODE_H_ 43#define _UFS_UFS_INODE_H_ 44 45#include <sys/lock.h> 46#include <sys/queue.h> 47#include <ufs/ufs/dinode.h> --- 41 unchanged lines hidden (view full) --- 89 */ 90 int32_t i_count; /* Size of free slot in directory. */ 91 doff_t i_endoff; /* End of useful stuff in directory. */ 92 doff_t i_diroff; /* Offset in dir, where we found last entry. */ 93 doff_t i_offset; /* Offset of free space in directory. */ 94 ino_t i_ino; /* Inode number of found directory. */ 95 u_int32_t i_reclen; /* Size of found directory entry. */ 96 u_int32_t i_spare[4]; /* XXX actually non-spare (for ext2fs). */ |
97 98 struct dirhash *i_dirhash; /* Hashing for large directories */ |
99 /* 100 * The on-disk dinode itself. 101 */ 102 struct dinode i_din; /* 128 bytes of the on-disk dinode. */ 103}; 104 105#define i_atime i_din.di_atime 106#define i_atimensec i_din.di_atimensec --- 56 unchanged lines hidden --- |