|
| bool | initialise (Disk *) override |
| |
| File * | getRoot () const override |
| |
| const String & | getVolumeLabel () const override |
| |
| SyncStatus | sync () override |
| |
| uintptr_t | allocateInode () |
| |
| | Filesystem () |
| |
| virtual | ~Filesystem () |
| |
| virtual File * | find (const StringView &path) |
| |
| virtual File * | find (const String &path) |
| |
| virtual File * | find (const StringView &path, File *pStartNode) |
| |
| virtual File * | find (const String &path, File *pStartNode) |
| |
| File * | findRetained (const StringView &path, Directory::ChildLease &result, File *pStartNode=nullptr) |
| |
| virtual bool | getUuid (String &uuid) const |
| |
| virtual FileHandleStatus | encodeFileHandle (File &file, FileHandle &handle) |
| |
| virtual FileHandleStatus | decodeFileHandle (const FileHandle &handle, RetainedFile &file) |
| |
| virtual FileHandleStatus | fileHandleFsid (FileSystemId &id) |
| |
| virtual SyncStatus | shutdown () |
| |
| virtual QuotaStatus | quotaControl (const QuotaRequest &, QuotaResponse &, File *quotaFile=nullptr) |
| |
| bool | createFile (const StringView &path, uint32_t mask, File *pStartNode=0) |
| |
| bool | createDirectory (const StringView &path, uint32_t mask, File *pStartNode=0) |
| |
| bool | createSymlink (const StringView &path, const String &value, File *pStartNode=0) |
| |
| bool | createLink (const StringView &path, File *target, File *pStartNode=0) |
| |
| bool | remove (const StringView &path, File *pStartNode=0) |
| |
| bool | remove (const StringView &path, File *pStartNode, File *expected) |
| |
| bool | rename (const StringView &oldPath, File *oldStart, const StringView &newPath, File *newStart, bool noReplace=false) |
| |
| Disk * | getDisk () |
| |
| bool | isReadOnly () |
| |
| virtual bool | isCaseSensitive () |
| |
| bool | remove (File *parent, File *file) |
| |
|
| bool | createFile (File *, const String &, uint32_t) override |
| |
| bool | createDirectory (File *, const String &, uint32_t) override |
| |
| bool | createSymlink (File *, const String &, const String &) override |
| |
| bool | removeNode (File *, const String &, File *) override |
| |
| virtual bool | createLink (File *parent, const String &filename, File *target) |
| |
| virtual bool | renameNode (Directory *oldParent, const String &oldName, File *source, Directory *newParent, const String &newName, File *replaced) |
| |
Definition at line 22 of file SysFs.h.
◆ SysFs()
◆ ~SysFs()
◆ addBlockDevices()
◆ addNetworkDevices()
◆ addPciDevices()
◆ allocateInode()
| uintptr_t SysFs::allocateInode |
( |
| ) |
|
|
inline |
◆ attribute()
◆ createDirectory()
| bool SysFs::createDirectory |
( |
File * |
parent, |
|
|
const String & |
filename, |
|
|
uint32_t |
mask |
|
) |
| |
|
inlineoverrideprotectedvirtual |
createDirectory calls this after it has parsed the string path.
Implements Filesystem.
Definition at line 44 of file SysFs.h.
◆ createFile()
| bool SysFs::createFile |
( |
File * |
parent, |
|
|
const String & |
filename, |
|
|
uint32_t |
mask |
|
) |
| |
|
inlineoverrideprotectedvirtual |
createFile calls this after it has parsed the string path.
Implements Filesystem.
Definition at line 41 of file SysFs.h.
◆ createSymlink()
| bool SysFs::createSymlink |
( |
File * |
parent, |
|
|
const String & |
filename, |
|
|
const String & |
value |
|
) |
| |
|
inlineoverrideprotectedvirtual |
createSymlink calls this after it has parsed the string path.
Implements Filesystem.
Definition at line 47 of file SysFs.h.
◆ directory()
◆ getRoot()
| File * SysFs::getRoot |
( |
| ) |
const |
|
inlineoverridevirtual |
Returns the root filesystem node.
Implements Filesystem.
Definition at line 28 of file SysFs.h.
◆ getVolumeLabel()
| const String & SysFs::getVolumeLabel |
( |
| ) |
const |
|
overridevirtual |
Returns a string identifying the volume label.
Implements Filesystem.
Definition at line 93 of file SysFs.cc.
◆ initialise()
| bool SysFs::initialise |
( |
Disk * |
pDisk | ) |
|
|
overridevirtual |
◆ removeNode()
| bool SysFs::removeNode |
( |
File * |
parent, |
|
|
const String & |
filename, |
|
|
File * |
file |
|
) |
| |
|
inlineoverrideprotectedvirtual |
Remove a backing node while the VFS holds the parent's namespace lock. A successful implementation must retire the parent's cached entry before returning and must recheck directory emptiness while holding the child's namespace lock.
Implements Filesystem.
Definition at line 50 of file SysFs.h.
◆ symlink()
◆ sync()
| SyncStatus SysFs::sync |
( |
| ) |
|
|
inlineoverridevirtual |
Completes data, metadata and device writeback for changes made before entry.
Reimplemented from Filesystem.
Definition at line 32 of file SysFs.h.
◆ m_NextInode
| Atomic<uintptr_t> SysFs::m_NextInode |
|
private |
◆ m_Root
The documentation for this class was generated from the following files: