Go to the source code of this file.
Classes | |
| struct | xfs::BtreeNodeHeader |
| struct | xfs::InobtRec |
| struct | xfs::AllocatedInode |
| struct | xfs::BtreeLongHeader |
Namespaces | |
| namespace | xfs |
Typedefs | |
| using | xfs::InobtRecordCallback |
Functions | |
| uint32_t | xfs::btree_header_size (bool is_v5) |
| bool | xfs::parse_btree_header (const unsigned char *buf, uint32_t expected_magic_v4, uint32_t expected_magic_v5, BtreeNodeHeader &out) |
| void | xfs::parse_inobt_record (const unsigned char *buf, bool is_v5_sparse, InobtRec &out) |
| bool | xfs::walk_inode_btree (DiskReader &reader, const VolumeContext &vol, uint32_t agno, const InobtRecordCallback &on_record, std::vector< std::string > &logs, std::string &error) |
| bool | xfs::walk_all_inode_records (DiskReader &reader, const VolumeContext &vol, const InobtRecordCallback &on_record, std::vector< std::string > &logs) |
| bool | xfs::walk_free_inode_btree (DiskReader &reader, const VolumeContext &vol, uint32_t agno, const InobtRecordCallback &on_record, std::vector< std::string > &logs, std::string &error) |
| bool | xfs::walk_all_free_inode_records (DiskReader &reader, const VolumeContext &vol, const InobtRecordCallback &on_record, std::vector< std::string > &logs) |
| void | xfs::expand_chunk (const InobtRec &rec, uint32_t agno, const VolumeContext &vol, std::vector< AllocatedInode > &out) |
| void | xfs::expand_chunk_free (const InobtRec &rec, uint32_t agno, const VolumeContext &vol, std::vector< AllocatedInode > &out) |
| uint32_t | xfs::btree_long_header_size (bool is_v5) |
| bool | xfs::parse_btree_long_header (const unsigned char *buf, uint32_t expected_magic_v4, uint32_t expected_magic_v5, BtreeLongHeader &out) |
| bool | xfs::walk_extent_btree_root (DiskReader &reader, const VolumeContext &vol, const unsigned char *root_buf, uint32_t root_len, bool is_v5_volume, uint32_t max_extents, std::vector< Extent > &out, std::vector< std::string > &logs, std::string &error) |
Variables | |
| constexpr uint32_t | xfs::NULLAGBLOCK = 0xFFFFFFFFu |
| constexpr uint64_t | xfs::NULLFSBLOCK = 0xFFFFFFFFFFFFFFFFull |
| constexpr uint32_t | xfs::XFS_BMBT_MAGIC_V4 = 0x424D4150u |
| constexpr uint32_t | xfs::XFS_BMBT_MAGIC_V5 = 0x424D4133u |
| constexpr uint32_t | xfs::BMBT_KEY_SIZE_LONG = 8 |
| constexpr uint32_t | xfs::BMBT_PTR_SIZE_LONG = 8 |
| constexpr uint32_t | xfs::BMBT_REC_SIZE = 16 |