Namespaces

Enumerations

enum class BlockOpcode : uint8_t
Name Value Comments
kRead 1u

Performs a regular data read or write from the device. The operation may
be cached internally.

kWrite 2u

Performs a regular data read or write from the device. The operation may
be cached internally.

kFlush 3u

Write any controller or device cached data to nonvolatile storage.

kTrim 4u

Instructs the device to invalidate a number of blocks, making them usable
for storing something else. This is basically a "delete" optimization,
where the device is in charge of discarding the old content without
clients having to write a given pattern. The operation may be cached
internally.

kCloseVmo 5u

Detaches the VMO from the block device.

The opcode used in FIFO requests.

Defined at line 237 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/common_types.h

Records