Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/filesystem/fat/
Dentry.rs42 pub enum FATDirEntry { enum
505 ) -> Result<FATDirEntry, SystemError> { in find_entry() argument
676 let e: Result<FATDirEntry, SystemError> = in check_existence()
718 ) -> Result<FATDirEntry, SystemError> { argument
788 let e: FATDirEntry = self.find_entry(name, None, None, fs.clone())?; in remove()
838 ) -> Result<FATDirEntry, SystemError> { in get_dir_entry() argument
840 return Ok(FATDirEntry::Dir(self.clone())); in get_dir_entry()
854 ) -> Result<FATDirEntry, SystemError> { in rename() argument
856 let old_dentry: FATDirEntry = if let FATDirEntryOrShortName::DirEntry(dentry) = in rename()
880 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 …]