Home
last modified time | relevance | path

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

/external/crosvm/devices/src/virtio/
Dblock.rs25 use vm_control::{DiskControlCommand, DiskControlResult};
350 fn resize(&mut self, new_size: u64) -> DiskControlResult { in resize() argument
353 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()
Dblock_async.rs32 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() argument
421 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()
/external/crosvm/vm_control/src/
Dlib.rs192 pub enum DiskControlResult { enum
1034 Ok(DiskControlResult::Ok) => VmResponse::Ok, in execute()
1035 Ok(DiskControlResult::Err(e)) => VmResponse::Err(e), in execute()