Home
last modified time | relevance | path

Searched refs:exit_evt (Results 1 – 8 of 8) sorted by relevance

/external/crosvm/devices/src/
Dacpi.rs12 exit_evt: Event, field
22 pub fn new(suspend_evt: Event, exit_evt: Event) -> ACPIPMResource { in new()
25 exit_evt, in new()
103 if let Err(e) = self.exit_evt.write(1) { in write()
/external/crosvm/x86_64/src/
Dtest_integration.rs109 let exit_evt = Event::new().unwrap(); in simple_vm_test() localVariable
140 exit_evt.try_clone().unwrap(), in simple_vm_test()
183 exit_evt.try_clone().expect("unable to clone exit_evt"), in simple_vm_test()
Dlib.rs401 let exit_evt = Event::new().map_err(Error::CreateEvent)?; in build_vm() localVariable
403 let pci_devices = create_devices(&mem, &mut vm, &mut resources, &exit_evt) in build_vm()
421 exit_evt.try_clone().map_err(Error::CloneEvent)?, in build_vm()
438 exit_evt.try_clone().map_err(Error::CloneEvent)?, in build_vm()
521 exit_evt, in build_vm()
974 exit_evt: Event, in setup_io_bus()
1011 exit_evt.try_clone().map_err(Error::CloneEvent)?, in setup_io_bus()
1050 exit_evt: Event, in setup_acpi_devices()
1072 let pmresource = devices::ACPIPMResource::new(suspend_evt, exit_evt); in setup_acpi_devices()
/external/crosvm/devices/src/virtio/gpu/
Dmod.rs679 exit_evt: Event, field
789 let _ = self.exit_evt.write(1); in run()
871 exit_evt: Event, field
894 exit_evt: Event, in new()
953 exit_evt, in new()
1045 keep_rds.push(self.exit_evt.as_raw_descriptor()); in keep_rds()
1111 let exit_evt = match self.exit_evt.try_clone() { in activate() localVariable
1168 exit_evt, in activate()
/external/crosvm/src/plugin/
Dmod.rs399 exit_evt: &Event, in run_vcpus()
444 let vcpu_exit_evt = exit_evt.try_clone().map_err(Error::CloneEvent)?; in run_vcpus()
714 let exit_evt = Event::new().map_err(Error::CreateEvent)?; in run_config() localVariable
719 WaitContext::build_with(&[(&exit_evt, Token::Exit), (&sigchld_fd, Token::ChildSignal)]) in run_config()
766 let _ = wait_ctx.delete(&exit_evt); in run_config()
839 &exit_evt, in run_config()
/external/crosvm/aarch64/src/
Dlib.rs287 let exit_evt = Event::new().map_err(Error::CreateEvent)?; in build_vm() localVariable
293 let pci_devices = create_devices(&mem, &mut vm, &mut resources, &exit_evt) in build_vm()
396 exit_evt, in build_vm()
/external/crosvm/src/
Dlinux.rs854 exit_evt: &Event, in create_gpu_device()
882 exit_evt.try_clone().map_err(Error::CloneEvent)?, in create_gpu_device()
1627 exit_evt: &Event, in create_devices()
1643 exit_evt, in create_devices()
1986 exit_evt: Event, in run_vcpu()
2002 let _scoped_exit_evt = ScopedEvent::from(exit_evt); in run_vcpu()
2495 |mem, vm, sys_allocator, exit_evt| { in run_vm()
2501 exit_evt, in run_vm()
2791 (&linux.exit_evt, Token::Exit), in run_control()
2892 linux.exit_evt.try_clone().map_err(Error::CloneEvent)?, in run_control()
/external/crosvm/arch/src/
Dlib.rs101 pub exit_evt: Event, field