Searched refs:free_cluster (Results 1 – 1 of 1) sorted by relevance
620 let free_cluster: Cluster = match self.get_free_cluster(start_cluster, end_cluster) { in allocate_cluster() localVariable628 self.set_entry(free_cluster, FATEntry::EndOfChain)?; in allocate_cluster()635 .update_next_free((free_cluster.cluster_num + 1) as u32); in allocate_cluster()640 self.set_entry(prev_cluster, FATEntry::Next(free_cluster))?; in allocate_cluster()643 self.zero_cluster(free_cluster)?; in allocate_cluster()644 return Ok(free_cluster); in allocate_cluster()