Changeset a35b458 in mainline for uspace/lib/ext4/include
- Timestamp:
- 2018-03-02T20:10:49Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1380b7
- Parents:
- 3061bc1
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:38:31)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:10:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext4/include/ext4/types.h
r3061bc1 ra35b458 66 66 uint16_t def_resuid; /* Default uid for reserved blocks */ 67 67 uint16_t def_resgid; /* Default gid for reserved blocks */ 68 68 69 69 /* Fields for EXT4_DYNAMIC_REV superblocks only. */ 70 70 uint32_t first_inode; /* First non-reserved inode */ … … 78 78 char last_mounted[64]; /* Directory where last mounted */ 79 79 uint32_t algorithm_usage_bitmap; /* For compression */ 80 80 81 81 /* 82 82 * Performance hints. Directory preallocation should only … … 86 86 uint8_t prealloc_dir_blocks; /* Number to preallocate for dirs */ 87 87 uint16_t reserved_gdt_blocks; /* Per group desc for online growth */ 88 88 89 89 /* 90 90 * Journaling support valid if EXT4_FEATURE_COMPAT_HAS_JOURNAL set. … … 251 251 uint16_t itable_unused_lo; /* Unused inodes count */ 252 252 uint16_t checksum; /* crc16(sb_uuid+group+desc) */ 253 253 254 254 uint32_t block_bitmap_hi; /* Blocks bitmap block MSB */ 255 255 uint32_t inode_bitmap_hi; /* I-nodes bitmap block MSB */ … … 307 307 uint32_t size_hi; 308 308 uint32_t obso_faddr; /* Obsoleted fragment address */ 309 309 310 310 union { 311 311 struct { … … 324 324 } hurd2; 325 325 } __attribute__ ((packed)) osd2; 326 326 327 327 uint16_t extra_isize; 328 328 uint16_t pad1; … … 403 403 uint16_t entry_length; /* Distance to the next directory entry */ 404 404 uint8_t name_length; /* Lower 8 bits of name length */ 405 405 406 406 union { 407 407 uint8_t name_length_high; /* Higher 8 bits of name length */ 408 408 uint8_t inode_type; /* Type of referenced inode (in rev >= 0.5) */ 409 409 } __attribute__ ((packed)); 410 410 411 411 uint8_t name[EXT4_DIRECTORY_FILENAME_LEN]; /* Entry name */ 412 412 } __attribute__((packed)) ext4_directory_entry_ll_t; … … 495 495 typedef struct ext4_extent_index { 496 496 uint32_t first_block; /* Index covers logical blocks from 'block' */ 497 497 498 498 /** 499 499 * Pointer to the physical block of the next
Note:
See TracChangeset
for help on using the changeset viewer.