Home
last modified time | relevance | path

Searched refs:DName (Results 1 – 8 of 8) sorted by relevance

/DragonOS/kernel/src/filesystem/vfs/
H A Dutils.rs86 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 Dmod.rs31 utils::DName,
549 fn dname(&self) -> Result<DName, SystemError> { in dname() argument
H A Dmount.rs29 utils::DName,
522 fn dname(&self) -> Result<DName, SystemError> { in dname() argument
/DragonOS/kernel/src/filesystem/ramfs/
H A Dmod.rs25 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 Dmod.rs9 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 Dmod.rs34 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 Dps_mouse_device.rs34 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 Dfs.rs18 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