Home
last modified time | relevance | path

Searched refs:control_tube (Results 1 – 9 of 9) sorted by relevance

/external/crosvm/devices/src/usb/host_backend/
Dhost_backend_device_provider.rs39 Created { control_tube: Mutex<Tube> },
48 let (child_tube, control_tube) = Tube::pair().map_err(Error::CreateControlTube)?; in new()
49 control_tube in new()
52 control_tube in new()
57 control_tube: Mutex::new(child_tube), in new()
59 Ok((control_tube, provider)) in new()
69 HostBackendDeviceProvider::Created { control_tube } => { in start_helper()
76 control_tube, in start_helper()
82 &*inner.control_tube.lock(), in start_helper()
114 HostBackendDeviceProvider::Created { control_tube } => { in keep_rds()
[all …]
/external/crosvm/devices/src/virtio/block/
Dasynchronous.rs499 control_tube: &Option<AsyncTube>, in run_worker()
512 control_tube, in run_worker()
581 pub(crate) control_tube: Option<Tube>, field
599 control_tube: Option<Tube>, in new()
650 control_tube, in new()
888 if let Some(control_tube) = &self.control_tube { in keep_rds()
889 keep_rds.push(control_tube.as_raw_descriptor()); in keep_rds()
963 let control_tube = self.control_tube.take(); in activate() localVariable
969 let async_control = control_tube in activate()
1012 let (disk_image, control_tube) = worker_thread.stop(); in reset()
[all …]
/external/crosvm/devices/src/virtio/vhost/user/device/
Dblock.rs120 if let Some(control_tube) = self.control_tube.take() { in into_req_handler()
121 let async_tube = AsyncTube::new(ex, control_tube)?; in into_req_handler()
/external/crosvm/arch/src/sys/
Dunix.rs70 let (control_tube, response_tube) = in add_goldfish_battery()
138 Ok((control_tube, mmio_base)) in add_goldfish_battery()
/external/crosvm/src/sys/windows/
Dirq_wait.rs101 for (index, control_tube) in self.irq_control_tubes.iter().enumerate() { in run()
102 wait_ctx.add(control_tube.get_read_notifier(), Token::VmControl { index })?; in run()
/external/crosvm/aarch64/src/
Dlib.rs648 let (control_tube, mmio_base) = arch::sys::unix::add_goldfish_battery( in build_vm()
662 control_tube, in build_vm()
/external/crosvm/vm_control/src/
Dlib.rs1022 pub control_tube: Tube, field
1662 let res = battery.control_tube.send(cmd); in execute()
1668 match battery.control_tube.recv() { in execute()
/external/crosvm/src/sys/
Dwindows.rs966 for (index, control_tube) in control_tubes.iter().enumerate() { in run_control()
968 match control_tube { in run_control()
/external/crosvm/x86_64/src/
Dlib.rs1817 let (control_tube, _mmio_base) = arch::sys::unix::add_goldfish_battery( in setup_acpi_devices()
1830 control_tube, in setup_acpi_devices()