MCPcopy Create free account
hub / github.com/Bananymous/banan-os / files

Method files

kernel/include/kernel/FS/TmpFS/FileSystem.h:49–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 virtual fsblkcnt_t bfree() const override { return m_max_pages - m_used_pages; }
48 virtual fsblkcnt_t bavail() const override { return m_max_pages - m_used_pages; }
49 virtual fsfilcnt_t files() const override { return PAGE_SIZE * blocks() / sizeof(TmpDirectoryEntry); }
50 virtual fsfilcnt_t ffree() const override { return PAGE_SIZE * bfree() / sizeof(TmpDirectoryEntry); }
51 virtual fsfilcnt_t favail() const override { return PAGE_SIZE * bavail() / sizeof(TmpDirectoryEntry); }
52 virtual unsigned long fsid() const override { return reinterpret_cast<uintptr_t>(this); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected