Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_flash
Method · 0.80
create_userspace_mapping
Method · 0.80
Calls
2
next_memory_slot
Method · 0.80
memory_slot_allocator
Method · 0.80
Tested by
no test coverage detected