Searched refs:max_valid_cluster_offset (Results 1 – 3 of 3) sorted by relevance
47 max_valid_cluster_offset: u64, field68 let max_valid_cluster_offset = max_valid_cluster_index * cluster_size; in new() localVariable75 max_valid_cluster_offset, in new()85 pub fn max_valid_cluster_offset(&self) -> u64 { in max_valid_cluster_offset() method86 self.max_valid_cluster_offset in max_valid_cluster_offset()
115 pub fn add_cluster_end(&mut self, max_valid_cluster_offset: u64) -> io::Result<Option<u64>> { in add_cluster_end()121 if new_cluster_address > max_valid_cluster_offset { in add_cluster_end()
946 let max_valid_cluster_offset = max_valid_cluster_index * cluster_size; in rebuild_refcounts() localVariable947 if max_valid_cluster_offset < file_size - cluster_size { in rebuild_refcounts()948 return Err(Error::InvalidRefcountTableSize(max_valid_cluster_offset)); in rebuild_refcounts()1169 let max_valid_cluster_offset = self.refcounts.max_valid_cluster_offset(); in get_new_cluster() localVariable1170 if let Some(new_cluster) = self.raw_file.add_cluster_end(max_valid_cluster_offset)? { in get_new_cluster()