Searched refs:FATDirEntry (Results 1 – 2 of 2) sorted by relevance
/DragonOS/kernel/src/filesystem/fat/ |
H A D | fs.rs | 42 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 …]
|
H A D | entry.rs | 41 pub enum FATDirEntry { enum 507 ) -> Result<FATDirEntry, SystemError> { in find_entry() argument 677 let e: Result<FATDirEntry, SystemError> = in check_existence() 719 ) -> Result<FATDirEntry, SystemError> { argument 791 let e: FATDirEntry = self.find_entry(name, None, None, fs.clone())?; in remove() 841 ) -> Result<FATDirEntry, SystemError> { in get_dir_entry() argument 843 return Ok(FATDirEntry::Dir(self.clone())); in get_dir_entry() 857 ) -> Result<FATDirEntry, SystemError> { in rename() argument 859 let old_dentry: FATDirEntry = if let FATDirEntryOrShortName::DirEntry(dentry) = in rename() 883 let new_dentry: FATDirEntry = self.create_dir_entries( in rename() [all …]
|