24 #include "modules/system/vfs/File.h" 25 #include "pedigree/kernel/processor/types.h" 26 #include "pedigree/kernel/utilities/String.h" 41 const String &name, uintptr_t inode_num,
Inode *inode,
46 virtual void preallocate(
size_t expectedSize,
bool zero=
true);
48 virtual void extend(
size_t newSize);
49 virtual void extend(
size_t newSize, uint64_t location, uint64_t size);
56 virtual uintptr_t
readBlock(uint64_t location);
57 virtual void writeBlock(uint64_t location, uintptr_t addr);
59 virtual void pinBlock(uint64_t location);
63 virtual void sync(
size_t offset,
bool async);
virtual void pinBlock(uint64_t location)
Ext2File(const Ext2File &file)
virtual void preallocate(size_t expectedSize, bool zero=true)
void fileAttributeChanged()
virtual void writeBlock(uint64_t location, uintptr_t addr)
virtual void extend(size_t newSize)
virtual size_t getBlockSize() const
virtual uintptr_t readBlock(uint64_t location)
virtual void unpinBlock(uint64_t location)