struct FilesystemInfo
Defined at line 47 of file ../../src/storage/lib/vfs/cpp/fuchsia_vfs.h
An internal version of fuchsia_io::wire::FilesystemInfo with a simpler API and default
initializers. See that FIDL struct for documentation.
Public Members
uint64_t total_bytes
uint64_t used_bytes
uint64_t total_nodes
uint64_t used_nodes
uint64_t fs_id
uint32_t block_size
uint32_t max_filename_size
VfsType fs_type
basic_string name
Public Methods
void SetFsId (const zx::event & event)
To ensure global uniqueness, filesystems should create and maintain an event object. The koid
of this object is guaranteed unique in the system and is used for the filesystem ID. This
function extracts the koid of the given event object and sets it as the filesystem ID.
Defined at line 73 of file ../../src/storage/lib/vfs/cpp/fuchsia_vfs.cc
fuchsia_io::wire::FilesystemInfo ToFidl ()
Writes this object's values to the given FIDL object.
Defined at line 78 of file ../../src/storage/lib/vfs/cpp/fuchsia_vfs.cc