Home
last modified time | relevance | path

Searched refs:keep_fds (Results 1 – 25 of 27) sorted by relevance

12

/external/crosvm/devices/src/virtio/vhost/
Dnet.rs115 fn keep_fds(&self) -> Vec<RawFd> { in keep_fds() function
116 let mut keep_fds = Vec::new(); in keep_fds() localVariable
119 keep_fds.push(tap.as_raw_fd()); in keep_fds()
123 keep_fds.push(vhost_net_handle.as_raw_fd()); in keep_fds()
127 keep_fds.push(vhost_interrupt.as_raw_fd()); in keep_fds()
131 keep_fds.push(workers_kill_evt.as_raw_fd()); in keep_fds()
134 keep_fds in keep_fds()
251 fn keep_fds() { in keep_fds() function
253 let fds = net.keep_fds(); in keep_fds()
Dvsock.rs88 fn keep_fds(&self) -> Vec<RawFd> { in keep_fds() method
89 let mut keep_fds = Vec::new(); in keep_fds() localVariable
92 keep_fds.push(handle.as_raw_fd()); in keep_fds()
96 keep_fds.push(interrupt.as_raw_fd()); in keep_fds()
100 keep_fds.push(worker_kill_evt.as_raw_fd()); in keep_fds()
103 keep_fds in keep_fds()
/external/crosvm/arch/src/
Dlib.rs168 let mut keep_fds = device.keep_fds(); in generate_pci_root() localVariable
169 syslog::push_fds(&mut keep_fds); in generate_pci_root()
185 keep_fds.push(irqfd.as_raw_fd()); in generate_pci_root()
186 keep_fds.push(irq_resample_fd.as_raw_fd()); in generate_pci_root()
203 keep_fds.push(event.as_raw_fd()); in generate_pci_root()
206 let proxy = ProxyDevice::new(device, &jail, keep_fds) in generate_pci_root()
/external/crosvm/devices/src/virtio/
Drng.rs165 fn keep_fds(&self) -> Vec<RawFd> { in keep_fds() method
166 let mut keep_fds = Vec::new(); in keep_fds() localVariable
169 keep_fds.push(random_file.as_raw_fd()); in keep_fds()
172 keep_fds in keep_fds()
Dnet.rs428 fn keep_fds(&self) -> Vec<RawFd> { in keep_fds() function
429 let mut keep_fds = Vec::new(); in keep_fds() localVariable
432 keep_fds.push(tap.as_raw_fd()); in keep_fds()
436 keep_fds.push(workers_kill_evt.as_raw_fd()); in keep_fds()
439 keep_fds in keep_fds()
Dvirtio_device.rs32 fn keep_fds(&self) -> Vec<RawFd>; in keep_fds() method
Dblock.rs938 fn keep_fds(&self) -> Vec<RawFd> { in keep_fds() method
939 let mut keep_fds = Vec::new(); in keep_fds() localVariable
942 keep_fds.push(disk_image.as_raw_fd()); in keep_fds()
946 keep_fds.push(control_socket.as_raw_fd()); in keep_fds()
949 keep_fds in keep_fds()
Dvirtio_pci_device.rs309 fn keep_fds(&self) -> Vec<RawFd> { in keep_fds() method
310 let mut fds = self.device.keep_fds(); in keep_fds()
Dvirtio_pci_common_config.rs236 fn keep_fds(&self) -> Vec<RawFd> { in keep_fds() method
Dwl.rs1709 fn keep_fds(&self) -> Vec<RawFd> { in keep_fds() method
1710 let mut keep_fds = Vec::new(); in keep_fds() localVariable
1713 keep_fds.push(vm_socket.as_raw_fd()); in keep_fds()
1716 keep_fds.push(resource_bridge.as_raw_fd()); in keep_fds()
1719 keep_fds in keep_fds()
Dtpm.rs216 fn keep_fds(&self) -> Vec<RawFd> { in keep_fds() method
Dpmem.rs283 fn keep_fds(&self) -> Vec<RawFd> { in keep_fds() method
Dballoon.rs263 fn keep_fds(&self) -> Vec<RawFd> { in keep_fds() method
Dp9.rs331 fn keep_fds(&self) -> Vec<RawFd> { in keep_fds() method
/external/crosvm/devices/src/pci/
Dpci_device.rs55 fn keep_fds(&self) -> Vec<RawFd>; in keep_fds() method
157 fn keep_fds(&self) -> Vec<RawFd> { in keep_fds() method
158 (**self).keep_fds() in keep_fds()
Dac97.rs195 fn keep_fds(&self) -> Vec<RawFd> { in keep_fds() method
196 if let Some(server_fds) = self.bus_master.keep_fds() { in keep_fds()
Dpci_root.rs26 fn keep_fds(&self) -> Vec<RawFd> { in keep_fds() method
/external/crosvm/devices/src/
Dproxy.rs140 mut keep_fds: Vec<RawFd>, in new()
145 keep_fds.push(child_sock.as_raw_fd()); in new()
148 match jail.fork(Some(&keep_fds)).map_err(Error::ForkingJail)? { in new()
/external/crosvm/devices/src/virtio/gpu/
Dmod.rs653 fn keep_fds(&self) -> Vec<RawFd> { in keep_fds() method
654 let mut keep_fds = Vec::new(); in keep_fds() localVariable
658 keep_fds.push(libc::STDOUT_FILENO); in keep_fds()
659 keep_fds.push(libc::STDERR_FILENO); in keep_fds()
663 keep_fds.push(gpu_device_socket.as_raw_fd()); in keep_fds()
666 keep_fds.push(self.exit_evt.as_raw_fd()); in keep_fds()
668 keep_fds.push(resource_bridge.as_raw_fd()); in keep_fds()
670 keep_fds in keep_fds()
/external/crosvm/devices/src/usb/xhci/
Dxhci_backend_device_provider.rs21 fn keep_fds(&self) -> Vec<RawFd>; in keep_fds() method
Dxhci_controller.rs176 fn keep_fds(&self) -> Vec<RawFd> { in keep_fds() method
178 XhciControllerState::Created { device_provider } => device_provider.keep_fds(), in keep_fds()
/external/crosvm/io_jail/src/
Dlib.rs584 if let Some(keep_fds) = inheritable_fds { in fork()
585 for fd in keep_fds { in fork()
/external/adhd/audio_streams/src/
Daudio_streams.rs85 fn keep_fds(&self) -> Option<Vec<RawFd>> { in keep_fds() method
/external/adhd/cras/client/libcras/src/
Dlibcras.rs413 fn keep_fds(&self) -> Option<Vec<RawFd>> { in keep_fds() method
/external/crosvm/devices/src/usb/host_backend/
Dhost_backend_device_provider.rs109 fn keep_fds(&self) -> Vec<RawFd> { in keep_fds() method

12