Home
last modified time | relevance | path

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

/DragonOS/kernel/src/filesystem/kernfs/
H A Dmod.rs116 inode_type: KernInodeType::Dir, in create_root_inode()
137 inode_type: KernInodeType, field
229 if unlikely(self.inode_type != KernInodeType::Dir) { in find()
258 if self.inode_type != KernInodeType::Dir { in get_entry_name()
325 if self.inode_type == KernInodeType::SymLink { in read_at()
344 if self.inode_type != KernInodeType::File { in read_at()
369 if self.inode_type != KernInodeType::File { in write_at()
392 inode_type: KernInodeType, in new()
396 metadata.file_type = inode_type.into(); in new()
412 inode_type, in new()
[all …]
/DragonOS/kernel/src/filesystem/fat/
H A Dfs.rs119 inode_type: FATDirEntry, field
135 match &self.inode_type { in update_metadata()
150 match &self.inode_type { in find()
191 inode_type: FATDirEntry, in new()
193 let file_type = if let FATDirEntry::Dir(_) = inode_type { in new()
204 inode_type, in new()
230 if !inode.0.lock().inode_type.is_dir() { in new()
354 inode_type: FATDirEntry::UnInit, in new()
390 root_guard.inode_type = FATDirEntry::Dir(result.root_dir()); in new()
1397 match &guard.inode_type { in read_at()
[all …]