class BlockDriver
Defined at line 282 of file ../../src/devices/block/drivers/virtio/block.h
Public Members
static const char[] kDriverName
Public Methods
void BlockDriver (fdf::DriverStartArgs start_args, fdf::UnownedSynchronizedDispatcher dispatcher)
Defined at line 288 of file ../../src/devices/block/drivers/virtio/block.h
zx::result<> Start ()
Defined at line 917 of file ../../src/devices/block/drivers/virtio/block.cc
void PrepareStop (fdf::PrepareStopCompleter completer)
Defined at line 1004 of file ../../src/devices/block/drivers/virtio/block.cc
void BlockImplQuery (block_info_t * info, size_t * bopsz)
ddk::BlockImplProtocol functions passed through to BlockDevice.
Defined at line 1011 of file ../../src/devices/block/drivers/virtio/block.cc
void BlockImplQueue (block_op_t * bop, block_impl_queue_callback completion_cb, void * cookie)
Defined at line 1021 of file ../../src/devices/block/drivers/virtio/block.cc
void AddChild (AddChildRequestView request, AddChildCompleter::Sync & completer)
fuchsia.driver.framework.Node
Defined at line 1031 of file ../../src/devices/block/drivers/virtio/block.cc
Protected Methods
BlockDevice & block_device ()
Exposed for testing
Defined at line 306 of file ../../src/devices/block/drivers/virtio/block.h
zx::result<std::unique_ptr<BlockDevice>> CreateBlockDevice ()
Override to inject dependency for unit testing.
Defined at line 985 of file ../../src/devices/block/drivers/virtio/block.cc