/external/crosvm/devices/src/utils/ |
D | error.rs | 5 use base::Error as SysError; 11 CreateEvent(SysError), 12 ReadEvent(SysError), 13 WriteEvent(SysError), 14 CreateWaitContext(SysError), 15 WaitContextAddDescriptor(SysError), 16 WaitContextDeleteDescriptor(SysError),
|
/external/crosvm/src/plugin/ |
D | mod.rs | 30 register_rt_signal_handler, validate_raw_descriptor, warn, AsRawDescriptor, Error as SysError, 49 CloneEvent(SysError), 51 CreateEvent(SysError), 52 CreateIrqChip(SysError), 54 CreateKvm(SysError), 55 CreateMainSocket(SysError), 56 CreatePIT(SysError), 60 CreateVcpu(SysError), 61 CreateVcpuSocket(SysError), 62 CreateVm(SysError), [all …]
|
D | process.rs | 23 error, AsRawDescriptor, Error as SysError, Event, IntoRawDescriptor, Killable, 70 .ok_or(SysError::new(EINVAL))? in set_vm_state() 76 .ok_or(SysError::new(EINVAL))? in set_vm_state() 81 .ok_or(SysError::new(EINVAL))? in set_vm_state() 86 .ok_or(SysError::new(EINVAL))? in set_vm_state() 91 .ok_or(SysError::new(EINVAL))? in set_vm_state() 293 -1 => Err(SysError::last()), in try_wait() 331 _ => return Err(SysError::new(EINVAL)), in handle_io_event() 359 return Err(SysError::new(EPERM)); in handle_memory() 363 Some(end) if end > shm.size() => return Err(SysError::new(EINVAL)), in handle_memory() [all …]
|
D | vcpu.rs | 104 vcpu.set_regs(&VcpuRegs::from_slice(state).ok_or(SysError::new(EINVAL))?.0) in set_vcpu_state() 107 vcpu.set_sregs(&VcpuSregs::from_slice(state).ok_or(SysError::new(EINVAL))?.0) in set_vcpu_state() 110 vcpu.set_fpu(&VcpuFpu::from_slice(state).ok_or(SysError::new(EINVAL))?.0) in set_vcpu_state() 114 .ok_or(SysError::new(EINVAL))? in set_vcpu_state() 119 .ok_or(SysError::new(EINVAL))? in set_vcpu_state() 124 .ok_or(SysError::new(EINVAL))? in set_vcpu_state() 129 .ok_or(SysError::new(EINVAL))? in set_vcpu_state() 134 .ok_or(SysError::new(EINVAL))? in set_vcpu_state() 180 return Err(SysError::new(EINVAL)); in reserve_range() 185 return Err(SysError::new(EPERM)); in reserve_range() [all …]
|
/external/crosvm/devices/src/virtio/vhost/ |
D | mod.rs | 9 use base::{Error as SysError, TubeError}; 28 CloneKillEvent(SysError), 30 CreateKillEvent(SysError), 34 CreateWaitContext(SysError), 52 VhostIrqCreate(SysError), 54 VhostIrqRead(SysError), 80 WaitError(SysError),
|
D | control_socket.rs | 7 use base::Error as SysError; 20 Err(SysError),
|
D | worker.rs | 7 use base::{error, Error as SysError, Event, PollToken, Tube, WaitContext}; 165 VhostDevResponse::Err(SysError::new(EIO)) in run() 177 VhostDevResponse::Err(SysError::new(EIO)) in run()
|
/external/crosvm/net_util/src/ |
D | lib.rs | 17 use base::Error as SysError; 27 CreateSocket(SysError), 29 OpenTun(SysError), 31 CreateTap(SysError), 33 IoctlError(SysError), 51 pub fn sys_error(&self) -> SysError { in sys_error() argument 89 return Err(Error::CreateSocket(SysError::last())); in create_socket() 185 return Err(Error::IoctlError(SysError::last())); in from_raw_descriptor() 205 return Err(Error::OpenTun(SysError::last())); in create_tap_with_ifreq() 215 let error = SysError::last(); in create_tap_with_ifreq() [all …]
|
/external/crosvm/vm_control/src/ |
D | lib.rs | 29 error, with_as_descriptor, AsRawDescriptor, Error as SysError, Event, ExternalMapping, Fd, 194 Err(SysError), 337 .ok_or_else(|| VmMemoryResponse::Err(SysError::new(EINVAL))) in execute() 368 return VmMemoryResponse::Err(SysError::new(EINVAL)); in execute() 399 return VmMemoryResponse::Err(SysError::new(EINVAL)); in execute() 407 return VmMemoryResponse::Err(SysError::new(EINVAL)); in execute() 453 Err(_e) => return VmMemoryResponse::Err(SysError::new(EINVAL)), in execute() 481 Err(SysError), 526 VmIrqResponse::Err(SysError::new(EINVAL)) in execute() 554 Err(SysError), [all …]
|
/external/crosvm/rutabaga_gfx/src/rutabaga_gralloc/ |
D | minigbm.rs | 17 use base::{AsRawDescriptor, Error as SysError, FromRawDescriptor}; 58 return Err(RutabagaError::SysError(SysError::last())); in init() 98 return Err(RutabagaError::SysError(SysError::last())); in get_image_memory_requirements() 164 return Err(RutabagaError::SysError(SysError::last())); in allocate_memory()
|
/external/crosvm/rutabaga_gfx/src/ |
D | rutabaga_utils.rs | 14 use base::{Error as SysError, ExternalMappingError, SafeDescriptor}; 157 SysError(SysError), enumerator 214 SysError(e) => write!(f, "rutabaga received a system error: {}", e), in fmt() 239 impl From<SysError> for RutabagaError { 240 fn from(e: SysError) -> RutabagaError { in from() 241 RutabagaError::SysError(e) in from()
|
/external/crosvm/devices/src/virtio/ |
D | p9.rs | 11 use base::{error, warn, Error as SysError, Event, PollToken, RawDescriptor, WaitContext}; 31 CreateWaitContext(SysError), 35 WaitError(SysError), 37 ReadQueueEvent(SysError), 43 SignalUsedQueue(SysError),
|
D | net.rs | 14 use base::Error as SysError; 35 CreateKillEvent(SysError), 37 CreateWaitContext(SysError), 39 CloneKillEvent(SysError), 43 WaitContextDisableTap(SysError), 45 WaitContextEnableTap(SysError), 47 WaitError(SysError),
|
D | block.rs | 15 use base::Error as SysError; 154 Timer(SysError), 353 return DiskControlResult::Err(SysError::new(libc::EROFS)); in resize() 360 return DiskControlResult::Err(SysError::new(libc::EIO)); in resize() 366 return DiskControlResult::Err(SysError::new(libc::EIO)); in resize() 542 return Err(SysError::new(libc::EINVAL)); in new()
|
D | pmem.rs | 11 use base::{Error as SysError, Result as SysResult}; 247 return Err(SysError::new(libc::EOVERFLOW)); in new()
|
/external/crosvm/devices/src/virtio/fs/ |
D | mod.rs | 11 use base::{error, warn, AsRawDescriptor, Error as SysError, Event, RawDescriptor, Tube}; 69 CreateWaitContext(SysError), 71 WaitError(SysError), 73 ReadQueueEvent(SysError), 79 SignalUsedQueue(SysError),
|
/external/crosvm/sys_util/src/ |
D | handle_eintr.rs | 175 use crate::Error as SysError; 232 Err(SysError::new(EINTR)) in sys_eintr()
|
/external/crosvm/devices/src/virtio/video/ |
D | mod.rs | 13 use base::{error, AsRawDescriptor, Error as SysError, Event, RawDescriptor, Tube}; 46 WaitContextCreationFailed(SysError), 52 WaitError(SysError),
|
/external/crosvm/devices/src/usb/xhci/ |
D | interrupter.rs | 12 use base::{Error as SysError, Event}; 22 SendInterrupt(SysError),
|
D | ring_buffer_controller.rs | 12 use base::{error, Error as SysError, Event, WatchingEvents}; 20 CreateEvent(SysError),
|
D | xhci_transfer.rs | 13 use base::{error, Error as SysError, Event}; 29 WriteCompletionEvent(SysError),
|
/external/crosvm/devices/src/virtio/snd/vios_backend/ |
D | shm_streams.rs | 25 use sys_util::{Error as SysError, SharedMemory as SysSharedMemory}; 174 return Err(Box::new(Error::DupError(SysError::last()))); in new()
|
/external/crosvm/devices/src/pci/ |
D | msix.rs | 6 use base::{error, AsRawDescriptor, Error as SysError, Event, RawDescriptor, Tube, TubeError}; 63 AddMsiRoute(SysError), 66 AllocateOneMsi(SysError),
|
/external/crosvm/gpu_display/src/ |
D | lib.rs | 10 use base::{AsRawDescriptor, Error as SysError, RawDescriptor}; 33 CreateShm(SysError),
|
/external/crosvm/devices/src/ |
D | pit.rs | 13 error, warn, AsRawDescriptor, Descriptor, Error as SysError, Event, PollToken, WaitContext, 152 TimerCreateError(SysError), 154 CreateWaitContext(SysError), 156 WaitError(SysError), 160 CreateEvent(SysError), 162 CloneEvent(SysError),
|