ext2fs.h (46b01b2c385329823c4553ba2d05cb7a3ea10df9) ext2fs.h (91f5a4670fecd56003b04db85b8abbe63a5ee4eb)
1/*-
2 * modified for EXT2FS support in Lites 1.1
3 *
4 * Aug 1995, Godmar Back (gback@cs.utah.edu)
5 * University of Utah, Department of Computer Science
6 *
7 * $FreeBSD$
8 */

--- 133 unchanged lines hidden (view full) ---

142 uint32_t e2fs_total_dir; /* Total number of directories */
143 uint8_t *e2fs_contigdirs; /* (u) # of contig. allocated dirs */
144 char e2fs_wasvalid; /* valid at mount time */
145 off_t e2fs_maxfilesize;
146 struct ext2_gd *e2fs_gd; /* Group Descriptors */
147 int32_t e2fs_contigsumsize; /* size of cluster summary array */
148 int32_t *e2fs_maxcluster; /* max cluster in each cyl group */
149 struct csum *e2fs_clustersum; /* cluster summary in each cyl group */
1/*-
2 * modified for EXT2FS support in Lites 1.1
3 *
4 * Aug 1995, Godmar Back (gback@cs.utah.edu)
5 * University of Utah, Department of Computer Science
6 *
7 * $FreeBSD$
8 */

--- 133 unchanged lines hidden (view full) ---

142 uint32_t e2fs_total_dir; /* Total number of directories */
143 uint8_t *e2fs_contigdirs; /* (u) # of contig. allocated dirs */
144 char e2fs_wasvalid; /* valid at mount time */
145 off_t e2fs_maxfilesize;
146 struct ext2_gd *e2fs_gd; /* Group Descriptors */
147 int32_t e2fs_contigsumsize; /* size of cluster summary array */
148 int32_t *e2fs_maxcluster; /* max cluster in each cyl group */
149 struct csum *e2fs_clustersum; /* cluster summary in each cyl group */
150 int32_t e2fs_uhash; /* 3 if hash should be signed, 0 if not */
150};
151
152/* cluster summary information */
153
154struct csum {
155 int8_t cs_init; /* cluster summary has been initialized */
156 int32_t *cs_sum; /* cluster summary array */
157};

--- 65 unchanged lines hidden (view full) ---

223 ( EXT2_SB(sb)->e2fs->e2fs_features_incompat & htole32(mask) )
224
225/*
226 * File clean flags
227 */
228#define E2FS_ISCLEAN 0x0001 /* Unmounted cleanly */
229#define E2FS_ERRORS 0x0002 /* Errors detected */
230
151};
152
153/* cluster summary information */
154
155struct csum {
156 int8_t cs_init; /* cluster summary has been initialized */
157 int32_t *cs_sum; /* cluster summary array */
158};

--- 65 unchanged lines hidden (view full) ---

224 ( EXT2_SB(sb)->e2fs->e2fs_features_incompat & htole32(mask) )
225
226/*
227 * File clean flags
228 */
229#define E2FS_ISCLEAN 0x0001 /* Unmounted cleanly */
230#define E2FS_ERRORS 0x0002 /* Errors detected */
231
232/*
233 * Filesystem miscellaneous flags
234 */
235#define E2FS_SIGNED_HASH 0x0001
236#define E2FS_UNSIGNED_HASH 0x0002
237
231/* ext2 file system block group descriptor */
232
233struct ext2_gd {
234 uint32_t ext2bgd_b_bitmap; /* blocks bitmap block */
235 uint32_t ext2bgd_i_bitmap; /* inodes bitmap block */
236 uint32_t ext2bgd_i_tables; /* inodes table block */
237 uint16_t ext2bgd_nbfree; /* number of free blocks */
238 uint16_t ext2bgd_nifree; /* number of free inodes */

--- 41 unchanged lines hidden ---
238/* ext2 file system block group descriptor */
239
240struct ext2_gd {
241 uint32_t ext2bgd_b_bitmap; /* blocks bitmap block */
242 uint32_t ext2bgd_i_bitmap; /* inodes bitmap block */
243 uint32_t ext2bgd_i_tables; /* inodes table block */
244 uint16_t ext2bgd_nbfree; /* number of free blocks */
245 uint16_t ext2bgd_nifree; /* number of free inodes */

--- 41 unchanged lines hidden ---