Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/cloud-hypervisor/cloud-hypervisor
/ get
Method
get
vmm/src/device_tree.rs:65–67 ·
view source on GitHub ↗
(&self, k: &str)
Source
from the content-addressed store, hash-verified
63
self.0.contains_key(k)
64
}
65
pub fn get(&self, k: &str) -> Option<&DeviceNode> {
66
self.0.get(k)
67
}
68
pub fn get_mut(&mut self, k: &str) -> Option<&mut DeviceNode> {
69
self.0.get_mut(k)
70
}
Callers
15
parse
Method · 0.45
validate
Method · 0.45
create_slit_table
Function · 0.45
create_acpi_tables_internal
Function · 0.45
create_acpi_tables_for_fw_cfg
Function · 0.45
make_virtio_block_device
Method · 0.45
make_virtio_pmem_device
Method · 0.45
pci_resources
Method · 0.45
get_device_bdf
Method · 0.45
remove_device
Method · 0.45
to_aml_bytes
Method · 0.45
trigger
Method · 0.45
Calls
no outgoing calls
Tested by
1
test_device_tree
Function · 0.36