Searched refs:cluster_bytes_offset (Results 1 – 2 of 2) sorted by relevance
132 let offset = fs.cluster_bytes_offset(current_cluster) + in_cluster_offset; in read()199 let offset = fs.cluster_bytes_offset(current_cluster) + in_cluster_bytes_offset; in write()287 fs.cluster_bytes_offset(start_cluster) + self.size() % fs.bytes_per_cluster(); in ensure_len()307 let short_entry_offset = fs.cluster_bytes_offset(self.loc.1 .0) + self.loc.1 .1; in ensure_len()363 let short_entry_offset = fs.cluster_bytes_offset((self.loc.1).0) + (self.loc.1).1; in truncate()444 let e_offset = fs.cluster_bytes_offset(current_cluster) + offset; in find_free_entries()629 dot_entry.flush(&fs, fs.cluster_bytes_offset(first_cluster) + offset)?; in create_dir()643 dot_dot_entry.flush(&fs, fs.cluster_bytes_offset(first_cluster) + offset)?; in create_dir()754 let bytes_offset = fs.cluster_bytes_offset(off.0) + off.1;761 let offset = fs.cluster_bytes_offset(end.0) + end.1;[all …]
533 pub fn cluster_bytes_offset(&self, cluster: Cluster) -> u64 { in cluster_bytes_offset() method1174 let offset: usize = self.cluster_bytes_offset(cluster) as usize; in zero_cluster()