Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/driver/virtio/
Dtransport_pci.rs99 ) -> Result<Self, VirtioPciError> { in new() argument
103 return Err(VirtioPciError::InvalidVendorId(header.vendor_id)); in new()
160 &common_cfg.ok_or(VirtioPciError::MissingCommonConfig)?, in new()
163 let notify_cfg = notify_cfg.ok_or(VirtioPciError::MissingNotifyConfig)?; in new()
165 return Err(VirtioPciError::InvalidNotifyOffMultiplier( in new()
173 &isr_cfg.ok_or(VirtioPciError::MissingIsrConfig)?, in new()
378 pub enum VirtioPciError { enum
409 impl Display for VirtioPciError { implementation
450 impl From<PciError> for VirtioPciError { implementation
462 ) -> Result<NonNull<T>, VirtioPciError> { in get_bar_region() argument
[all …]