Components/IFS/src/include/IFS/FWFS/FileSystem.h
Go to the documentation of this file.
118 int fenumxattr(FileHandle file, AttributeEnumCallback callback, void* buffer, size_t bufsize) override;
197 int findChildObject(const FWObjDesc& parent, FWObjDesc& child, const char* name, unsigned namelen);
223 * Used for methods which require write access are read-only unless path corresponds to mounted volume.
FWObjDesc odFile
File object.
Definition: Components/IFS/src/include/IFS/FWFS/FileSystem.h:54
uint32_t dataSize
Total size of data.
Definition: Components/IFS/src/include/IFS/FWFS/FileSystem.h:57
uint32_t cursor
Current read/write offset within file data.
Definition: Components/IFS/src/include/IFS/FWFS/FileSystem.h:58
uint32_t ID
Object identifier (offset from start of image)
Definition: Object.h:150
Definition: Delegate.h:20
#define FWFS_MAX_VOLUMES
Definition: Components/IFS/src/include/IFS/FWFS/FileSystem.h:44
IFileSystem * fileSystem
Definition: Components/IFS/src/include/IFS/FWFS/FileSystem.h:62
FileHandle file
Definition: Components/IFS/src/include/IFS/FWFS/FileSystem.h:64
Definition: DirectoryTemplate.h:36
bool isAllocated() const
Definition: Components/IFS/src/include/IFS/FWFS/FileSystem.h:70
Implementation of firmware filing system using IFS.
Definition: Components/IFS/src/include/IFS/FWFS/FileSystem.h:96
FWFS Volume definition for mount points.
Definition: Components/IFS/src/include/IFS/FWFS/FileSystem.h:89
int fsetxattr(int file, const char *name, const void *value, size_t size, int flags)
FWFS File Descriptor.
Definition: Components/IFS/src/include/IFS/FWFS/FileSystem.h:53
void reset()
Definition: Components/IFS/src/include/IFS/FWFS/FileSystem.h:80
int fgetxattr(int file, const char *name, void *value, size_t size)
std::unique_ptr< IFileSystem > fileSystem
Definition: Components/IFS/src/include/IFS/FWFS/FileSystem.h:90
String getErrorString(int err)
int check() override
Perform a file system consistency check.
Definition: Components/IFS/src/include/IFS/FWFS/FileSystem.h:137
Definition: Access.h:34
DirHandle dir
Definition: Components/IFS/src/include/IFS/FWFS/FileSystem.h:65
bool isMountPoint() const
Definition: Components/IFS/src/include/IFS/FWFS/FileSystem.h:75
FileSystem(Storage::Partition partition)
Definition: Components/IFS/src/include/IFS/FWFS/FileSystem.h:99
int format() override
format the filing system
Definition: Components/IFS/src/include/IFS/FWFS/FileSystem.h:133