MCPcopy 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)
138pub fn alloc_count_down()
139{
140 let mut sb = SBlk::read();
141 sb.alloc_count -= 1;
142 sb.write();
143}

Callers 1

freeMethod · 0.85

Calls 2

readFunction · 0.70
writeMethod · 0.45

Tested by

no test coverage detected