class BlockLoaderInterface

Defined at line 16 of file ../../src/devices/block/drivers/block-verity/block-loader-interface.h

Interface for requesting reads of blocks from some I/O provider implementation.

Blocks here are expressed in terms of virtual blocks, not backing storage blocks.

Public Methods

void RequestBlocks (uint64_t start_block, uint64_t block_count, zx::vmo & vmo, void * cookie, BlockLoaderCallback callback)

Requests blocks `start_block` through `start_block + block_count - 1`

blocks, writes their contents to `vmo`, and then calls `callback` with

`cookie` as the first argument and a status representing the success or

failure of the load.