class Ramdisk

Defined at line 32 of file ../../src/devices/block/drivers/ramdisk/v1/ramdisk.h

Public Methods

void Ramdisk (const Ramdisk & )

Defined at line 36 of file ../../src/devices/block/drivers/ramdisk/v1/ramdisk.h

Ramdisk & operator= (const Ramdisk & )

Defined at line 37 of file ../../src/devices/block/drivers/ramdisk/v1/ramdisk.h

const char * Name ()

Defined at line 43 of file ../../src/devices/block/drivers/ramdisk/v1/ramdisk.h

zx_status_t Create (zx_device_t * parent, zx::vmo vmo, uint64_t block_size, uint64_t block_count, const uint8_t * type_guid, std::unique_ptr<Ramdisk> * out)

Defined at line 51 of file ../../src/devices/block/drivers/ramdisk/v1/ramdisk.cc

zx_status_t DdkGetProtocol (uint32_t proto_id, void * out)

Device Protocol

Defined at line 71 of file ../../src/devices/block/drivers/ramdisk/v1/ramdisk.cc

void DdkUnbind (ddk::UnbindTxn txn)

Defined at line 88 of file ../../src/devices/block/drivers/ramdisk/v1/ramdisk.cc

void DdkRelease ()

Defined at line 97 of file ../../src/devices/block/drivers/ramdisk/v1/ramdisk.cc

void BlockImplQuery (block_info_t * info_out, size_t * block_op_size_out)

Block Protocol

Defined at line 110 of file ../../src/devices/block/drivers/ramdisk/v1/ramdisk.cc

void BlockImplQueue (block_op_t * txn, block_impl_queue_callback completion_cb, void * cookie)

Defined at line 121 of file ../../src/devices/block/drivers/ramdisk/v1/ramdisk.cc

void SetFlags (SetFlagsRequestView request, SetFlagsCompleter::Sync & completer)

FIDL interface Ramdisk

Defined at line 182 of file ../../src/devices/block/drivers/ramdisk/v1/ramdisk.cc

void Wake (WakeCompleter::Sync & completer)

Defined at line 190 of file ../../src/devices/block/drivers/ramdisk/v1/ramdisk.cc

void SleepAfter (SleepAfterRequestView request, SleepAfterCompleter::Sync & completer)

Defined at line 213 of file ../../src/devices/block/drivers/ramdisk/v1/ramdisk.cc

void GetBlockCounts (GetBlockCountsCompleter::Sync & completer)

Defined at line 227 of file ../../src/devices/block/drivers/ramdisk/v1/ramdisk.cc

zx_status_t BlockPartitionGetGuid (guidtype_t guid_type, guid_t * out_guid)

Partition Protocol

Defined at line 232 of file ../../src/devices/block/drivers/ramdisk/v1/ramdisk.cc

zx_status_t BlockPartitionGetName (char * out_name, size_t capacity)

Defined at line 241 of file ../../src/devices/block/drivers/ramdisk/v1/ramdisk.cc

zx_status_t BlockPartitionGetMetadata (partition_metadata_t * out_metadata)

Defined at line 245 of file ../../src/devices/block/drivers/ramdisk/v1/ramdisk.cc