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