class PartitionDevice

Defined at line 30 of file ../../src/devices/block/drivers/gpt/gpt.h

Public Methods

void PartitionDevice (zx_device_t * parent, const block_impl_protocol_t & proto)

Defined at line 34 of file ../../src/devices/block/drivers/gpt/gpt.h

void PartitionDevice (const PartitionDevice & )

Defined at line 38 of file ../../src/devices/block/drivers/gpt/gpt.h

void PartitionDevice (PartitionDevice && )

Defined at line 38 of file ../../src/devices/block/drivers/gpt/gpt.h

PartitionDevice & operator= (const PartitionDevice & )

Defined at line 38 of file ../../src/devices/block/drivers/gpt/gpt.h

PartitionDevice & operator= (PartitionDevice && )

Defined at line 38 of file ../../src/devices/block/drivers/gpt/gpt.h

void SetInfo (gpt_entry_t * entry, block_info_t * info, size_t op_size)

Defined at line 166 of file ../../src/devices/block/drivers/gpt/gpt.cc

zx_status_t Add (uint32_t partition_number)

Add device to devhost device list. Once added, the device cannot be deleted directly,

AsyncRemove() must be called to schedule an Unbind() and Release().

Defined at line 172 of file ../../src/devices/block/drivers/gpt/gpt.cc

void BlockImplQuery (block_info_t * info_out, size_t * block_op_size_out)

Block protocol implementation.

Defined at line 68 of file ../../src/devices/block/drivers/gpt/gpt.cc

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

Defined at line 73 of file ../../src/devices/block/drivers/gpt/gpt.cc

void DdkRelease ()

Device protocol.

Defined at line 112 of file ../../src/devices/block/drivers/gpt/gpt.cc

zx_status_t DdkGetProtocol (uint32_t proto_id, void * out)

Defined at line 148 of file ../../src/devices/block/drivers/gpt/gpt.cc

zx_status_t BlockPartitionGetGuid (guidtype_t guid_type, guid_t * out_guid)

Partition protocol implementation.

Defined at line 116 of file ../../src/devices/block/drivers/gpt/gpt.cc

zx_status_t BlockPartitionGetName (char * out_name, size_t capacity)

Defined at line 131 of file ../../src/devices/block/drivers/gpt/gpt.cc

zx_status_t BlockPartitionGetMetadata (partition_metadata_t * out_metadata)

Defined at line 135 of file ../../src/devices/block/drivers/gpt/gpt.cc