Lines Matching refs:CompositeDiskFile
72 pub struct CompositeDiskFile { struct
95 impl CompositeDiskFile { impl
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
276 impl PunchHole for CompositeDiskFile { implementation
297 impl FileAllocate for CompositeDiskFile { implementation
318 impl WriteZeroesAt for CompositeDiskFile { implementation
332 impl AsRawDescriptors for CompositeDiskFile { implementation
363 assert!(CompositeDiskFile::new(vec![disk_part1, disk_part2]).is_err()); in block_duplicate_offset_disks()
380 let composite = CompositeDiskFile::new(vec![disk_part1, disk_part2]).unwrap(); in get_len()
393 let mut composite = CompositeDiskFile::new(vec![disk_part]).unwrap(); in single_file_passthrough()
433 let composite = CompositeDiskFile::new(vec![disk_part1, disk_part2, disk_part3]).unwrap(); in triple_file_fds()
460 CompositeDiskFile::new(vec![disk_part1, disk_part2, disk_part3]).unwrap(); in triple_file_passthrough()
495 CompositeDiskFile::new(vec![disk_part1, disk_part2, disk_part3]).unwrap(); in triple_file_punch_hole()
535 CompositeDiskFile::new(vec![disk_part1, disk_part2, disk_part3]).unwrap(); in triple_file_write_zeroes()