/DragonOS/kernel/src/filesystem/vfs/ |
H A D | utils.rs | 86 pub struct DName(pub Arc<String>); struct 88 impl PartialEq for DName { implementation 93 impl Eq for DName {} implementation 95 impl Hash for DName { implementation 101 impl PartialOrd for DName { implementation 107 impl Ord for DName { implementation 113 impl Default for DName { implementation 119 impl From<String> for DName { implementation 125 impl From<&str> for DName { implementation 131 impl Clone for DName { implementation [all …]
|
H A D | mod.rs | 31 utils::DName, 549 fn dname(&self) -> Result<DName, SystemError> { in dname() argument
|
H A D | mount.rs | 29 utils::DName, 522 fn dname(&self) -> Result<DName, SystemError> { in dname() argument
|
/DragonOS/kernel/src/filesystem/ramfs/ |
H A D | mod.rs | 25 file::FilePrivateData, syscall::ModeType, utils::DName, FileSystem, FileSystemMaker, FsInfo, 60 children: BTreeMap<DName, Arc<LockedRamFSInode>>, 70 name: DName, 308 let name = DName::from(name); in create_with_data() 360 let name = DName::from(name); in link() 399 let name = DName::from(name); in unlink() 413 let name = DName::from(name); in rmdir() 442 let new_name = DName::from(new_name); in move_to() 451 self_inode.children.remove(&DName::from(old_name)); in move_to() 495 let name = DName::from(name); in find() [all …]
|
/DragonOS/kernel/src/filesystem/devfs/ |
H A D | mod.rs | 9 utils::DName, 249 children: BTreeMap<DName, Arc<dyn IndexNode>>, 255 dname: DName, 290 dname: DName::default(), in new_with_parent() 299 if guard.children.contains_key(&DName::from(name)) { in add_dir() 321 let name = DName::from(name); in add_dev() 335 .remove(&DName::from(name)) in remove() 353 let name = DName::from(name); in do_create_with_data() 441 .get(&DName::from(name)) in find() 567 fn dname(&self) -> Result<DName, SystemError> { in dname() argument
|
/DragonOS/kernel/src/filesystem/procfs/ |
H A D | mod.rs | 34 utils::DName, 119 children: BTreeMap<DName, Arc<LockedProcFSInode>>, 129 dname: DName, 351 dname: DName::default(), in new() 605 let name = DName::from(name); in create_with_data() 667 let name = DName::from(name); in link() 693 let name = DName::from(name); in unlink() 734 .get(&DName::from(name)) in find() 800 fn dname(&self) -> Result<DName, SystemError> { in dname() argument
|
/DragonOS/kernel/src/driver/input/ps2_mouse/ |
H A D | ps_mouse_device.rs | 34 core::generate_inode_id, syscall::ModeType, utils::DName, FilePrivateData, FileSystem, 663 fn dname(&self) -> Result<DName, SystemError> { in dname() argument 664 Ok(DName::from(self.name())) in dname()
|
/DragonOS/kernel/src/filesystem/fat/ |
H A D | fs.rs | 18 use crate::filesystem::vfs::utils::DName; 125 dname: DName, 161 let dname = DName::from(name); in find() 188 dname: DName, in new() argument 376 dname: DName::default(), in new() 1574 let name = DName::from(ent.name()); in list() 1811 let dname = DName::from(filename); in mknod() 1843 fn dname(&self) -> Result<DName, SystemError> { in dname() argument
|