class PersistentStorage

Defined at line 79 of file ../../src/storage/minfs/allocator/storage.h

A type of storage which represents a persistent disk.

Public Methods

void PersistentStorage (block_client::BlockDevice * device, SuperblockManager * sb, size_t unit_size, GrowHandler grow_cb, AllocatorMetadata metadata, uint32_t block_size)

|grow_cb| is an optional callback to increase the size of the allocator.

Defined at line 40 of file ../../src/storage/minfs/allocator/storage.cc

void PersistentStorage (SuperblockManager * sb, size_t unit_size, GrowHandler grow_cb, AllocatorMetadata metadata, uint32_t block_size)

|grow_cb| is an optional callback to increase the size of the allocator.

Defined at line 12 of file ../../src/storage/minfs/allocator/storage_host.cc

zx::result<> AttachVmo (const zx::vmo & vmo, storage::OwnedVmoid * vmoid)

Defined at line 50 of file ../../src/storage/minfs/allocator/storage.cc

void Load (fs::BufferedOperationsBuilder * builder, storage::BlockBuffer * data)

Defined at line 21 of file ../../src/storage/minfs/allocator/storage_common.cc

zx::result<> Extend (PendingWork * transaction, WriteData data, GrowMapCallback grow_map)

Defined at line 19 of file ../../src/storage/minfs/allocator/storage_host.cc

zx::result<> Extend (PendingWork * transaction, WriteData data, GrowMapCallback grow_map)

Defined at line 54 of file ../../src/storage/minfs/allocator/storage.cc

void PersistRange (PendingWork * transaction, WriteData data, size_t index, size_t count)

Defined at line 31 of file ../../src/storage/minfs/allocator/storage_common.cc

void PersistRange (PendingWork * transaction, WriteData data, size_t index, size_t count)

Defined at line 31 of file ../../src/storage/minfs/allocator/storage_common.cc

void PersistAllocate (PendingWork * transaction, size_t count)

Defined at line 58 of file ../../src/storage/minfs/allocator/storage_common.cc

void PersistRelease (PendingWork * transaction, size_t count)

Defined at line 63 of file ../../src/storage/minfs/allocator/storage_common.cc

void PersistentStorage ()

Defined at line 84 of file ../../src/storage/minfs/allocator/storage.h

void PersistentStorage (const PersistentStorage & )

Defined at line 85 of file ../../src/storage/minfs/allocator/storage.h

PersistentStorage & operator= (const PersistentStorage & )

Defined at line 86 of file ../../src/storage/minfs/allocator/storage.h

void ~PersistentStorage ()

Defined at line 97 of file ../../src/storage/minfs/allocator/storage.h

uint32_t PoolAvailable ()

Defined at line 107 of file ../../src/storage/minfs/allocator/storage.h

uint32_t PoolTotal ()

Defined at line 109 of file ../../src/storage/minfs/allocator/storage.h