Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LibertyOS-Development/kernel
/ alloc_count_down
Function
alloc_count_down
src/fs/sblk.rs:138–143 ·
view source on GitHub ↗
Decrease allocation count by one (1)
()
Source
from the content-addressed store, hash-verified
136
137
// Decrease allocation count by one (1)
138
pub fn alloc_count_down()
139
{
140
let mut sb = SBlk::read();
141
sb.alloc_count -= 1;
142
sb.write();
143
}
Callers
1
free
Method · 0.85
Calls
2
read
Function · 0.70
write
Method · 0.45
Tested by
no test coverage detected