VirtualBox

Changeset 76316 in vbox for trunk/include/iprt/formats


Ignore:
Timestamp:
Dec 20, 2018 3:33:24 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
127607
Message:

Runtime/fs/extvfs: Updates, implement extent tree walking. Enables access to ext4 filesystems as long as they don't use the flex_bg feature

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/formats/ext.h

    r76305 r76316  
    831831/** Magic number identifying an extent header. */
    832832#define EXT_EXTENT_HDR_MAGIC                         UINT16_C(0xf30a)
     833/** Maximum depth an extent header can have. */
     834#define EXT_EXTENT_HDR_DEPTH_MAX                     UINT16_C(5)
    833835
    834836
     
    873875/** Pointer to a const leaf node. */
    874876typedef const EXTEXTENT *PCEXTEXTENT;
     877
     878/** Length field limit for a populated extent, fields greater than that limit indicate a sparse extent. */
     879#define EXT_EXTENT_LENGTH_LIMIT                      UINT16_C(32768)
    875880
    876881
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette