Lines Matching refs:disk_image

237     disk_image: Box<dyn AsyncDisk>,  field
426 if let Err(e) = disk_state.disk_image.set_len(new_size) { in resize()
432 if let Err(e) = disk_state.disk_image.allocate(0, new_size) { in resize()
439 if let Ok(new_disk_size) = disk_state.disk_image.get_len() { in resize()
463 .disk_image in flush_disk()
567 disk_image: Option<Box<dyn ToAsyncDisk>>, field
599 disk_image: Box<dyn ToAsyncDisk>, in new()
613 let disk_size = disk_image.get_len()?; in new()
646 disk_image: Some(disk_image), in new()
711 let disk_image = &disk_state.disk_image; in execute_request() localVariable
713 .write_all_from_at_fut(&**disk_image, data_len, offset) in execute_request()
730 let disk_image = &disk_state.disk_image; in execute_request() localVariable
732 .read_exact_to_at_fut(&**disk_image, data_len, offset) in execute_request()
790 let _ = disk_state.disk_image.punch_hole(offset, length).await; in execute_request()
793 .disk_image in execute_request()
807 .disk_image in execute_request()
842 if let Some(disk_image) = &self.disk_image { in keep_rds()
843 keep_rds.extend(disk_image.as_raw_descriptors()); in keep_rds()
893 if let Some(disk_image) = self.disk_image.take() { in activate()
902 let async_image = match disk_image.to_async_disk(&ex) { in activate()
907 disk_image: async_image, in activate()
931 disk_state.disk_image.into_inner(), in activate()
962 Ok((disk_image, control_tube)) => { in reset()
963 self.disk_image = Some(disk_image); in reset()
1118 disk_image: Box::new(af), in read_last_sector()
1187 disk_image: Box::new(af), in read_beyond_last_sector()
1258 disk_image: Box::new(af), in get_id()