MCPcopy Index your code
hub / github.com/cloud-hypervisor/cloud-hypervisor / write

Method write

vm-device/src/bus.rs:49–53  ·  view source on GitHub ↗

Writes at `offset` into this device

(&self, base: u64, offset: u64, data: &[u8])

Source from the content-addressed store, hash-verified

47 }
48 /// Writes at `offset` into this device
49 fn write(&self, base: u64, offset: u64, data: &[u8]) -> Option<Arc<Barrier>> {
50 self.lock()
51 .expect("Failed to acquire device lock")
52 .write(base, offset, data)
53 }
54}
55
56#[derive(Error, Debug)]

Callers 6

insertMethod · 0.45
removeMethod · 0.45
remove_by_deviceMethod · 0.45
bus_read_writeFunction · 0.45
bus_read_write_valuesFunction · 0.45
busrange_cmpFunction · 0.45

Calls 2

resolveMethod · 0.80
iterMethod · 0.80

Tested by 3

bus_read_writeFunction · 0.36
bus_read_write_valuesFunction · 0.36
busrange_cmpFunction · 0.36