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

Method lock

src/allocator/mod.rs:175–178  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

173 }
174
175 pub fn lock(&self) -> spin::MutexGuard<A>
176 {
177 self.inner.lock()
178 }
179}
180
181// This aligns the specified "address", upwards, to "align". In order to use this function, "align" must have a value that is a power of two (2).

Callers 15

initFunction · 0.80
_printFunction · 0.80
intrhFunction · 0.80
printfmtFunction · 0.80
timer_interrupt_handlerFunction · 0.80
initFunction · 0.80
init_heapFunction · 0.80
memfreeFunction · 0.80
memsizeFunction · 0.80
memusedFunction · 0.80
addressMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected