Changeset View
Changeset View
Standalone View
Standalone View
sys/ufs/ufs/inode.h
Show First 20 Lines • Show All 105 Lines • ▼ Show 20 Lines | struct inode { | ||||
/* | /* | ||||
* Copies from the on-disk dinode itself. | * Copies from the on-disk dinode itself. | ||||
*/ | */ | ||||
u_int64_t i_size; /* File byte count. */ | u_int64_t i_size; /* File byte count. */ | ||||
u_int64_t i_gen; /* Generation number. */ | u_int64_t i_gen; /* Generation number. */ | ||||
u_int32_t i_flags; /* Status flags (chflags). */ | u_int32_t i_flags; /* Status flags (chflags). */ | ||||
u_int32_t i_uid; /* File owner. */ | u_int32_t i_uid; /* File owner. */ | ||||
u_int32_t i_gid; /* File group. */ | u_int32_t i_gid; /* File group. */ | ||||
u_int16_t i_mode; /* IFMT, permissions; see below. */ | u_int16_t i_mode; /* UFS_IFMT, permissions; see below. */ | ||||
int16_t i_nlink; /* File link count. */ | int16_t i_nlink; /* File link count. */ | ||||
}; | }; | ||||
/* | /* | ||||
* These flags are kept in i_flag. | * These flags are kept in i_flag. | ||||
*/ | */ | ||||
#define IN_ACCESS 0x0001 /* Access time update request. */ | #define IN_ACCESS 0x0001 /* Access time update request. */ | ||||
#define IN_CHANGE 0x0002 /* Inode change time update request. */ | #define IN_CHANGE 0x0002 /* Inode change time update request. */ | ||||
#define IN_UPDATE 0x0004 /* Modification time update request. */ | #define IN_UPDATE 0x0004 /* Modification time update request. */ | ||||
▲ Show 20 Lines • Show All 85 Lines • Show Last 20 Lines |