Searched refs:DiskControlResult (Results 1 – 3 of 3) sorted by relevance
25 use vm_control::{DiskControlCommand, DiskControlResult};350 fn resize(&mut self, new_size: u64) -> DiskControlResult { in resize() argument353 return DiskControlResult::Err(SysError::new(libc::EROFS)); in resize()360 return DiskControlResult::Err(SysError::new(libc::EIO)); in resize()366 return DiskControlResult::Err(SysError::new(libc::EIO)); in resize()375 DiskControlResult::Ok in resize()469 if let DiskControlResult::Ok = resize_resp { in run()
32 use vm_control::{DiskControlCommand, DiskControlResult};405 if let DiskControlResult::Ok = resp { in handle_command_tube()414 async fn resize(disk_state: Rc<AsyncMutex<DiskState>>, new_size: u64) -> DiskControlResult { in resize() argument421 return DiskControlResult::Err(SysError::new(libc::EROFS)); in resize()428 return DiskControlResult::Err(SysError::new(libc::EIO)); in resize()434 return DiskControlResult::Err(SysError::new(libc::EIO)); in resize()442 DiskControlResult::Ok in resize()
192 pub enum DiskControlResult { enum1034 Ok(DiskControlResult::Ok) => VmResponse::Ok, in execute()1035 Ok(DiskControlResult::Err(e)) => VmResponse::Err(e), in execute()