Home
last modified time | relevance | path

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

/DragonOS/kernel/src/filesystem/fat/
H A Dentry.rs41 pub enum FATDirEntry { enum
505 ) -> Result<FATDirEntry, SystemError> { in find_entry() argument
675 let e: Result<FATDirEntry, SystemError> = in check_existence()
717 ) -> Result<FATDirEntry, SystemError> { argument
789 let e: FATDirEntry = self.find_entry(name, None, None, fs.clone())?; in remove()
839 ) -> Result<FATDirEntry, SystemError> { in get_dir_entry() argument
841 return Ok(FATDirEntry::Dir(self.clone())); in get_dir_entry()
855 ) -> Result<FATDirEntry, SystemError> { in rename() argument
857 let old_dentry: FATDirEntry = if let FATDirEntryOrShortName::DirEntry(dentry) = in rename()
881 let new_dentry: FATDirEntry = self.create_dir_entries( in rename()
[all …]
H A Dfs.rs42 entry::{FATDir, FATDirEntry, FATDirIter, FATEntry},
119 inode_type: FATDirEntry,
136 FATDirEntry::File(f) | FATDirEntry::VolId(f) => { in update_metadata()
139 FATDirEntry::Dir(d) => { in update_metadata()
142 FATDirEntry::UnInit => { in update_metadata()
151 FATDirEntry::Dir(d) => { in find()
159 let fat_entry: FATDirEntry = in find()
173 FATDirEntry::UnInit => { in find()
191 inode_type: FATDirEntry, in new() argument
193 let file_type = if let FATDirEntry::Dir(_) = inode_type { in new()
[all …]