Changeset 6c501f8 in mainline for uspace/lib/ext4/libext4_block_group.h
- Timestamp:
- 2011-09-30T20:00:30Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 00a8f1b
- Parents:
- 9875711
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext4/libext4_block_group.h
r9875711 r6c501f8 34 34 #define LIBEXT4_LIBEXT4_BLOCK_GROUP_H_ 35 35 36 #include <sys/types.h> 37 38 /* 39 * Structure of a blocks group descriptor 40 */ 41 typedef struct ext4_block_group { 42 uint32_t bg_block_bitmap_lo; // Blocks bitmap block 43 uint32_t bg_inode_bitmap_lo; // Inodes bitmap block 44 uint32_t bg_inode_table_lo; // Inodes table block 45 uint16_t bg_free_blocks_count_lo; // Free blocks count 46 uint16_t bg_free_inodes_count_lo; // Free inodes count 47 uint16_t bg_used_dirs_count_lo; // Directories count 48 uint16_t bg_flags; // EXT4_BG_flags (INODE_UNINIT, etc) 49 uint32_t bg_reserved[2]; // Likely block/inode bitmap checksum 50 uint16_t bg_itable_unused_lo; // Unused inodes count 51 uint16_t bg_checksum; // crc16(sb_uuid+group+desc) 52 uint32_t bg_block_bitmap_hi; // Blocks bitmap block MSB 53 uint32_t bg_inode_bitmap_hi; // Inodes bitmap block MSB 54 uint32_t bg_inode_table_hi; // Inodes table block MSB 55 uint16_t bg_free_blocks_count_hi; // Free blocks count MSB 56 uint16_t bg_free_inodes_count_hi; // Free inodes count MSB 57 uint16_t bg_used_dirs_count_hi; // Directories count MSB 58 uint16_t bg_itable_unused_hi; // Unused inodes count MSB 59 uint32_t bg_reserved2[3]; // Padding 60 } ext4_group_desc_t; 36 61 37 62 #endif
Note:
See TracChangeset
for help on using the changeset viewer.