Home
last modified time | relevance | path

Searched refs:UdmabufError (Results 1 – 2 of 2) sorted by relevance

/external/crosvm/devices/src/virtio/gpu/
Dudmabuf.rs58 pub enum UdmabufError { enum
65 impl fmt::Display for UdmabufError { implementation
67 use self::UdmabufError::*; in fmt()
78 pub type UdmabufResult<T> = std::result::Result<T, UdmabufError>;
103 .map_err(UdmabufError::InvalidOffset) in memory_offset()
124 .map_err(UdmabufError::DriverOpenFailed)?; in new()
143 return Err(UdmabufError::NotPageAligned); in create_udmabuf()
161 return Err(UdmabufError::DmabufCreationFail(io::Error::last_os_error())); in create_udmabuf()
Dprotocol.rs24 use crate::virtio::gpu::udmabuf::UdmabufError;
821 ErrUdmabuf(UdmabufError),
848 impl From<UdmabufError> for GpuResponse {
849 fn from(e: UdmabufError) -> GpuResponse { in from()