Classes | |
| struct | ExportRange |
| struct | Ext4Inode |
| struct | ExtentRef |
| struct | JournalDirentCandidate |
| class | Ext4RecoveryImpl |
Functions | |
| uint16_t | le16 (const unsigned char *p) |
| uint32_t | le32 (const unsigned char *p) |
| uint64_t | le64 (const unsigned char *p) |
| uint32_t | be32 (const unsigned char *p) |
| std::string | sanitize_path_component (const std::string &in) |
| template<typename ReadFn> | |
| bool | write_ranges_to_file (ReadFn &&read_fn, const std::vector< ExportRange > &ranges, const fs::path &out_path, uint64_t expected_size, std::string &error) |
| uint32_t anonymous_namespace{ext4_recovery.cpp}::be32 | ( | const unsigned char * | p | ) |
Definition at line 40 of file ext4_recovery.cpp.
References be32().
Referenced by be32(), anonymous_namespace{ext4_recovery.cpp}::Ext4RecoveryImpl::build_journal_replay_map(), and anonymous_namespace{ext4_recovery.cpp}::Ext4RecoveryImpl::export_journal().
| uint16_t anonymous_namespace{ext4_recovery.cpp}::le16 | ( | const unsigned char * | p | ) |
Definition at line 19 of file ext4_recovery.cpp.
References le16().
Referenced by anonymous_namespace{ext4_recovery.cpp}::Ext4RecoveryImpl::collect_extents_from_node(), anonymous_namespace{ext4_recovery.cpp}::Ext4RecoveryImpl::find_inline_xattr_system_data(), anonymous_namespace{ext4_recovery.cpp}::Ext4RecoveryImpl::inode_extents(), le16(), anonymous_namespace{ext4_recovery.cpp}::Ext4RecoveryImpl::load_superblock(), anonymous_namespace{ext4_recovery.cpp}::Ext4RecoveryImpl::read_inode(), anonymous_namespace{ext4_recovery.cpp}::Ext4RecoveryImpl::recover_directory(), and anonymous_namespace{ext4_recovery.cpp}::Ext4RecoveryImpl::scan_journal_dirents().
| uint32_t anonymous_namespace{ext4_recovery.cpp}::le32 | ( | const unsigned char * | p | ) |
Definition at line 23 of file ext4_recovery.cpp.
References le32().
Referenced by anonymous_namespace{ext4_recovery.cpp}::Ext4RecoveryImpl::collect_extents_from_node(), anonymous_namespace{ext4_recovery.cpp}::Ext4RecoveryImpl::find_inline_xattr_system_data(), anonymous_namespace{ext4_recovery.cpp}::Ext4RecoveryImpl::inode_block_map_classic(), anonymous_namespace{ext4_recovery.cpp}::Ext4RecoveryImpl::inode_extents(), anonymous_namespace{ext4_recovery.cpp}::Ext4RecoveryImpl::inode_marked_allocated(), le32(), anonymous_namespace{ext4_recovery.cpp}::Ext4RecoveryImpl::load_superblock(), anonymous_namespace{ext4_recovery.cpp}::Ext4RecoveryImpl::read_inode(), anonymous_namespace{ext4_recovery.cpp}::Ext4RecoveryImpl::read_u32_block(), anonymous_namespace{ext4_recovery.cpp}::Ext4RecoveryImpl::recover_directory(), and anonymous_namespace{ext4_recovery.cpp}::Ext4RecoveryImpl::scan_journal_dirents().
| uint64_t anonymous_namespace{ext4_recovery.cpp}::le64 | ( | const unsigned char * | p | ) |
Definition at line 30 of file ext4_recovery.cpp.
References le64().
Referenced by le64().
|
inline |
Definition at line 51 of file ext4_recovery.cpp.
References text_utils::sanitize_component(), and sanitize_path_component().
Referenced by anonymous_namespace{ext4_recovery.cpp}::Ext4RecoveryImpl::export_file(), anonymous_namespace{ext4_recovery.cpp}::Ext4RecoveryImpl::export_journal(), anonymous_namespace{ext4_recovery.cpp}::Ext4RecoveryImpl::recover_directory(), and sanitize_path_component().
| bool anonymous_namespace{ext4_recovery.cpp}::write_ranges_to_file | ( | ReadFn && | read_fn, |
| const std::vector< ExportRange > & | ranges, | ||
| const fs::path & | out_path, | ||
| uint64_t | expected_size, | ||
| std::string & | error ) |
Definition at line 66 of file ext4_recovery.cpp.
References trs(), and write_ranges_to_file().
Referenced by anonymous_namespace{ext4_recovery.cpp}::Ext4RecoveryImpl::export_file(), anonymous_namespace{ext4_recovery.cpp}::Ext4RecoveryImpl::export_journal(), and write_ranges_to_file().