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

Method frsize

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

Source from the content-addressed store, hash-verified

43 // FIXME: basically all of these :)
44 virtual unsigned long bsize() const override { return PAGE_SIZE; }
45 virtual unsigned long frsize() const override { return PAGE_SIZE; }
46 virtual fsblkcnt_t blocks() const override { return m_max_pages; }
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; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected