23 #include "pedigree/kernel/machine/Machine.h" 24 #include "pedigree/kernel/machine/Timer.h" 26 #include "pedigree/kernel/Log.h" 28 #include "modules/system/vfs/Directory.h" 29 #include "modules/system/vfs/File.h" 30 #include "modules/system/vfs/Filesystem.h" 31 #include "pedigree/kernel/utilities/ExtensibleBitmap.h" 45 uint64_t location, uint64_t size, uintptr_t buffer,
46 bool bCanBlock =
true);
48 uint64_t location, uint64_t size, uintptr_t buffer,
49 bool bCanBlock =
true);
51 virtual size_t getSize();
53 static int run(
void *p);
76 uint64_t location, uint64_t size, uintptr_t buffer,
77 bool bCanBlock =
true);
79 uint64_t location, uint64_t size, uintptr_t buffer,
80 bool bCanBlock =
true);
82 virtual size_t getSize();
102 uint64_t location, uint64_t size, uintptr_t buffer,
103 bool bCanBlock =
true);
105 uint64_t location, uint64_t size, uintptr_t buffer,
106 bool bCanBlock =
true);
108 virtual size_t getSize();
124 uint64_t location, uint64_t size, uintptr_t buffer,
125 bool bCanBlock =
true);
127 uint64_t location, uint64_t size, uintptr_t buffer,
128 bool bCanBlock =
true);
130 virtual size_t getSize();
145 String name,
const char *value,
size_t size,
size_t inode,
150 uint64_t location, uint64_t size, uintptr_t buffer,
151 bool bCanBlock =
true);
153 uint64_t location, uint64_t size, uintptr_t buffer,
154 bool bCanBlock =
true);
156 virtual size_t getSize();
174 String name, Time::Timestamp accessedTime, Time::Timestamp modifiedTime,
175 Time::Timestamp creationTime, uintptr_t inode,
class Filesystem *pFs,
176 size_t size,
File *pParent)
178 name, accessedTime, modifiedTime, creationTime, inode, pFs, size,
187 addDirectoryEntry(name, pFile);
201 virtual bool initialise(
Disk *pDisk);
212 virtual size_t getNextInode();
213 virtual void revertInode();
virtual bool isBytewise() const
virtual bool createFile(File *parent, const String &filename, uint32_t mask)
virtual String getVolumeLabel() const
virtual uint64_t writeBytewise(uint64_t location, uint64_t size, uintptr_t buffer, bool bCanBlock=true)
virtual bool createSymlink(File *parent, const String &filename, const String &value)
virtual bool isBytewise() const
virtual bool isBytewise() const
virtual uint64_t readBytewise(uint64_t location, uint64_t size, uintptr_t buffer, bool bCanBlock=true)
virtual bool createDirectory(File *parent, const String &filename, uint32_t mask)
virtual bool isBytewise() const
virtual bool isBytewise() const
virtual File * getRoot() const