Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/cloud-hypervisor/cloud-hypervisor
/ len
Method
len
pci/src/mmap.rs:47–49 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
45
/// and in [`isize`] and `unsafe` code can rely on this.
46
#[inline]
47
pub fn len(&self) -> usize {
48
self.len
49
}
50
51
/// Create an [`MmapRegion`] using `mmap` of a file descriptor.
52
pub fn mmap(
Callers
15
isa_string_from_host
Function · 0.45
create_memory_node
Function · 0.45
create_pci_nodes
Function · 0.45
print_node
Function · 0.45
get_cache_size
Function · 0.45
create_fdt
Function · 0.45
create_cpu_nodes
Function · 0.45
create_memory_node
Function · 0.45
create_pci_nodes
Function · 0.45
create_distance_map_node
Function · 0.45
print_node
Function · 0.45
write_volatile
Method · 0.45
Calls
no outgoing calls
Tested by
12
test_add_e820_entry
Function · 0.36
test_dma
Function · 0.36
test_compute_file_checksum_small
Function · 0.36
test_compute_file_checksum_same_data
Function · 0.36
test_compute_file_checksum_different_data
Function · 0.36
test_windows_guest_disk_hotplug_multi
Function · 0.36
check_sequential_events_with_options
Function · 0.36
check_sequential_events_exact
Function · 0.36
check_latest_events_exact_with_options
Function · 0.36
compute_backing_checksum
Function · 0.36
disk_check_consistency
Function · 0.36
test_write
Function · 0.36