class RamNandInfo

Defined at line 639 of file fidling/gen/sdk/fidl/fuchsia.hardware.nand/fuchsia.hardware.nand/cpp/fidl/fuchsia.hardware.nand/cpp/natural_types.h

Defines how a newly created ram-nand volume should operate.

Public Methods

void RamNandInfo (Storage_ storage)
void RamNandInfo (::zx::vmo vmo, ::fuchsia_hardware_nand::Info nand_info, ::fuchsia_hardware_nand::PartitionMap partition_map, bool export_nand_config, bool export_partition_map, uint32_t fail_after, ::zx::vmo wear_vmo)
void RamNandInfo ()

Default constructs a |RamNandInfo| only if all of its members are default constructible.

Defined at line 650 of file fidling/gen/sdk/fidl/fuchsia.hardware.nand/fuchsia.hardware.nand/cpp/fidl/fuchsia.hardware.nand/cpp/natural_types.h

void RamNandInfo (RamNandInfo && )

Defined at line 653 of file fidling/gen/sdk/fidl/fuchsia.hardware.nand/fuchsia.hardware.nand/cpp/fidl/fuchsia.hardware.nand/cpp/natural_types.h

RamNandInfo & operator= (RamNandInfo && )

Defined at line 654 of file fidling/gen/sdk/fidl/fuchsia.hardware.nand/fuchsia.hardware.nand/cpp/fidl/fuchsia.hardware.nand/cpp/natural_types.h

const ::zx::vmo & vmo ()

VMO to use as backing store for nand device. Size should match size of `nand_info`.

If a vmo is not provided, the device will create its own buffer and initialize it to be

empty (all 1s).

::zx::vmo & vmo ()

VMO to use as backing store for nand device. Size should match size of `nand_info`.

If a vmo is not provided, the device will create its own buffer and initialize it to be

empty (all 1s).

RamNandInfo & vmo (::zx::vmo value)

VMO to use as backing store for nand device. Size should match size of `nand_info`.

If a vmo is not provided, the device will create its own buffer and initialize it to be

empty (all 1s).

const ::fuchsia_hardware_nand::Info & nand_info ()

The desired "chip" configuration.

::fuchsia_hardware_nand::Info & nand_info ()

The desired "chip" configuration.

RamNandInfo & nand_info (::fuchsia_hardware_nand::Info value)

The desired "chip" configuration.

const ::fuchsia_hardware_nand::PartitionMap & partition_map ()

Partition map for the device. This can be left fully empty (as in default-initialized),

as long as no metadata has to be exported by the device. If any metadata is required,

it will be extracted from this map.

::fuchsia_hardware_nand::PartitionMap & partition_map ()

Partition map for the device. This can be left fully empty (as in default-initialized),

as long as no metadata has to be exported by the device. If any metadata is required,

it will be extracted from this map.

RamNandInfo & partition_map (::fuchsia_hardware_nand::PartitionMap value)

Partition map for the device. This can be left fully empty (as in default-initialized),

as long as no metadata has to be exported by the device. If any metadata is required,

it will be extracted from this map.

bool export_nand_config ()

If true, export "extra" partition configuration as metadata.

bool & export_nand_config ()

If true, export "extra" partition configuration as metadata.

RamNandInfo & export_nand_config (bool value)

If true, export "extra" partition configuration as metadata.

bool export_partition_map ()

if true, export a boot partition map as metadata.

bool & export_partition_map ()

if true, export a boot partition map as metadata.

RamNandInfo & export_partition_map (bool value)

if true, export a boot partition map as metadata.

uint32_t fail_after ()

If non-zero, fail after `fail_after` writes.

uint32_t & fail_after ()

If non-zero, fail after `fail_after` writes.

RamNandInfo & fail_after (uint32_t value)

If non-zero, fail after `fail_after` writes.

const ::zx::vmo & wear_vmo ()

The vmo to store block erase counts in. If this vmo is present then it must be at least

large enough to hold a uint32_t per Info.num_blocks. The values will not be zeroed when the

nand starts up, they will just be incremented in place.

::zx::vmo & wear_vmo ()

The vmo to store block erase counts in. If this vmo is present then it must be at least

large enough to hold a uint32_t per Info.num_blocks. The values will not be zeroed when the

nand starts up, they will just be incremented in place.

RamNandInfo & wear_vmo (::zx::vmo value)

The vmo to store block erase counts in. If this vmo is present then it must be at least

large enough to hold a uint32_t per Info.num_blocks. The values will not be zeroed when the

nand starts up, they will just be incremented in place.

void RamNandInfo (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalStructCodingTraits