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

Method get_mut

vmm/src/device_tree.rs:68–70  ·  view source on GitHub ↗
(&mut self, k: &str)

Source from the content-addressed store, hash-verified

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 }
71 pub fn insert(&mut self, k: String, v: DeviceNode) -> Option<DeviceNode> {
72 self.0.insert(k, v)
73 }

Callers 15

parse_innerMethod · 0.45
set_event_idxMethod · 0.45
handle_eventMethod · 0.45
write_regMethod · 0.45
write_wordMethod · 0.45
write_byte_internalMethod · 0.45
move_barMethod · 0.45
add_virtio_pci_deviceMethod · 0.45
newMethod · 0.45
hotplug_ram_regionMethod · 0.45

Calls

no outgoing calls

Tested by 3

test_device_treeFunction · 0.36
test_regression_rxq_popFunction · 0.36