MCPcopy Create free account
hub / github.com/Infinity-OS/infinity / zero

Method zero

src/memory/paging/table.rs:25–29  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

23impl<L> Table<L> where L: TableLevel
24{
25 pub fn zero(&mut self) {
26 for entry in self.entries.iter_mut() {
27 entry.set_unused();
28 }
29 }
30}
31
32impl<L> Table<L> where L: HierarchicalLevel

Callers 2

newMethod · 0.80
next_table_createMethod · 0.80

Calls 1

set_unusedMethod · 0.80

Tested by

no test coverage detected