Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
189
pub 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
diskfree
Function · 0.85
Calls
1
read
Function · 0.70
Tested by
no test coverage detected