Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dentry.rs41 pub enum FATDirEntry { enum
514 ) -> Result<FATDirEntry, SystemError> { in find_entry() argument
685 let e: Result<FATDirEntry, SystemError> = in check_existence()
727 ) -> Result<FATDirEntry, SystemError> { argument
797 let e: FATDirEntry = self.find_entry(name, None, None, fs.clone())?; in remove()
847 ) -> Result<FATDirEntry, SystemError> { in get_dir_entry() argument
849 return Ok(FATDirEntry::Dir(self.clone())); in get_dir_entry()
863 ) -> Result<FATDirEntry, SystemError> { in rename() argument
865 let old_dentry: FATDirEntry = if let FATDirEntryOrShortName::DirEntry(dentry) = in rename()
889 let new_dentry: FATDirEntry = self.create_dir_entries( in rename()
[all …]
Dfs.rs29 entry::{FATDir, FATDirEntry, FATDirIter, FATEntry},
103 inode_type: FATDirEntry,
111 FATDirEntry::File(f) | FATDirEntry::VolId(f) => { in update_metadata()
114 FATDirEntry::Dir(d) => { in update_metadata()
117 FATDirEntry::UnInit => { in update_metadata()
126 FATDirEntry::Dir(d) => { in find()
133 let fat_entry: FATDirEntry = in find()
147 FATDirEntry::UnInit => { in find()
164 inode_type: FATDirEntry, in new() argument
166 let file_type = if let FATDirEntry::Dir(_) = inode_type { in new()
[all …]