Changeset 76292 in vbox for trunk/include/iprt
- Timestamp:
- Dec 19, 2018 1:49:08 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/formats/ext.h
r76256 r76292 41 41 * https://www.kernel.org/doc/html/latest/filesystems/ext4/index.html 42 42 */ 43 44 /** Offset where to find the first superblock on the disk, this is constant. */ 45 #define EXT_SB_OFFSET 1024 43 46 44 47 /** @name EXT_INODE_NR_XXX - Special inode numbers. … … 136 139 uint8_t cBlocksPrealloc; 137 140 /** 0xcd: Number of blocks to try to preallocate for directories. */ 138 uint8_t cBlocksPreallocDire xtory;141 uint8_t cBlocksPreallocDirectory; 139 142 /** 0xce: Number of reserved group descriptor entries for future filesystem expansion. */ 140 143 uint16_t cGdtEntriesRsvd; … … 505 508 /** Pointer to an ext block group descriptor. */ 506 509 typedef EXTBLOCKGROUPDESC32 *PEXTBLOCKGROUPDESC32; 510 /** Pointer to a const 32 byte block group descriptor. */ 511 typedef const EXTBLOCKGROUPDESC32 *PCEXTBLOCKGROUPDESC32; 512 507 513 508 514 /** … … 539 545 /** Pointer to an ext block group descriptor. */ 540 546 typedef EXTBLOCKGROUPDESC64 *PEXTBLOCKGROUPDESC64; 547 /** Pointer to a const 64 byte block group descriptor. */ 548 typedef const EXTBLOCKGROUPDESC64 *PCEXTBLOCKGROUPDESC64; 541 549 542 550 /** @name EXT_GROUP_DESC_F_XXX - Group descriptor flags … … 549 557 #define EXT_GROUP_DESC_F_INODE_ZEROED RT_BIT_16(2) 550 558 /** @} */ 559 560 561 /** 562 * Combiend view of the different block gorup descriptor versions. 563 */ 564 typedef union EXTBLOCKGROUPDESC 565 { 566 /** 32 byte version. */ 567 EXTBLOCKGROUPDESC32 v32; 568 /** 64 byte version. */ 569 EXTBLOCKGROUPDESC64 v64; 570 /** Byte view. */ 571 uint8_t au8[64]; 572 } EXTBLOCKGROUPDESC; 573 /** Poiner to a unified block gorup descriptor view. */ 574 typedef EXTBLOCKGROUPDESC *PEXTBLOCKGROUPDESC; 575 /** Poiner to a const unified block gorup descriptor view. */ 576 typedef const EXTBLOCKGROUPDESC *PCEXTBLOCKGROUPDESC; 551 577 552 578 … … 621 647 typedef const EXTINODE *PCEXTINODE; 622 648 649 623 650 /** 624 651 * Extra inode data (coming right behind the fixed inode data). … … 649 676 /** Pointer to a const extra inode data. */ 650 677 typedef const EXTINODEEXTRA *PCEXTINODEEXTRA; 678 679 680 /** 681 * Combined inode data. 682 */ 683 typedef struct EXTINODECOMB 684 { 685 /** Core inode structure. */ 686 EXTINODE Core; 687 /** Any extra inode data which might be present. */ 688 EXTINODEEXTRA Extra; 689 } EXTINODECOMB; 690 /** Pointer to combined inode data. */ 691 typedef EXTINODECOMB *PEXTINODECOMB; 692 /** Pointer to a const combined inode data. */ 693 typedef const EXTINODECOMB *PCEXTINODECOMB; 694 695 651 696 652 697 /** @name EXT_INODE_MODE_XXX - File mode
Note:
See TracChangeset
for help on using the changeset viewer.