Home
last modified time | relevance | path

Searched refs:prev_cluster (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/filesystem/fat/
H A Dfs.rs606 pub fn allocate_cluster(&self, prev_cluster: Option<Cluster>) -> Result<Cluster, SystemError> { in allocate_cluster()
639 if let Some(prev_cluster) = prev_cluster { in allocate_cluster()
641 self.set_entry(prev_cluster, FATEntry::Next(free_cluster))?; in allocate_cluster()
H A Dentry.rs469 let mut prev_cluster = current_cluster; in find_free_entries() localVariable
475 let c: Cluster = fs.allocate_cluster(Some(prev_cluster))?; in find_free_entries()
480 prev_cluster = c; in find_free_entries()