49enum L4virtio_block_discard_flags_t
51 L4VIRTIO_BLOCK_DISCARD_F_UNMAP = 0x00000001UL,
52 L4VIRTIO_BLOCK_DISCARD_F_RESERVED = 0xFFFFFFFEUL,
73 struct l4virtio_block_config_geometry_t
80 struct l4virtio_block_config_topology_t
unsigned char l4_uint8_t
Unsigned 8bit value.
unsigned int l4_uint32_t
Unsigned 32bit value.
unsigned short int l4_uint16_t
Unsigned 16bit value.
unsigned long long l4_uint64_t
Unsigned 64bit value.
L4virtio_block_operations
Kinds of operation over a block device.
L4virtio_block_status
Status of a finished block request.
@ L4VIRTIO_BLOCK_T_DISCARD
Discard a range of sectors.
@ L4VIRTIO_BLOCK_T_GET_ID
Get device ID.
@ L4VIRTIO_BLOCK_T_FLUSH
Flush data to disk.
@ L4VIRTIO_BLOCK_T_IN
Read from device.
@ L4VIRTIO_BLOCK_T_OUT
Write to device.
@ L4VIRTIO_BLOCK_T_WRITE_ZEROES
Write zeroes to a range of sectors.
@ L4VIRTIO_BLOCK_S_IOERR
IO error on device.
@ L4VIRTIO_BLOCK_S_UNSUPP
Operation is not supported.
@ L4VIRTIO_BLOCK_S_OK
Request finished successfully.
Common L4 ABI Data Types.
Device configuration for block devices.
l4_uint32_t seg_max
Maximum number of segments per request.
l4_uint32_t blk_size
Block size of underlying disk.
l4_uint32_t size_max
Maximum size of a single segment.
l4_uint64_t capacity
Capacity of device in 512-byte sectors.
Structure used for the write zeroes and discard commands.