Home
last modified time | relevance | path

Searched refs:Datamatch (Results 1 – 5 of 5) sorted by relevance

/external/crosvm/kvm/src/
Dlib.rs243 pub enum Datamatch { enum
794 datamatch: Datamatch, in register_ioevent() argument
807 datamatch: Datamatch, in unregister_ioevent() argument
816 datamatch: Datamatch, in ioeventfd() argument
820 Datamatch::AnyLength => (false, 0, 0), in ioeventfd()
821 Datamatch::U8(v) => match v { in ioeventfd()
825 Datamatch::U16(v) => match v { in ioeventfd()
829 Datamatch::U32(v) => match v { in ioeventfd()
833 Datamatch::U64(v) => match v { in ioeventfd()
1931 vm.register_ioevent(&evtfd, IoeventAddress::Pio(0xf4), Datamatch::AnyLength) in register_ioevent()
[all …]
/external/crosvm/devices/src/pci/
Dpci_device.rs11 use kvm::Datamatch;
90 fn ioeventfds(&self) -> Vec<(&EventFd, u64, Datamatch)> { in ioeventfds() argument
178 fn ioeventfds(&self) -> Vec<(&EventFd, u64, Datamatch)> { in ioeventfds() argument
/external/crosvm/src/plugin/
Dprocess.rs26 use kvm::{dirty_log_bitmap_size, Datamatch, IoeventAddress, IrqRoute, IrqSource, PicId, Vm};
317 0 => vm.register_ioevent(&evt, addr, Datamatch::AnyLength)?, in handle_io_event()
318 1 => vm.register_ioevent(&evt, addr, Datamatch::U8(Some(io_event.datamatch as u8)))?, in handle_io_event()
320 vm.register_ioevent(&evt, addr, Datamatch::U16(Some(io_event.datamatch as u16)))? in handle_io_event()
323 vm.register_ioevent(&evt, addr, Datamatch::U32(Some(io_event.datamatch as u32)))? in handle_io_event()
326 vm.register_ioevent(&evt, addr, Datamatch::U64(Some(io_event.datamatch as u64)))? in handle_io_event()
Dmod.rs30 use kvm::{Datamatch, IoeventAddress, Kvm, Vcpu, VcpuExit, Vm};
356 0 => vm.unregister_ioevent(&evt, addr, Datamatch::AnyLength), in destroy()
357 1 => vm.unregister_ioevent(&evt, addr, Datamatch::U8(Some(datamatch as u8))), in destroy()
358 2 => vm.unregister_ioevent(&evt, addr, Datamatch::U16(Some(datamatch as u16))), in destroy()
359 4 => vm.unregister_ioevent(&evt, addr, Datamatch::U32(Some(datamatch as u32))), in destroy()
360 8 => vm.unregister_ioevent(&evt, addr, Datamatch::U64(Some(datamatch as u64))), in destroy()
/external/crosvm/devices/src/virtio/
Dvirtio_pci_device.rs11 use kvm::Datamatch;
413 fn ioeventfds(&self) -> Vec<(&EventFd, u64, Datamatch)> { in ioeventfds() argument
423 Datamatch::U16(Some(i as u16)), in ioeventfds()