Changeset 1ac1ab4 in mainline for uspace/lib/ext4/libext4_types.h
- Timestamp:
- 2012-03-31T20:00:15Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a2fa350
- Parents:
- 38384ae
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext4/libext4_types.h
r38384ae r1ac1ab4 194 194 195 195 /*****************************************************************************/ 196 197 typedef struct ext4_filesystem { 198 service_id_t device; 199 ext4_superblock_t * superblock; 200 aoff64_t inode_block_limits[4]; 201 aoff64_t inode_blocks_per_level[4]; 202 } ext4_filesystem_t; 203 204 205 /*****************************************************************************/ 206 207 196 208 /* 197 209 * Structure of a blocks group descriptor … … 222 234 block_t *block; // Reference to a block containing this block group descr 223 235 ext4_block_group_t *block_group; 236 ext4_filesystem_t *fs; 237 uint32_t index; 224 238 bool dirty; 225 239 } ext4_block_group_ref_t; … … 229 243 #define EXT4_BLOCK_MAX_GROUP_DESCRIPTOR_SIZE 64 230 244 231 232 /*****************************************************************************/ 233 234 typedef struct ext4_filesystem { 235 service_id_t device; 236 ext4_superblock_t * superblock; 237 aoff64_t inode_block_limits[4]; 238 aoff64_t inode_blocks_per_level[4]; 239 } ext4_filesystem_t; 245 /*****************************************************************************/ 246 240 247 241 248 #define EXT4_MIN_BLOCK_SIZE 1024 //1 KiB 242 249 #define EXT4_MAX_BLOCK_SIZE 65536 //64 KiB 243 250 #define EXT4_REV0_INODE_SIZE 128 244 245 /*****************************************************************************/246 247 251 248 252 #define EXT4_INODE_BLOCK_SIZE 512 … … 346 350 block_t *block; // Reference to a block containing this inode 347 351 ext4_inode_t *inode; 352 ext4_filesystem_t *fs; 348 353 uint32_t index; // Index number of this inode 349 354 bool dirty;
Note:
See TracChangeset
for help on using the changeset viewer.