struct IoBuffer

Defined at line 21 of file ../../src/firmware/lib/storage/sparse.c

Public Members

uint8_t * data
size_t size

Public Methods

zx_status_t ValidateVmo (uint64_t length, uint64_t vmo_offset)

Validates that the requested range is within the bounds of the VMO.

The units of length and vmo_offset are bytes.

Defined at line 12 of file ../../src/devices/block/drivers/core/iobuffer.cc

void IoBuffer (zx::vmo vmo, vmoid_t vmoid, uint64_t vmo_size)

Defined at line 7 of file ../../src/devices/block/drivers/core/iobuffer.cc

void ~IoBuffer ()

Defined at line 10 of file ../../src/devices/block/drivers/core/iobuffer.cc

vmoid_t GetKey ()

Defined at line 18 of file ../../src/devices/block/drivers/core/iobuffer.h

zx_handle_t vmo ()

Defined at line 24 of file ../../src/devices/block/drivers/core/iobuffer.h