MCPcopy Create free account
hub / github.com/LibertyOS-Development/kernel / diskused

Function diskused

src/fs/mod.rs:189–192  ·  view source on GitHub ↗

TODO: Shorten the imports Disk used

()

Source from the content-addressed store, hash-verified

187// TODO: Shorten the imports
188// Disk used
189pub fn diskused() -> usize
190{
191 (crate::fs::sblk::SBlk::read().alloc_count as usize) * crate::fs::ata::BLKSIZE
192}
193
194
195// Directory name

Callers 1

diskfreeFunction · 0.85

Calls 1

readFunction · 0.70

Tested by

no test coverage detected