|
| ZeroFile (String str, size_t inode, Filesystem *pParentFS, File *pParentNode) |
|
virtual uint64_t | readBytewise (uint64_t location, uint64_t size, uintptr_t buffer, bool bCanBlock=true) |
|
virtual uint64_t | writeBytewise (uint64_t location, uint64_t size, uintptr_t buffer, bool bCanBlock=true) |
|
| File () |
|
| File (const String &name, Time::Timestamp accessedTime, Time::Timestamp modifiedTime, Time::Timestamp creationTime, uintptr_t inode, class Filesystem *pFs, size_t size, File *pParent) |
|
virtual | ~File () |
|
virtual uint64_t | read (uint64_t location, uint64_t size, uintptr_t buffer, bool bCanBlock=true) final |
|
virtual uint64_t | write (uint64_t location, uint64_t size, uintptr_t buffer, bool bCanBlock=true) final |
|
virtual physical_uintptr_t | getPhysicalPage (size_t offset) |
|
virtual void | returnPhysicalPage (size_t offset) |
|
virtual void | sync () |
|
virtual void | sync (size_t offset, bool async) |
|
Time::Timestamp | getCreationTime () |
|
void | setCreationTime (Time::Timestamp t) |
|
Time::Timestamp | getAccessedTime () |
|
void | setAccessedTime (Time::Timestamp t) |
|
Time::Timestamp | getModifiedTime () |
|
void | setModifiedTime (Time::Timestamp t) |
|
String | getName () const |
|
void | getName (String &s) const |
|
virtual String | getFullPath (bool bWithLabel=true) |
|
virtual void | truncate () |
|
size_t | getSize () |
|
void | setSize (size_t sz) |
|
virtual bool | isSymlink () |
|
virtual bool | isDirectory () |
|
virtual bool | isPipe () const |
|
virtual bool | isFifo () const |
|
virtual bool | isSocket () const |
|
uintptr_t | getInode () const |
|
virtual void | setInode (uintptr_t inode) |
|
Filesystem * | getFilesystem () const |
|
void | setFilesystem (Filesystem *pFs) |
|
virtual void | fileAttributeChanged () |
|
virtual void | increaseRefCount (bool bIsWriter) |
|
virtual void | decreaseRefCount (bool bIsWriter) |
|
void | setPermissions (uint32_t perms) |
|
uint32_t | getPermissions () const |
|
void | setUid (size_t uid) |
|
size_t | getUid () const |
|
void | setGid (size_t gid) |
|
size_t | getGid () const |
|
File * | getParent () const |
|
virtual int | select (bool bWriting=false, int timeout=0) |
|
void | monitor (Thread *pThread, Event *pEvent) |
|
void | cullMonitorTargets (Thread *pThread) |
|
virtual bool | supports (const size_t command) const |
|
virtual int | command (const size_t command, void *buffer) |
|
virtual size_t | getBlockSize () const |
|
void | enableDirect () |
|
void | disableDirect () |
|
virtual void | preallocate (size_t expectedSize, bool zero=true) |
|
virtual File * | open () |
|
Definition at line 104 of file DevFs.h.