class BlockDriver
Defined at line 284 of file ../../src/devices/block/drivers/virtio/block.h
Public Members
static const char[] kDriverName
Public Methods
void BlockDriver ()
Defined at line 291 of file ../../src/devices/block/drivers/virtio/block.h
zx::event node_token ()
Defined at line 307 of file ../../src/devices/block/drivers/virtio/block.h
zx::result<> Start (fdf::DriverContext context)
Defined at line 922 of file ../../src/devices/block/drivers/virtio/block.cc
void Stop (fdf::StopCompleter completer)
Defined at line 1016 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 1023 of file ../../src/devices/block/drivers/virtio/block.cc
void BlockImplQueue (block_op_t *bop,block_impl_queue_callbackcompletion_cb,void *cookie)
Defined at line 1033 of file ../../src/devices/block/drivers/virtio/block.cc
void AddChild (AddChildRequestView request, AddChildCompleter::Sync & completer)
fuchsia.driver.framework.Node
Defined at line 1043 of file ../../src/devices/block/drivers/virtio/block.cc
void Get (GetCompleter::Sync & completer)
fuchsia_driver_token::NodeToken implementation.
Defined at line 1056 of file ../../src/devices/block/drivers/virtio/block.cc
Protected Methods
BlockDevice & block_device ()
Exposed for testing
Defined at line 320 of file ../../src/devices/block/drivers/virtio/block.h
zx::result<std::unique_ptr<BlockDevice>> CreateBlockDevice (const fdf::Namespace & incoming)
Override to inject dependency for unit testing.
Defined at line 996 of file ../../src/devices/block/drivers/virtio/block.cc