Home
last modified time | relevance | path

Searched refs:queue_evts (Results 1 – 23 of 23) sorted by relevance

/external/crosvm/devices/src/virtio/video/
Dmod.rs162 mut queue_evts: Vec<Event>, in activate()
172 if queue_evts.len() != QUEUE_SIZES.len() { in activate()
175 queue_evts.len(), in activate()
190 let cmd_evt = queue_evts.remove(0); in activate()
192 let event_evt = queue_evts.remove(0); in activate()
/external/crosvm/fuzz/
Dblock_fuzzer.rs78 let queue_evts: Vec<Event> = vec![Event::new().unwrap()]; localVariable
79 let queue_evt = queue_evts[0].try_clone().unwrap();
97 queue_evts,
/external/crosvm/devices/src/virtio/
Dvirtio_pci_device.rs211 queue_evts: Vec<Event>, field
226 let mut queue_evts = Vec::new(); in new() localVariable
228 queue_evts.push(Event::new()?) in new()
276 queue_evts, in new()
387 self.queue_evts.iter().map(|e| e.try_clone()).collect() in clone_queue_evts()
531 self.queue_evts in ioevents()
701 Ok(queue_evts) => { in write_bar()
703 let (queues, queue_evts) = self in write_bar()
707 .zip(queue_evts.into_iter()) in write_bar()
711 self.device.activate(mem, interrupt, queues, queue_evts); in write_bar()
Dconsole.rs208 fn run(&mut self, mut queues: Vec<Queue>, mut queue_evts: Vec<Event>, kill_evt: Event) { in run()
219 let (mut receive_queue, receive_evt) = (queues.remove(0), queue_evts.remove(0)); in run()
222 let (mut transmit_queue, transmit_evt) = (queues.remove(0), queue_evts.remove(0)); in run()
380 queue_evts: Vec<Event>, in activate()
382 if queues.len() < 2 || queue_evts.len() < 2 { in activate()
407 worker.run(queues, queue_evts, kill_evt); in activate()
Dballoon.rs306 mut queue_evts: Vec<Event>, in run_worker()
323 let inflate_event = EventAsync::new(queue_evts.remove(0).0, &ex) in run_worker()
339 let deflate_event = EventAsync::new(queue_evts.remove(0).0, &ex) in run_worker()
353 EventAsync::new(queue_evts.remove(0).0, &ex).expect("failed to set up the stats event"); in run_worker()
474 queue_evts: Vec<Event>, in activate()
476 if queues.len() != QUEUE_SIZES.len() || queue_evts.len() != QUEUE_SIZES.len() { in activate()
495 queue_evts, in activate()
Drng.rs190 mut queue_evts: Vec<Event>, in activate()
192 if queues.len() != 1 || queue_evts.len() != 1 { in activate()
218 worker.run(queue_evts.remove(0), kill_evt); in activate()
Dtpm.rs210 mut queue_evts: Vec<Event>, in activate()
212 if queues.len() != 1 || queue_evts.len() != 1 { in activate()
216 let queue_evt = queue_evts.remove(0); in activate()
Dp9.rs224 mut queue_evts: Vec<Event>, in activate()
226 if queues.len() != 1 || queue_evts.len() != 1 { in activate()
251 worker.run(queue_evts.remove(0), kill_evt) in activate()
Dnet.rs647 mut queue_evts: Vec<Event>, in activate()
649 if queues.len() != self.queue_sizes.len() || queue_evts.len() != self.queue_sizes.len() { in activate()
687 let rx_queue_evt = queue_evts.remove(0); in activate()
688 let tx_queue_evt = queue_evts.remove(0); in activate()
690 Some(queue_evts.remove(queue_evts.len() - 1)) in activate()
Dvirtio_device.rs65 queue_evts: Vec<Event>, in activate()
Dwl.rs1500 fn run(&mut self, mut queue_evts: Vec<Event>, kill_evt: Event) { in run()
1503 let in_queue_evt = queue_evts.remove(0); in run()
1504 let out_queue_evt = queue_evts.remove(0); in run()
1752 queue_evts: Vec<Event>, in activate()
1754 if queues.len() != QUEUE_SIZES.len() || queue_evts.len() != QUEUE_SIZES.len() { in activate()
1787 .run(queue_evts, kill_evt); in activate()
Dblock_async.rs483 queue_evts: Vec<Event>, in run_worker()
506 .zip(queue_evts.into_iter().map(|e| { in run_worker()
878 queue_evts: Vec<Event>, in activate()
920 queue_evts, in activate()
Dblock.rs791 mut queue_evts: Vec<Event>, in activate()
793 if queues.len() != 1 || queue_evts.len() != 1 { in activate()
827 worker.run(queue_evts.remove(0), kill_evt); in activate()
/external/crosvm/devices/src/virtio/vhost/
Dvsock.rs153 queue_evts: Vec<Event>, in activate()
155 if queues.len() != NUM_QUEUES || queue_evts.len() != NUM_QUEUES { in activate()
187 worker.run(queue_evts, QUEUE_SIZES, activate_vqs, cleanup_vqs); in activate()
Dnet.rs196 queue_evts: Vec<Event>, in activate()
198 if queues.len() != NUM_QUEUES || queue_evts.len() != NUM_QUEUES { in activate()
242 worker.run(queue_evts, QUEUE_SIZES, activate_vqs, cleanup_vqs); in activate()
Dworker.rs49 queue_evts: Vec<Event>, in run()
94 .set_vring_kick(queue_index, &queue_evts[queue_index]) in run()
/external/crosvm/devices/src/virtio/vhost/user/
Dnet.rs123 queue_evts: Vec<Event>, in activate()
136 .activate(&mem, &interrupt, &queues, &queue_evts) in activate()
Dblock.rs125 queue_evts: Vec<Event>, in activate()
130 .activate(&mem, &interrupt, &queues, &queue_evts) in activate()
Dfs.rs124 queue_evts: Vec<Event>, in activate()
129 .activate(&mem, &interrupt, &queues, &queue_evts) in activate()
Dhandler.rs204 queue_evts: &[Event], in activate()
209 let queue_evt = &queue_evts[queue_index]; in activate()
/external/crosvm/devices/src/virtio/fs/
Dmod.rs243 queue_evts: Vec<Event>, in activate()
245 if queues.len() != self.queue_sizes.len() || queue_evts.len() != self.queue_sizes.len() { in activate()
278 for (idx, (queue, evt)) in queues.into_iter().zip(queue_evts.into_iter()).enumerate() { in activate()
/external/crosvm/devices/src/virtio/input/
Dmod.rs597 mut queue_evts: Vec<Event>, in activate()
599 if queues.len() != 2 || queue_evts.len() != 2 { in activate()
614 let status_queue_evt = queue_evts.remove(1); in activate()
617 let event_queue_evt = queue_evts.remove(0); in activate()
/external/crosvm/devices/src/virtio/gpu/
Dmod.rs1105 mut queue_evts: Vec<Event>, in activate()
1107 if queues.len() != QUEUE_SIZES.len() || queue_evts.len() != QUEUE_SIZES.len() { in activate()
1131 let ctrl_evt = queue_evts.remove(0); in activate()
1133 let cursor_evt = queue_evts.remove(0); in activate()