Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/time/
Djiffies.rs66 name: "jiffies".to_string(), in new()
/DragonOS-0.1.8/kernel/src/driver/tty/
Dtty_device.rs273 name: name.to_string(), in new()
309 guard.insert("tty0".to_string(), tty.clone()); in tty_init()
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/
Dmod.rs194 let disk: Arc<LockedAhciDisk> = get_disks_by_name("ahci_disk_0".to_string()).unwrap(); in __test_ahci()
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dcore.rs172 ahci::get_disks_by_name("ahci_disk_0".to_string()) in mount_root_fs()
/DragonOS-0.1.8/kernel/src/filesystem/procfs/
Dmod.rs143 String::from_utf8(tmp_name).unwrap_or("NULL".to_string()) in open_status()
287 let _pf: Arc<dyn IndexNode> = proc.create(&pid.to_string(), FileType::Dir, 0o777)?; in register_pid()
/DragonOS-0.1.8/kernel/src/filesystem/sysfs/
Dmod.rs366 this.children.insert(name.to_string(), file); in add_file()
/DragonOS-0.1.8/kernel/src/filesystem/devfs/
Dmod.rs272 this.children.insert(name.to_string(), dev); in add_dev()
/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dentry.rs764 return Ok(short_dentry.to_dir_entry_with_long_name(long_name.to_string(), (start, end)));
1623 return Ok(short_dentry.to_dir_entry_with_long_name(extractor.to_string(), loc)); in new()
2169 fn to_string(&self) -> String { in to_string() method