Namespaces
Enumerations
enum OperationType
| Name | Value |
|---|---|
| kRead | 0 |
| kWrite | 1 |
| kTrim | 2 |
| kWriteFua | 3 |
| kMaxValue | kWriteFua |
Defined at line 18 of file ../../zircon/system/ulib/storage/operation/include/storage/operation/operation.h
Records
-
class ArrayBuffer -
class BlockBuffer -
class BlockBufferView -
class BlockingRingBuffer -
class BlockingRingBufferReservation -
class BufferedOperation -
class FvmInstance -
class FvmOptions -
class FvmPartition -
class Operation -
class OwnedVmoid -
class ResizeableVmoBuffer -
class RingBuffer -
class RingBufferRequests -
class RingBufferReservation -
class UnbufferedOperation -
class UnbufferedOperationsBuilder -
class VmoBuffer -
class Vmoid -
class VmoidRegistry
Functions
-
zx::result<std::string> GetTopologicalPath (fidl::UnownedClientEnd<fuchsia_device::Controller> channel)Defined at line 12 of file ../../src/storage/lib/utils/topological_path.cc
-
zx::result<std::string> CreateZxcryptVolume (const std::string & device_path)Formats the given block device with a new zxcrypt volume and then unseals the newly created
volume, waiting for the block device to appear before returning.
Returns the path to the newly created zxcrypt volume.
Defined at line 19 of file ../../src/storage/testing/zxcrypt.cc
-
zx::result<std::string> GetTopologicalPath (const std::string & path)Defined at line 22 of file ../../src/storage/lib/utils/topological_path.cc
-
const char * OperationTypeToString (OperationType type)Defined at line 15 of file ../../zircon/system/ulib/storage/operation/operation.cc
-
template <typename T>uint64_t BlockCountImpl (cpp20::span<const T> operations)Defined at line 29 of file ../../zircon/system/ulib/storage/operation/operation.cc
-
uint64_t BlockCount (cpp20::span<const UnbufferedOperation> operations)Sums the |length| of all requests. It will assert if overflow occurs; the caller is responsible
for making sure this does not happen.
Defined at line 42 of file ../../zircon/system/ulib/storage/operation/operation.cc
-
std::ostream & operator<< (std::ostream & , const BufferedOperation & )Defined at line 47 of file ../../zircon/system/ulib/storage/operation/operation.cc
-
std::ostream & operator<< (std::ostream & , const cpp20::span<const BufferedOperation> & )Defined at line 54 of file ../../zircon/system/ulib/storage/operation/operation.cc
-
uint64_t BlockCount (cpp20::span<const BufferedOperation> operations)Sums the |length| of all requests. It will assert if overflow occurs; the caller is responsible
for making sure this does not happen.
Defined at line 37 of file ../../zircon/system/ulib/storage/operation/operation.cc
-
zx::result<FvmPartition> CreateFvmPartition (const std::string & device_path, size_t slice_size, const FvmOptions & options)Formats the given block device to be FVM managed, launches an FVM component, and creates a new
partition on the device.
Returns the path to the newly created block device.
Defined at line 89 of file ../../src/storage/testing/fvm.cc
-
zx::result<FvmPartition> OpenFvmPartition (const std::string & device_pathstd::string_view partition_name)Launches an FVM component for the given device, and opens the partition which was previously
created by `CreateFvmPartition`.
Defined at line 56 of file ../../src/storage/testing/fvm.cc