Searched refs:VolatileMemoryError (Results 1 – 7 of 7) sorted by relevance
/external/crosvm/data_model/src/ |
D | volatile_memory.rs | 36 pub enum VolatileMemoryError { enum 43 impl Display for VolatileMemoryError { implementation 45 use self::VolatileMemoryError::*; in fmt() 58 pub type VolatileMemoryResult<T> = result::Result<T, VolatileMemoryError>; 60 use crate::VolatileMemoryError as Error; 158 VolatileMemoryError::Overflow { in offset() 166 .ok_or(VolatileMemoryError::OutOfBounds { addr: new_addr })?; in offset() 182 VolatileMemoryError::Overflow { in sub_slice() 421 VolatileMemoryError::Overflow { in get_slice()
|
/external/crosvm/rutabaga_gfx/src/ |
D | rutabaga_utils.rs | 15 use data_model::VolatileMemoryError; 165 VolatileMemoryError(VolatileMemoryError), enumerator 218 VolatileMemoryError(e) => write!(f, "noticed a volatile memory error {}", e), in fmt() 257 impl From<VolatileMemoryError> for RutabagaError { 258 fn from(e: VolatileMemoryError) -> RutabagaError { in from() 259 RutabagaError::VolatileMemoryError(e) in from()
|
/external/crosvm/devices/src/virtio/snd/vios_backend/ |
D | shm_vios.rs | 13 use data_model::{DataInit, VolatileMemory, VolatileMemoryError}; 49 VolatileMemoryError(VolatileMemoryError), enumerator 600 .map_err(|e| Error::VolatileMemoryError(e))?; in push_buffer() 604 .map_err(|e| Error::VolatileMemoryError(e))?; in push_buffer() 619 .map_err(|e| Error::VolatileMemoryError(e))?; in pop_buffer() 623 .map_err(|e| Error::VolatileMemoryError(e))?; in pop_buffer()
|
/external/crosvm/sys_util/src/ |
D | mmap.rs | 738 return Err(VolatileMemoryError::OutOfBounds { addr: mem_end }); in get_slice() 744 .ok_or(VolatileMemoryError::Overflow { in get_slice() 948 use data_model::{VolatileMemory, VolatileMemoryError}; 1014 VolatileMemoryError::Overflow { in slice_overflow_error() 1024 assert_eq!(res, VolatileMemoryError::OutOfBounds { addr: 6 }); in slice_oob_error()
|
/external/crosvm/devices/src/virtio/ |
D | descriptor_utils.rs | 19 use data_model::{DataInit, Le16, Le32, Le64, VolatileMemoryError, VolatileSlice}; 33 VolatileMemoryError(VolatileMemoryError), enumerator 49 VolatileMemoryError(e) => write!(f, "volatile memory error: {}", e), in fmt()
|
D | wl.rs | 273 VolatileMemory(VolatileMemoryError), 327 impl From<VolatileMemoryError> for WlError { 328 fn from(e: VolatileMemoryError) -> WlError { in from()
|
/external/crosvm/vm_memory/src/ |
D | guest_memory.rs | 42 VolatileMemoryAccess(VolatileMemoryError),
|