Home
last modified time | relevance | path

Searched refs:resample_evt (Results 1 – 24 of 24) sorted by relevance

/external/crosvm/devices/src/usb/xhci/
Dintr_resample_handler.rs14 resample_evt: Event, field
22 resample_evt: Event, in start()
26 resample_evt, in start()
30 &handler.resample_evt, in start()
42 match self.resample_evt.read() { in on_event()
/external/crosvm/devices/src/virtio/vhost/user/
Dworker.rs30 resample_evt: EventAsync, in handle_irq_resample()
34 let _ = resample_evt in handle_irq_resample()
51 let resample_evt = interrupt in run() localVariable
57 EventAsync::new(resample_evt.0, ex).expect("failed to create async resample event"); in run()
/external/crosvm/devices/src/virtio/
Dballoon.rs279 let resample_evt = if let Some(resample_evt) = interrupt.borrow_mut().get_resample_evt() { in handle_irq_resample() localVariable
280 let resample_evt = resample_evt.try_clone().unwrap(); in handle_irq_resample() localVariable
281 let resample_evt = EventAsync::new(resample_evt.0, ex).unwrap(); in handle_irq_resample() localVariable
282 Some(resample_evt) in handle_irq_resample()
286 if let Some(resample_evt) = resample_evt { in handle_irq_resample()
287 while resample_evt.next_val().await.is_ok() { in handle_irq_resample()
Dblock_async.rs350 let resample_evt = if let Some(resample_evt) = interrupt.borrow().get_resample_evt() { in handle_irq_resample() localVariable
351 let resample_evt = resample_evt in handle_irq_resample() localVariable
354 let resample_evt = in handle_irq_resample() localVariable
355 EventAsync::new(resample_evt.0, ex).map_err(OtherError::AsyncResampleCreate)?; in handle_irq_resample()
356 Some(resample_evt) in handle_irq_resample()
360 if let Some(resample_evt) = resample_evt { in handle_irq_resample()
362 let _ = resample_evt in handle_irq_resample()
Drng.rs86 if let Some(resample_evt) = self.interrupt.get_resample_evt() { in run()
88 .add(resample_evt, Token::InterruptResample) in run()
Dtpm.rs119 if let Some(resample_evt) = self.interrupt.get_resample_evt() { in run()
120 wc.add(resample_evt, Token::InterruptResample)?; in run()
Dp9.rs122 if let Some(resample_evt) = self.interrupt.get_resample_evt() { in run()
124 .add(resample_evt, Token::InterruptResample) in run()
Dpmem.rs184 if let Some(resample_evt) = self.interrupt.get_resample_evt() { in run()
186 .add(resample_evt, Token::InterruptResample) in run()
Dconsole.rs251 if let Some(resample_evt) = self.interrupt.get_resample_evt() { in run()
253 .add(resample_evt, Token::InterruptResample) in run()
Dnet.rs355 if let Some(resample_evt) = self.interrupt.get_resample_evt() { in run()
357 .add(resample_evt, Token::InterruptResample) in run()
Dblock.rs403 if let Some(resample_evt) = self.interrupt.get_resample_evt() { in run()
404 wc.add(resample_evt, Token::InterruptResample)?; in run()
Dwl.rs1526 if let Some(resample_evt) = self.interrupt.get_resample_evt() { in run()
1528 .add(resample_evt, Token::InterruptResample) in run()
/external/crosvm/devices/src/irqchip/kvm/
Dx86_64.rs576 if let Some(resample_evt) = &evt.resample_event { in finalize_devices()
577 ioapic_resample_events[evt.gsi as usize].push(resample_evt.try_clone()?); in finalize_devices()
578 pic_resample_events[evt.gsi as usize].push(resample_evt.try_clone()?); in finalize_devices()
896 let mut resample_evt = Event::new().expect("failed to create event"); in finalize_devices() localVariable
899 .register_irq_event(1, &evt, Some(&resample_evt)) in finalize_devices()
952 resample_evt in finalize_devices()
1014 let mut resample_evt = Event::new().expect("failed to create event"); in broadcast_eoi() localVariable
1016 chip.register_irq_event(1, &evt, Some(&resample_evt)) in broadcast_eoi()
1045 resample_evt in broadcast_eoi()
1064 resample_evt in broadcast_eoi()
/external/crosvm/devices/src/virtio/vhost/
Dworker.rs122 if let Some(resample_evt) = self.interrupt.get_resample_evt() { in run()
124 .add(resample_evt, Token::InterruptResample) in run()
/external/crosvm/devices/src/virtio/fs/
Dworker.rs220 if let Some(resample_evt) = self.irq.get_resample_evt() { in run()
222 .add(resample_evt, Token::InterruptResample) in run()
/external/crosvm/devices/src/virtio/video/
Dworker.rs280 if let Some(resample_evt) = self.interrupt.get_resample_evt() { in run()
281 wc.add(resample_evt, Token::InterruptResample)?; in run()
/external/crosvm/src/plugin/
Dprocess.rs568 (Ok(evt), Ok(resample_evt)) => match vm.register_irqfd_resample( in handle_socket()
570 &resample_evt, in handle_socket()
575 response_fds.push(resample_evt.as_raw_descriptor()); in handle_socket()
576 boxed_fds.push(box_owned_fd(resample_evt)); in handle_socket()
/external/crosvm/devices/src/virtio/input/
Dmod.rs474 if let Some(resample_evt) = self.interrupt.get_resample_evt() { in run()
476 .add(resample_evt, Token::InterruptResample) in run()
/external/crosvm/devices/src/irqchip/
Dioapic.rs235 for resample_evt in resample_events { in end_of_interrupt()
236 resample_evt.write(1).unwrap(); in end_of_interrupt()
Dpic.rs372 for resample_evt in resample_events { in clear_isr()
373 resample_evt.write(1).unwrap(); in clear_isr()
/external/crosvm/crosvm_plugin/src/
Dlib.rs865 resample_evt: File, field
882 let resample_evt = files.pop().unwrap(); in create() localVariable
887 resample_evt, in create()
914 (*this).resample_evt.as_raw_fd() in crosvm_irq_event_get_resample_fd()
/external/crosvm/devices/src/virtio/gpu/
Dmod.rs714 if let Some(resample_evt) = self.interrupt.get_resample_evt() { in run()
716 .add(resample_evt, Token::InterruptResample) in run()
/external/crosvm/hypervisor/src/kvm/
Dmod.rs261 resample_evt: Option<&Event>, in register_irqfd()
269 if let Some(r_evt) = resample_evt { in register_irqfd()
/external/crosvm/kvm/src/
Dlib.rs756 resample_evt: &Event, in register_irqfd_resample()
762 resamplefd: resample_evt.as_raw_descriptor() as u32, in register_irqfd_resample()