(&self, iova: u64, size: u64)
| 590 | } |
| 591 | |
| 592 | fn unmap(&self, iova: u64, size: u64) -> std::result::Result<(), std::io::Error> { |
| 593 | self.client |
| 594 | .lock() |
| 595 | .unwrap() |
| 596 | .dma_unmap(iova, size) |
| 597 | .map_err(|e| std::io::Error::other(format!("Error unmapping region: {e}"))) |
| 598 | } |
| 599 | } |