fuchsia.hardware.block.volume

PROTOCOLS

VolumeManager

Defined in fuchsia.hardware.block.volume/volume.fidl

AllocatePartition

Request

NameType
slice_count uint64
type fuchsia.hardware.block.partition/GUID
instance fuchsia.hardware.block.partition/GUID
name string[128]
flags uint32

Response

NameType
status zx/status

Query

Request

NameType

Response

NameType
status zx/status
info VolumeInfo?

GetInfo

Request

NameType

Response

NameType
status zx/status
info VolumeManagerInfo?

Activate

Request

NameType
old_guid fuchsia.hardware.block.partition/GUID
new_guid fuchsia.hardware.block.partition/GUID

Response

NameType
status zx/status

Volume

Defined in fuchsia.hardware.block.volume/volume.fidl

GetInfo

Request

NameType

Response

NameType
status zx/status
info fuchsia.hardware.block/BlockInfo?

GetStats

Request

NameType
clear bool

Response

NameType
status zx/status
stats fuchsia.hardware.block/BlockStats?

GetFifo

Request

NameType

Response

NameType
status zx/status
fifo handle<fifo>?

AttachVmo

Request

NameType
vmo handle<vmo>

Response

NameType
status zx/status
vmoid fuchsia.hardware.block/VmoId?

CloseFifo

Request

NameType

Response

NameType
status zx/status

RebindDevice

Request

NameType

Response

NameType
status zx/status

GetTypeGuid

Request

NameType

Response

NameType
status zx/status
guid fuchsia.hardware.block.partition/GUID?

GetInstanceGuid

Request

NameType

Response

NameType
status zx/status
guid fuchsia.hardware.block.partition/GUID?

GetName

Request

NameType

Response

NameType
status zx/status
name string[128]?

Query

Request

NameType

Response

NameType
status zx/status
info VolumeInfo?

QuerySlices

Request

NameType
start_slices vector<uint64>[16]

Response

NameType
status zx/status
response [16]
response_count uint64

Extend

Request

NameType
start_slice uint64
slice_count uint64

Response

NameType
status zx/status

Shrink

Request

NameType
start_slice uint64
slice_count uint64

Response

NameType
status zx/status

Destroy

Request

NameType

Response

NameType
status zx/status

STRUCTS

VolumeInfo

Defined in fuchsia.hardware.block.volume/volume.fidl

NameTypeDescriptionDefault
slice_size uint64 No default
vslice_count uint64 No default
pslice_total_count uint64 No default
pslice_allocated_count uint64 No default

VolumeManagerInfo

Defined in fuchsia.hardware.block.volume/volume.fidl

NameTypeDescriptionDefault
slice_size uint64 No default
current_slice_count uint64 No default
maximum_slice_count uint64 No default

VsliceRange

Defined in fuchsia.hardware.block.volume/volume.fidl

NameTypeDescriptionDefault
allocated bool No default
count uint64 No default

CONSTANTS

NameValueTypeDescription
ALLOCATE_PARTITION_FLAG_INACTIVE 1 uint32
MAX_SLICE_REQUESTS 16 uint32