Changeset View
Changeset View
Standalone View
Standalone View
head/sys/fs/ext2fs/inode.h
Show First 20 Lines • Show All 101 Lines • ▼ Show 20 Lines | struct inode { | ||||
int32_t i_birthtime; /* Inode creation time. */ | int32_t i_birthtime; /* Inode creation time. */ | ||||
int32_t i_mtimensec; /* Last modified time. */ | int32_t i_mtimensec; /* Last modified time. */ | ||||
int32_t i_atimensec; /* Last access time. */ | int32_t i_atimensec; /* Last access time. */ | ||||
int32_t i_ctimensec; /* Last inode change time. */ | int32_t i_ctimensec; /* Last inode change time. */ | ||||
int32_t i_birthnsec; /* Inode creation time. */ | int32_t i_birthnsec; /* Inode creation time. */ | ||||
uint32_t i_gen; /* Generation number. */ | uint32_t i_gen; /* Generation number. */ | ||||
uint64_t i_facl; /* EA block number. */ | uint64_t i_facl; /* EA block number. */ | ||||
uint32_t i_flags; /* Status flags (chflags). */ | uint32_t i_flags; /* Status flags (chflags). */ | ||||
union { | |||||
struct { | |||||
uint32_t i_db[EXT2_NDADDR]; /* Direct disk blocks. */ | uint32_t i_db[EXT2_NDADDR]; /* Direct disk blocks. */ | ||||
uint32_t i_ib[EXT2_NIADDR]; /* Indirect disk blocks. */ | uint32_t i_ib[EXT2_NIADDR]; /* Indirect disk blocks. */ | ||||
}; | |||||
uint32_t i_data[EXT2_NDADDR + EXT2_NIADDR]; | |||||
}; | |||||
struct ext4_extent_cache i_ext_cache; /* cache for ext4 extent */ | struct ext4_extent_cache i_ext_cache; /* cache for ext4 extent */ | ||||
}; | }; | ||||
/* | /* | ||||
* The di_db fields may be overlaid with other information for | * The di_db fields may be overlaid with other information for | ||||
* file types that do not have associated disk storage. Block | * file types that do not have associated disk storage. Block | ||||
* and character devices overlay the first data block with their | * and character devices overlay the first data block with their | ||||
▲ Show 20 Lines • Show All 70 Lines • Show Last 20 Lines |