Functions | |
| bool | read_one_extent (DiskReader &reader, uint64_t volume_offset, uint32_t block_size, const ForkExtent &e, uint64_t want_bytes, std::vector< unsigned char > &out) |
| size_t | collect_overflow_extents (const std::vector< unsigned char > &btree_buf, const HeaderRec &hdr, uint8_t forkType, uint32_t fileID, std::vector< ForkExtent > &out, std::vector< std::string > &logs) |
| size_t hfs::anonymous_namespace{hfs_fork_io.cpp}::collect_overflow_extents | ( | const std::vector< unsigned char > & | btree_buf, |
| const HeaderRec & | hdr, | ||
| uint8_t | forkType, | ||
| uint32_t | fileID, | ||
| std::vector< ForkExtent > & | out, | ||
| std::vector< std::string > & | logs ) |
Definition at line 138 of file hfs_fork_io.cpp.
References hfs::be16(), hfs::be32(), hfs::ForkExtent::block_count, collect_overflow_extents(), hfs::HeaderRec::nodeSize, hfs::ForkExtent::start_block, and hfs::walk_btree().
Referenced by collect_overflow_extents().
| bool hfs::anonymous_namespace{hfs_fork_io.cpp}::read_one_extent | ( | DiskReader & | reader, |
| uint64_t | volume_offset, | ||
| uint32_t | block_size, | ||
| const ForkExtent & | e, | ||
| uint64_t | want_bytes, | ||
| std::vector< unsigned char > & | out ) |
Definition at line 112 of file hfs_fork_io.cpp.
References hfs::ForkExtent::block_count, DiskReader::read_at(), read_one_extent(), and hfs::ForkExtent::start_block.
Referenced by read_one_extent().