Home
last modified time | relevance | path

Searched refs:CompositeDiskFile (Results 1 – 2 of 2) sorted by relevance

/external/crosvm/disk/src/
Dcomposite.rs72 pub struct CompositeDiskFile { struct
95 impl CompositeDiskFile { implementation
96 fn new(mut disks: Vec<ComponentDiskPart>) -> Result<CompositeDiskFile> { in new() argument
112 Ok(CompositeDiskFile { in new()
120 pub fn from_file(mut file: File) -> Result<CompositeDiskFile> { in from_file() argument
186 CompositeDiskFile::new(disks) in from_file()
215 impl DiskGetLen for CompositeDiskFile { implementation
221 impl FileSetLen for CompositeDiskFile { implementation
227 impl FileSync for CompositeDiskFile { implementation
245 impl FileReadWriteAtVolatile for CompositeDiskFile { implementation
[all …]
Ddisk.rs27 use composite::{CompositeDiskFile, CDISK_MAGIC, CDISK_MAGIC_LEN};
339 Box::new(CompositeDiskFile::from_file(raw_image).map_err(Error::CreateCompositeDisk)?) in create_disk_file()