Searched refs:free_cluster (Results 1 – 1 of 1) sorted by relevance
559 let free_cluster: Cluster = match self.get_free_cluster(start_cluster, end_cluster) { in allocate_cluster() localVariable567 self.set_entry(free_cluster, FATEntry::EndOfChain)?; in allocate_cluster()574 .update_next_free((free_cluster.cluster_num + 1) as u32); in allocate_cluster()579 self.set_entry(prev_cluster, FATEntry::Next(free_cluster))?; in allocate_cluster()582 self.zero_cluster(free_cluster)?; in allocate_cluster()583 return Ok(free_cluster); in allocate_cluster()