MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / allocate_memory_slot

Method allocate_memory_slot

vmm/src/memory_manager.rs:2280–2282  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

2278 }
2279
2280 pub fn allocate_memory_slot(&mut self) -> u32 {
2281 self.memory_slot_allocator().next_memory_slot()
2282 }
2283
2284 /// # Safety
2285 ///

Callers 2

add_uefi_flashMethod · 0.80

Calls 2

next_memory_slotMethod · 0.80
memory_slot_allocatorMethod · 0.80

Tested by

no test coverage detected