inode.h (37363) | inode.h (40304) |
---|---|
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 | 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 * $Id: inode.h,v 1.22 1998/03/26 20:53:58 phk Exp $ | 39 * $Id: inode.h,v 1.23 1998/07/03 22:17:01 bde Exp $ |
40 */ 41 42#ifndef _UFS_UFS_INODE_H_ 43#define _UFS_UFS_INODE_H_ 44 45#include <sys/lock.h> 46#include <ufs/ufs/dinode.h> 47 --- 39 unchanged lines hidden (view full) --- 87 * Side effects; used during directory lookup. 88 */ 89 int32_t i_count; /* Size of free slot in directory. */ 90 doff_t i_endoff; /* End of useful stuff in directory. */ 91 doff_t i_diroff; /* Offset in dir, where we found last entry. */ 92 doff_t i_offset; /* Offset of free space in directory. */ 93 ino_t i_ino; /* Inode number of found directory. */ 94 u_int32_t i_reclen; /* Size of found directory entry. */ | 40 */ 41 42#ifndef _UFS_UFS_INODE_H_ 43#define _UFS_UFS_INODE_H_ 44 45#include <sys/lock.h> 46#include <ufs/ufs/dinode.h> 47 --- 39 unchanged lines hidden (view full) --- 87 * Side effects; used during directory lookup. 88 */ 89 int32_t i_count; /* Size of free slot in directory. */ 90 doff_t i_endoff; /* End of useful stuff in directory. */ 91 doff_t i_diroff; /* Offset in dir, where we found last entry. */ 92 doff_t i_offset; /* Offset of free space in directory. */ 93 ino_t i_ino; /* Inode number of found directory. */ 94 u_int32_t i_reclen; /* Size of found directory entry. */ |
95 int i_spare[5]; /* XXX actually non-spare (for ext2fs). */ | 95 u_int32_t i_spare[4]; /* XXX actually non-spare (for ext2fs). */ |
96 /* 97 * The on-disk dinode itself. 98 */ 99 struct dinode i_din; /* 128 bytes of the on-disk dinode. */ 100}; 101 102#define i_atime i_din.di_atime 103#define i_atimensec i_din.di_atimensec --- 56 unchanged lines hidden --- | 96 /* 97 * The on-disk dinode itself. 98 */ 99 struct dinode i_din; /* 128 bytes of the on-disk dinode. */ 100}; 101 102#define i_atime i_din.di_atime 103#define i_atimensec i_din.di_atimensec --- 56 unchanged lines hidden --- |