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

Function disksize

src/fs/mod.rs:181–184  ·  view source on GitHub ↗

TODO: Shorten the imports Disk size

()

Source from the content-addressed store, hash-verified

179// TODO: Shorten the imports
180// Disk size
181pub fn disksize() -> usize
182{
183 (crate::fs::sblk::SBlk::read().blkcount as usize) * crate::fs::ata::BLKSIZE
184}
185
186
187// TODO: Shorten the imports

Callers 1

diskfreeFunction · 0.85

Calls 1

readFunction · 0.70

Tested by

no test coverage detected