Lines Matching defs:VfioError
28 pub enum VfioError { enum
51 impl fmt::Display for VfioError { implementation
131 unsafe fn vfio_dma_map(&self, iova: u64, size: u64, user_addr: u64) -> Result<(), VfioError> { in vfio_dma_map() argument
148 fn vfio_dma_unmap(&self, iova: u64, size: u64) -> Result<(), VfioError> { in vfio_dma_unmap() argument
166 fn init(&mut self, vm: &impl Vm, guest_mem: &GuestMemory) -> Result<(), VfioError> { in init() argument
195 ) -> Result<Arc<VfioGroup>, VfioError> { in get_group() argument
232 fn new(container: &VfioContainer, id: u32) -> Result<Self, VfioError> { in new() argument
275 fn kvm_device_add_group(&self, kvm_vfio_file: &SafeDescriptor) -> Result<(), VfioError> { in kvm_device_add_group() argument
300 fn get_device(&self, name: &str) -> Result<File, VfioError> { in get_device() argument
359 ) -> Result<Self, VfioError> { in new() argument
394 pub fn irq_enable(&self, descriptors: Vec<&Event>, index: u32) -> Result<(), VfioError> { in irq_enable() argument
433 pub fn resample_virq_enable(&self, descriptor: &Event, index: u32) -> Result<(), VfioError> { in resample_virq_enable() argument
460 pub fn irq_disable(&self, index: u32) -> Result<(), VfioError> { in irq_disable() argument
478 pub fn irq_unmask(&self, index: u32) -> Result<(), VfioError> { in irq_unmask() argument
496 pub fn irq_mask(&self, index: u32) -> Result<(), VfioError> { in irq_mask() argument
514 fn get_regions(dev: &File) -> Result<Vec<VfioRegion>, VfioError> { in get_regions() argument
797 ) -> Result<(), VfioError> { in vfio_dma_map() argument
802 pub fn vfio_dma_unmap(&self, iova: u64, size: u64) -> Result<(), VfioError> { in vfio_dma_unmap() argument