Searched refs:start_cluster (Results 1 – 2 of 2) sorted by relevance
553 let start_cluster: Cluster = match self.bpb.fat_type { in allocate_cluster() localVariable569 let free_cluster: Cluster = match self.get_free_cluster(start_cluster, end_cluster) { in allocate_cluster()571 Err(_) if start_cluster.cluster_num > RESERVED_CLUSTERS as u64 => { in allocate_cluster()599 pub fn deallocate_cluster_chain(&self, start_cluster: Cluster) -> Result<(), SystemError> { in deallocate_cluster_chain()600 let clusters: Vec<Cluster> = self.clusters(start_cluster); in deallocate_cluster_chain()736 pub fn clusters(&self, start_cluster: Cluster) -> Vec<Cluster> { in clusters()737 return self.cluster_iter(start_cluster).collect(); in clusters()743 pub fn num_clusters_chain(&self, start_cluster: Cluster) -> u64 { in num_clusters_chain()745 .cluster_iter(start_cluster) in num_clusters_chain()751 fn cluster_iter(&self, start_cluster: Cluster) -> ClusterIter { in cluster_iter()[all …]
281 let start_cluster: u64 = self.size() / fs.bytes_per_cluster(); in ensure_len() localVariable282 let start_cluster: Cluster = fs in ensure_len() localVariable283 .get_cluster_by_relative(self.first_cluster, start_cluster as usize) in ensure_len()287 fs.cluster_bytes_offset(start_cluster) + self.size() % fs.bytes_per_cluster(); in ensure_len()297 if start_cluster != end_cluster { in ensure_len()1472 let start_cluster: Cluster = self.current_cluster; in get_dir_entry() localVariable1531 (start_cluster, start_offset), in get_dir_entry()