Home
last modified time | relevance | path

Searched refs:AsyncError (Results 1 – 18 of 18) sorted by relevance

/external/crosvm/cros_async/src/sys/windows/
Doverlapped_source.rs31 use crate::AsyncError;
99 .map_err(AsyncError::HandleExecutor)?, in new()
114 AsyncError::OverlappedSource(Error::BackingMemoryVolatileSliceFetchFailed(e))
143 .map_err(|e| AsyncError::OverlappedSource(Error::StdIoReadError(e))) in read()
156 .map_err(|e| AsyncError::OverlappedSource(Error::StdIoWriteError(e))) in write()
167 return Err(AsyncError::OverlappedSource(Error::IoSeekError( in read_to_vec()
186 .map_err(|e| AsyncError::OverlappedSource(Error::IoReadError(e)))?; in read_to_vec()
206 return Err(AsyncError::OverlappedSource(Error::IoSeekError( in read_to_mem()
228 .map_err(|e| AsyncError::OverlappedSource(Error::IoReadError(e)))?; in read_to_mem()
252 return Err(AsyncError::OverlappedSource(Error::IoSeekError( in write_from_vec()
[all …]
Devent.rs11 use crate::AsyncError;
50 .map_err(AsyncError::EventAsync)?, in clone_raw_without_reset()
63 .map_err(AsyncError::EventAsync)?; in next_val()
Dhandle_source.rs36 use crate::AsyncError;
227 .map_err(AsyncError::HandleSource) in read_to_vec()
259 .map_err(AsyncError::HandleSource) in read_to_mem()
297 .map_err(AsyncError::HandleSource) in write_from_vec()
329 .map_err(AsyncError::HandleSource) in write_from_mem()
362 .map_err(AsyncError::HandleSource) in fallocate()
379 .map_err(AsyncError::HandleSource) in fsync()
415 Err(e) => Err(AsyncError::HandleSource(e)), in wait_for_handle()
/external/crosvm/cros_async/src/sys/
Dunix.rs23 use crate::AsyncError;
74 AsyncError::EventAsync(e) => Error::EventAsync(e), in run_one()
75 AsyncError::Uring(e) => Error::URingExecutor(e), in run_one()
76 AsyncError::Poll(e) => Error::PollSource(e), in run_one()
/external/crosvm/disk/src/
Ddisk.rs86 CreateSingleFileDisk(cros_async::AsyncError),
88 Fallocate(cros_async::AsyncError),
90 Fsync(cros_async::AsyncError),
107 ReadToMem(cros_async::AsyncError),
115 WriteFromMem(cros_async::AsyncError),
117 WriteFromVec(cros_async::AsyncError),
123 ToAsync(cros_async::AsyncError),
/external/crosvm/cros_async/src/sys/unix/
Dpoll_source.rs21 use crate::AsyncError;
324 Err(AsyncError::Poll(Error::Fallocate(base::Error::last()))) in fallocate()
334 Err(AsyncError::Poll(Error::Fsync(base::Error::last()))) in fsync()
During_source.rs21 use crate::AsyncError;
88 Err(AsyncError::Uring(Error::Io(io::Error::new( in read_u64()
/external/crosvm/disk/src/sys/
Dwindows.rs17 .map_err(|e| Error::CreateSingleFileDisk(cros_async::AsyncError::HandleSource(e))) in new_from_files()
/external/crosvm/devices/src/virtio/vsock/sys/windows/
Dvsock.rs36 use cros_async::AsyncError;
75 AwaitQueue(AsyncError),
81 CreateEventAsync(AsyncError),
93 RunExecutor(AsyncError),
/external/crosvm/devices/src/virtio/snd/common_backend/
Dmod.rs26 use cros_async::AsyncError;
79 Async(AsyncError),
733 ) -> Result<(), AsyncError> { in reset_streams() argument
/external/crosvm/win_audio/src/win_audio_impl/
Dasync_stream.rs140 RenderError::AsyncError( in async_next_win_buffer()
Dmod.rs782 RenderError::AsyncError(e, "Failed to create async event".to_string()) in create_and_set_audio_client_event()
856 AsyncError(std::io::Error, String), enumerator
/external/crosvm/devices/src/virtio/
Diommu.rs42 use cros_async::AsyncError;
131 AsyncExec(AsyncError),
147 ReadAsyncDesc(AsyncError),
Dqueue.rs16 use cros_async::AsyncError;
712 ) -> std::result::Result<DescriptorChain, AsyncError> { in next_async() argument
Dballoon.rs69 AsyncAwait(cros_async::AsyncError),
/external/crosvm/cros_async/src/
Dlib.rs97 pub use io_ext::Error as AsyncError;
130 TimerAsync(AsyncError),
/external/crosvm/devices/src/virtio/block/
Dasynchronous.rs33 use cros_async::AsyncError;
183 AsyncResampleCreate(AsyncError),
187 FlushTimer(AsyncError),
191 ReadResampleEvent(AsyncError),
/external/crosvm/devices/src/virtio/video/
Dmod.rs99 EventAsyncCreationFailed(cros_async::AsyncError),