Searched refs:free_cluster (Results 1 – 1 of 1) sorted by relevance
569 let free_cluster: Cluster = match self.get_free_cluster(start_cluster, end_cluster) { in allocate_cluster() localVariable577 self.set_entry(free_cluster, FATEntry::EndOfChain)?; in allocate_cluster()584 .update_next_free((free_cluster.cluster_num + 1) as u32); in allocate_cluster()589 self.set_entry(prev_cluster, FATEntry::Next(free_cluster))?; in allocate_cluster()592 self.zero_cluster(free_cluster)?; in allocate_cluster()593 return Ok(free_cluster); in allocate_cluster()