Home
last modified time | relevance | path

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

/DragonOS/kernel/src/filesystem/fat/
H A Dfs.rs42 entry::{FATDir, FATDirEntry, FATDirIter, FATEntry},
412 pub fn get_fat_entry(&self, cluster: Cluster) -> Result<FATEntry, SystemError> { in get_fat_entry() argument
440 let res: FATEntry = match self.bpb.fat_type { in get_fat_entry()
451 FATEntry::Unused in get_fat_entry()
453 FATEntry::Bad in get_fat_entry()
455 FATEntry::EndOfChain in get_fat_entry()
457 FATEntry::Next(Cluster { in get_fat_entry()
467 FATEntry::Unused in get_fat_entry()
469 FATEntry::Bad in get_fat_entry()
471 FATEntry::EndOfChain in get_fat_entry()
[all …]
H A Dentry.rs28 pub enum FATEntry { enum
114 if let Ok(FATEntry::Next(c)) = fs.get_fat_entry(current_cluster) { in read()
183 if let Ok(FATEntry::Next(c)) = fs.get_fat_entry(current_cluster) { in write()
422 if let Ok(FATEntry::Next(c)) = fs.get_fat_entry(current_cluster) { in find_free_entries()
1466 FATEntry::Next(c) => { in get_dir_entry()
1524 FATEntry::Next(c) => { in get_dir_entry()
2369 Ok(FATEntry::Next(c)) => { in next()