class PassThroughReadOnlyBlockDevice
Defined at line 14 of file ../../src/storage/lib/block_client/cpp/pass_through_read_only_device.h
This class is currently for testing only as it will assert if it detects any attempts to write to
the device.
Public Methods
void PassThroughReadOnlyBlockDevice (block_client::BlockDevice * device)
Defined at line 16 of file ../../src/storage/lib/block_client/cpp/pass_through_read_only_device.h
zx_status_t FifoTransaction (BlockFifoRequest * requests, size_t count)
Defined at line 18 of file ../../src/storage/lib/block_client/cpp/pass_through_read_only_device.h
zx::result<std::string> GetTopologicalPath ()
Defined at line 24 of file ../../src/storage/lib/block_client/cpp/pass_through_read_only_device.h
zx::result<> Rebind (std::string_view url_suffix)
Defined at line 28 of file ../../src/storage/lib/block_client/cpp/pass_through_read_only_device.h
zx_status_t BlockGetInfo (fuchsia_storage_block::wire::BlockInfo * out_info)
Defined at line 32 of file ../../src/storage/lib/block_client/cpp/pass_through_read_only_device.h
zx_status_t BlockAttachVmo (const zx::vmo & vmo, storage::Vmoid * out)
Defined at line 36 of file ../../src/storage/lib/block_client/cpp/pass_through_read_only_device.h
zx_status_t VolumeGetInfo (fuchsia_storage_block::wire::VolumeManagerInfo * out_manager_info, fuchsia_storage_block::wire::VolumeInfo * out_volume_info)
Defined at line 40 of file ../../src/storage/lib/block_client/cpp/pass_through_read_only_device.h
zx_status_t VolumeQuerySlices (const uint64_t * slices, size_t slices_count, fuchsia_storage_block::wire::VsliceRange * out_ranges, size_t * out_ranges_count)
Defined at line 46 of file ../../src/storage/lib/block_client/cpp/pass_through_read_only_device.h
zx_status_t VolumeExtend (uint64_t offset, uint64_t length)
Defined at line 52 of file ../../src/storage/lib/block_client/cpp/pass_through_read_only_device.h
zx_status_t VolumeShrink (uint64_t offset, uint64_t length)
Defined at line 54 of file ../../src/storage/lib/block_client/cpp/pass_through_read_only_device.h