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

SomeLongAnonymousPrefix0

generated

anonymous struct

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

SomeLongAnonymousPrefix1

generated

anonymous struct

NameTypeDescriptionDefault
status zx/status No default

SomeLongAnonymousPrefix3

generated

anonymous struct

NameTypeDescriptionDefault
status zx/status No default
info VolumeInfo? No default

SomeLongAnonymousPrefix5

generated

anonymous struct

NameTypeDescriptionDefault
status zx/status No default
info VolumeManagerInfo? No default

SomeLongAnonymousPrefix6

generated

anonymous struct

NameTypeDescriptionDefault
old_guid fuchsia.hardware.block.partition/GUID No default
new_guid fuchsia.hardware.block.partition/GUID No default

SomeLongAnonymousPrefix7

generated

anonymous struct

NameTypeDescriptionDefault
status zx/status No default

SomeLongAnonymousPrefix9

generated

anonymous struct

NameTypeDescriptionDefault
status zx/status No default
info VolumeInfo? No default

SomeLongAnonymousPrefix10

generated

anonymous struct

NameTypeDescriptionDefault
start_slices vector<uint64>[16] No default

SomeLongAnonymousPrefix11

generated

anonymous struct

NameTypeDescriptionDefault
status zx/status No default
response [16] No default
response_count uint64 No default

SomeLongAnonymousPrefix12

generated

anonymous struct

NameTypeDescriptionDefault
start_slice uint64 No default
slice_count uint64 No default

SomeLongAnonymousPrefix13

generated

anonymous struct

NameTypeDescriptionDefault
status zx/status No default

SomeLongAnonymousPrefix14

generated

anonymous struct

NameTypeDescriptionDefault
start_slice uint64 No default
slice_count uint64 No default

SomeLongAnonymousPrefix15

generated

anonymous struct

NameTypeDescriptionDefault
status zx/status No default

SomeLongAnonymousPrefix17

generated

anonymous struct

NameTypeDescriptionDefault
status zx/status No default

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

SomeLongAnonymousPrefix1

generated

anonymous struct

NameTypeDescriptionDefault
status zx/status No default
info fuchsia.hardware.block/BlockInfo? No default

SomeLongAnonymousPrefix2

generated

anonymous struct

NameTypeDescriptionDefault
clear bool No default

SomeLongAnonymousPrefix3

generated

anonymous struct

NameTypeDescriptionDefault
status zx/status No default
stats fuchsia.hardware.block/BlockStats? No default

SomeLongAnonymousPrefix5

generated

anonymous struct

NameTypeDescriptionDefault
status zx/status No default
fifo handle<fifo>? No default

SomeLongAnonymousPrefix6

generated

anonymous struct

NameTypeDescriptionDefault
vmo handle<vmo> No default

SomeLongAnonymousPrefix7

generated

anonymous struct

NameTypeDescriptionDefault
status zx/status No default
vmoid fuchsia.hardware.block/VmoID? No default

SomeLongAnonymousPrefix9

generated

anonymous struct

NameTypeDescriptionDefault
status zx/status No default

SomeLongAnonymousPrefix11

generated

anonymous struct

NameTypeDescriptionDefault
status zx/status No default

SomeLongAnonymousPrefix1

generated

anonymous struct

NameTypeDescriptionDefault
status zx/status No default
guid fuchsia.hardware.block.partition/GUID? No default

SomeLongAnonymousPrefix3

generated

anonymous struct

NameTypeDescriptionDefault
status zx/status No default
guid fuchsia.hardware.block.partition/GUID? No default

SomeLongAnonymousPrefix5

generated

anonymous struct

NameTypeDescriptionDefault
status zx/status No default
name string[128]? No default

CONSTANTS

NameValueTypeDescription
ALLOCATE_PARTITION_FLAG_INACTIVE 1 uint32
MAX_SLICE_REQUESTS 16 uint32