class BlockClient
Defined at line 195 of file ../../src/devices/block/drivers/gpt/gpt.cc
A thin wrapper around BlockDevice, implemented via block_impl_protocol_t.
Allows compatibility with GptDevice.
Public Methods
void BlockClient (const block_impl_protocol_t & protocol)
Defined at line 197 of file ../../src/devices/block/drivers/gpt/gpt.cc
zx::result<std::string> GetTopologicalPath ()
Defined at line 204 of file ../../src/devices/block/drivers/gpt/gpt.cc
zx::result<> Rebind (std::string_view url_suffix)
Defined at line 208 of file ../../src/devices/block/drivers/gpt/gpt.cc
zx_status_t VolumeGetInfo (fuchsia_storage_block::wire::VolumeManagerInfo * out_manager_info, fuchsia_storage_block::wire::VolumeInfo * out_volume_info)
Defined at line 212 of file ../../src/devices/block/drivers/gpt/gpt.cc
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 218 of file ../../src/devices/block/drivers/gpt/gpt.cc
zx_status_t VolumeExtend (uint64_t offset, uint64_t length)
Defined at line 224 of file ../../src/devices/block/drivers/gpt/gpt.cc
zx_status_t VolumeShrink (uint64_t offset, uint64_t length)
Defined at line 228 of file ../../src/devices/block/drivers/gpt/gpt.cc
zx_status_t FifoTransaction (BlockFifoRequest * requests, size_t count)
Defined at line 232 of file ../../src/devices/block/drivers/gpt/gpt.cc
zx_status_t BlockGetInfo (fuchsia_storage_block::wire::BlockInfo * out_info)
Defined at line 273 of file ../../src/devices/block/drivers/gpt/gpt.cc
zx_status_t BlockAttachVmo (const zx::vmo & vmo, storage::Vmoid * out_vmoid)
Defined at line 289 of file ../../src/devices/block/drivers/gpt/gpt.cc
zx_status_t BlockDetachVmo (storage::Vmoid vmoid)
Defined at line 305 of file ../../src/devices/block/drivers/gpt/gpt.cc