class MapperInterface

Defined at line 66 of file ../../src/storage/minfs/lazy_reader.h

An interface for mapping file blocks to device blocks.

Public Methods

zx::result<DeviceBlockRange> Map (BlockRange file_range)

Maps from file block to device block.

zx::result<DeviceBlockRange> MapForWrite (PendingWork * transaction, BlockRange file_range, bool * allocated)

Same as Map, but if |allocated| is non-null, blocks should be allocated if necessary and

|allocated| will be updated to indicate whether an allocation took place.

void MapperInterface ()

Defined at line 68 of file ../../src/storage/minfs/lazy_reader.h

void MapperInterface (MapperInterface & )

Not copyable or movable.

Defined at line 71 of file ../../src/storage/minfs/lazy_reader.h

MapperInterface & operator= (MapperInterface & )

Defined at line 72 of file ../../src/storage/minfs/lazy_reader.h

void ~MapperInterface ()

Defined at line 74 of file ../../src/storage/minfs/lazy_reader.h