Enumerations

enum PageType
Name Value
kVolumePage 0
kMapPage 1

Supported type of pages by the FTL.

Defined at line 29 of file ../../src/storage/volume_image/ftl/ftl_image_internal.h

Functions

  • template <PageType page_type>
    void WriteOutOfBandBytes (uint32_t logical_page_number, std::span<uint8_t> oob_bytes)

    Fills |oob_bytes| with the expected FTL data for a Volume Page.

  • template <>
    void WriteOutOfBandBytes<storage::volume_image::ftl_image_internal::kVolumePage> (uint32_t logical_page_number, std::span<uint8_t> oob_bytes)

    Defined at line 54 of file ../../src/storage/volume_image/ftl/ftl_image_internal.cc

  • template <>
    void WriteOutOfBandBytes<storage::volume_image::ftl_image_internal::kMapPage> (uint32_t logical_page_number, std::span<uint8_t> oob_bytes)

    Defined at line 61 of file ../../src/storage/volume_image/ftl/ftl_image_internal.cc

  • fpromise::result<void, std::string> WriteMapBlock (const std::map<uint32_t, uint32_t> & logical_to_physical_pagesconst RawNandOptions & ftl_optionsuint64_t offsetWriter * writer)

    Writes a map block into |writer| with the providing |logical_to_physical_pages| mappings,

    assuming the next block starts at |offset|.

    Defined at line 68 of file ../../src/storage/volume_image/ftl/ftl_image_internal.cc