/external/crosvm/qcow_utils/src/ |
D | qcow_utils.rs | 113 let src_file_owned = src_file.try_clone(); in convert_to_qcow2() 117 let dst_file_owned = dst_file.try_clone(); in convert_to_qcow2() 139 let src_file_owned = src_file.try_clone(); in convert_to_raw() 143 let dst_file_owned = dst_file.try_clone(); in convert_to_raw()
|
/external/adhd/cras/client/libcras/src/ |
D | cras_server_socket.rs | 50 pub fn try_clone(&self) -> io::Result<CrasServerSocket> { in try_clone() method 51 let new_sock = self.socket.try_clone()?; in try_clone()
|
D | libcras.rs | 315 self.server_socket.try_clone()?, in create_stream()
|
/external/crosvm/sys_util/src/ |
D | eventfd.rs | 75 pub fn try_clone(&self) -> Result<EventFd> { in try_clone() method 128 let evt_clone = evt.try_clone().unwrap(); in clone()
|
D | timerfd.rs | 163 guard.add_event_fd(deadline, self.fd.try_clone()?); in reset() 183 guard.add_event_fd(*deadline_ns, self.fd.try_clone()?); in wait()
|
D | fork.rs | 116 let evt_fd_fork = evt_fd.try_clone().expect("failed to clone EventFd"); in pid_diff()
|
D | syslog.rs | 616 let syslog_file = file.try_clone().expect("error cloning shared memory file"); in syslog_file()
|
/external/crosvm/devices/src/ |
D | serial.rs | 140 evt_fd.try_clone().map_err(Error::CloneEventFd)?, in create_serial_device() 144 evt_fd.try_clone().map_err(Error::CloneEventFd)?, in create_serial_device() 147 evt_fd.try_clone().map_err(Error::CloneEventFd)?, in create_serial_device() 156 evt_fd.try_clone().map_err(Error::CloneEventFd)?, in create_serial_device() 469 Serial::new_out(intr_evt.try_clone().unwrap(), Box::new(serial_out.clone())); in serial_input()
|
D | pit.rs | 274 .and_then(|e| Ok((e.try_clone()?, e))) in new() 280 let evt = kill_evt.try_clone().map_err(PitError::CloneEventFd)?; in new() 838 pit: Pit::new(irqfd.try_clone().unwrap(), clock.clone()).unwrap(), in set_up()
|
/external/crosvm/msg_socket/tests/ |
D | tuple.rs | 15 let e1 = e0.try_clone().unwrap(); in sock_send_recv_tuple()
|
D | struct.rs | 24 let e1 = e0.try_clone().unwrap(); in sock_send_recv_struct()
|
D | enum.rs | 25 let e1 = e0.try_clone().unwrap(); in sock_send_recv_enum()
|
/external/crosvm/devices/src/utils/ |
D | event_loop.rs | 78 .and_then(|e| Ok((e.try_clone()?, e))) in start() 227 let (self_evt, evt) = match EventFd::new().and_then(|e| Ok((e.try_clone()?, e))) { in event_loop_test()
|
/external/crosvm/devices/src/virtio/ |
D | rng.rs | 196 let (self_kill_evt, kill_evt) = match EventFd::new().and_then(|e| Ok((e.try_clone()?, e))) { in activate()
|
D | tpm.rs | 253 let (self_kill_evt, kill_evt) = match EventFd::new().and_then(|e| Ok((e.try_clone()?, e))) { in activate()
|
D | pmem.rs | 339 match EventFd::new().and_then(|e| Ok((e.try_clone()?, e))) { in activate()
|
D | balloon.rs | 331 let (self_kill_evt, kill_evt) = match EventFd::new().and_then(|e| Ok((e.try_clone()?, e))) { in activate()
|
D | p9.rs | 388 let (self_kill_evt, kill_evt) = match EventFd::new().and_then(|e| Ok((e.try_clone()?, e))) { in activate()
|
D | net.rs | 360 workers_kill_evt: Some(kill_evt.try_clone().map_err(NetError::CloneKillEventFd)?), in from()
|
/external/crosvm/x86_64/src/ |
D | lib.rs | 363 exit_evt.try_clone().map_err(Error::CloneEventFd)?, in build_vm() 659 exit_evt.try_clone().map_err(Error::CloneEventFd)?, in setup_io_bus() 672 pit_evt.try_clone().map_err(Error::CloneEventFd)?, in setup_io_bus()
|
/external/crosvm/devices/src/virtio/vhost/ |
D | vsock.rs | 48 worker_kill_evt: Some(kill_evt.try_clone().map_err(Error::CloneKillEventFd)?), in new()
|
D | net.rs | 85 workers_kill_evt: Some(kill_evt.try_clone().map_err(Error::CloneKillEventFd)?), in new()
|
/external/crosvm/src/plugin/ |
D | process.rs | 201 .try_clone() in create_vcpu() 205 .try_clone() in create_vcpu()
|
/external/crosvm/devices/src/usb/xhci/ |
D | ring_buffer_controller.rs | 225 let event = match self.event.try_clone() { in on_event()
|
/external/crosvm/devices/src/virtio/gpu/ |
D | mod.rs | 725 let exit_evt = match self.exit_evt.try_clone() { in activate() 733 let (self_kill_evt, kill_evt) = match EventFd::new().and_then(|e| Ok((e.try_clone()?, e))) { in activate()
|