Searched refs:UdmabufError (Results 1 – 2 of 2) sorted by relevance
58 pub enum UdmabufError { enum65 impl fmt::Display for UdmabufError { implementation67 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()
24 use crate::virtio::gpu::udmabuf::UdmabufError;821 ErrUdmabuf(UdmabufError),848 impl From<UdmabufError> for GpuResponse {849 fn from(e: UdmabufError) -> GpuResponse { in from()