Searched refs:DiskControlResult (Results 1 – 3 of 3) sorted by relevance
/external/crosvm/vm_control/src/ |
D | lib.rs | 121 pub enum DiskControlResult { enum 279 pub type DiskControlRequestSocket = MsgSocket<DiskControlCommand, DiskControlResult>; 280 pub type DiskControlResponseSocket = MsgSocket<DiskControlResult, DiskControlCommand>; 382 Ok(DiskControlResult::Ok) => VmResponse::Ok, in execute() 383 Ok(DiskControlResult::Err(e)) => VmResponse::Err(e), in execute()
|
/external/crosvm/devices/src/virtio/ |
D | block.rs | 27 use vm_control::{DiskControlCommand, DiskControlResponseSocket, DiskControlResult}; 719 fn resize(&mut self, new_size: u64) -> DiskControlResult { in resize() argument 722 return DiskControlResult::Err(SysError::new(libc::EROFS)); in resize() 729 return DiskControlResult::Err(SysError::new(libc::EIO)); in resize() 736 DiskControlResult::Ok in resize()
|
/external/crosvm/src/ |
D | linux.rs | 50 DiskControlCommand, DiskControlRequestSocket, DiskControlResponseSocket, DiskControlResult, 1285 msg_socket::pair::<DiskControlCommand, DiskControlResult>() in run_config()
|