Changeset 7bc4508 in mainline for uspace/lib/ext4/libext4_superblock.h
- Timestamp:
- 2011-10-18T19:58:36Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7bd2c19
- Parents:
- 12f55220
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext4/libext4_superblock.h
r12f55220 r7bc4508 109 109 uint16_t min_extra_isize; // All inodes have at least # bytes 110 110 uint16_t want_extra_isize; // New inodes should reserve # bytes 111 uint32_t lags; // Miscellaneous flags111 uint32_t flags; // Miscellaneous flags 112 112 uint16_t raid_stride; // RAID stride 113 113 uint16_t mmp_interval; // # seconds to wait in MMP checking … … 144 144 #define EXT4_SUPERBLOCK_OS_HURD 1 145 145 146 /* 147 * Misc. filesystem flags 148 */ 149 #define EXT4_SUPERBLOCK_FLAGS_SIGNED_HASH 0x0001 /* Signed dirhash in use */ 150 #define EXT4_SUPERBLOCK_FLAGS_UNSIGNED_HASH 0x0002 /* Unsigned dirhash in use */ 151 #define EXT4_SUPERBLOCK_FLAGS_TEST_FILESYS 0x0004 /* to test development code */ 152 153 146 154 extern uint32_t ext4_superblock_get_inodes_count(ext4_superblock_t *); 147 155 extern uint64_t ext4_superblock_get_blocks_count(ext4_superblock_t *); … … 191 199 uint32_t s_journal_dev; // Device number of journal file 192 200 uint32_t s_last_orphan; // Head of list of inodes to delete 193 uint32_t s_hash_seed[4]; // HTREE hash seed 201 */ 202 extern uint32_t* ext4_superblock_get_hash_seed(ext4_superblock_t *); 203 204 /* 194 205 uint8_t s_def_hash_version; // Default hash version to use 195 206 uint8_t s_jnl_backup_type; … … 201 212 uint16_t s_min_extra_isize; // All inodes have at least # bytes 202 213 uint16_t s_want_extra_isize; // New inodes should reserve # bytes 203 uint32_t s_flags; // Miscellaneous flags 214 */ 215 extern uint32_t ext4_superblock_get_flags(ext4_superblock_t *); 216 /* 204 217 uint16_t s_raid_stride; // RAID stride 205 218 uint16_t s_mmp_interval; // # seconds to wait in MMP checking … … 229 242 230 243 /* More complex superblock functions */ 244 extern bool ext4_superblock_has_flag(ext4_superblock_t *, uint32_t); 231 245 extern int ext4_superblock_read_direct(service_id_t, ext4_superblock_t **); 232 246 extern int ext4_superblock_check_sanity(ext4_superblock_t *);
Note:
See TracChangeset
for help on using the changeset viewer.