template <>

struct StorageTraits

Defined at line 20 of file ../../zircon/kernel/phys/include/phys/zbitl-allocation.h

Public Methods

std::string_view error_string (error_type error)

Defined at line 29 of file ../../zircon/kernel/phys/include/phys/zbitl-allocation.h

fit::result<error_type, uint32_t> Capacity (const Storage & storage)

Defined at line 31 of file ../../zircon/kernel/phys/include/phys/zbitl-allocation.h

fit::result<error_type> EnsureCapacity (Storage & storage, uint32_t capacity_bytes)

Defined at line 35 of file ../../zircon/kernel/phys/include/phys/zbitl-allocation.h

fit::result<error_type, payload_type> Payload (const Storage & storage, uint32_t offset, uint32_t length)

Defined at line 46 of file ../../zircon/kernel/phys/include/phys/zbitl-allocation.h

template <typename U, bool LowLocality>
auto Read (const Storage & storage, payload_type payload, uint32_t length)

Defined at line 53 of file ../../zircon/kernel/phys/include/phys/zbitl-allocation.h

fit::result<error_type> Write (Storage & storage, uint32_t offset, zbitl::ByteView data)

Defined at line 58 of file ../../zircon/kernel/phys/include/phys/zbitl-allocation.h

fit::result<error_type, void *> Write (Storage & storage, uint32_t offset, uint32_t length)

Defined at line 63 of file ../../zircon/kernel/phys/include/phys/zbitl-allocation.h

fit::result<error_type, Storage> Create (Storage & old, uint32_t size, uint32_t initial_zero_size)

Defined at line 68 of file ../../zircon/kernel/phys/include/phys/zbitl-allocation.h