(
&self,
address: u64,
count: usize,
has_backing_file: bool,
)
| 489 | } |
| 490 | |
| 491 | fn unallocated_read_mapping( |
| 492 | &self, |
| 493 | address: u64, |
| 494 | count: usize, |
| 495 | has_backing_file: bool, |
| 496 | ) -> ClusterReadMapping { |
| 497 | if has_backing_file { |
| 498 | ClusterReadMapping::Backing { |
| 499 | offset: address, |
| 500 | length: count as u64, |
| 501 | } |
| 502 | } else { |
| 503 | ClusterReadMapping::Zero { |
| 504 | length: count as u64, |
| 505 | } |
| 506 | } |
| 507 | } |
| 508 | |
| 509 | /// Maps a single cluster region for a sequential read. |
| 510 | pub(crate) fn map_cluster_read( |
no outgoing calls
no test coverage detected