class VnodeImpl

Defined at line 127 of file ../../src/devices/bin/driver_manager/devfs/devfs.h

The actual vnode implementation. This is distinct from the outer class

because `fs::Vnode` imposes reference-counted semantics, and we want to

preserve owned semantics on the outer class.

This is exposed for use in tests.

Public Members

Devnode & holder_
optional target_

Public Methods

fuchsia_io::NodeProtocolKinds GetProtocols ()

Defined at line 77 of file ../../src/devices/bin/driver_manager/devfs/devfs.cc

zx::result<fs::VnodeAttributes> GetAttributes ()

Defined at line 92 of file ../../src/devices/bin/driver_manager/devfs/devfs.cc

zx_status_t Lookup (std::string_view name, fbl::RefPtr<fs::Vnode> * out)

Defined at line 96 of file ../../src/devices/bin/driver_manager/devfs/devfs.cc

zx_status_t WatchDir (fs::FuchsiaVfs * vfs, fuchsia_io::wire::WatchMask mask, uint32_t options, fidl::ServerEnd<fuchsia_io::DirectoryWatcher> watcher)

Defined at line 100 of file ../../src/devices/bin/driver_manager/devfs/devfs.cc

zx_status_t Readdir (fs::VdirCookie * cookie, void * dirents, size_t len, size_t * out_actual)

Defined at line 106 of file ../../src/devices/bin/driver_manager/devfs/devfs.cc

zx_status_t ConnectService (zx::channel channel)

Defined at line 85 of file ../../src/devices/bin/driver_manager/devfs/devfs.cc

PseudoDir & children ()

Defined at line 138 of file ../../src/devices/bin/driver_manager/devfs/devfs.h

Friends

class MakeRefCountedHelper