Searched refs:create_disk_file (Results 1 – 4 of 4) sorted by relevance
11 use crate::{create_disk_file, DiskFile, DiskGetLen, ImageType};147 file: create_disk_file(file).map_err(|e| Error::DiskError(Box::new(e)))?, in from_file()
329 pub fn create_disk_file(raw_image: File) -> Result<Box<dyn DiskFile>> { in create_disk_file() function
27 use crate::{create_disk_file, DiskFile, DiskGetLen};452 let backing_file = create_disk_file(backing_raw_file) in from()590 create_disk_file(backing_raw_file).map_err(|e| Error::BackingFileOpen(Box::new(e)))?; in new_from_backing()
528 let disk_file = disk::create_disk_file(raw_image).map_err(Error::CreateDiskError)?; in create_block_device()