Home
last modified time | relevance | path

Searched refs:ROOT_INODE (Results 1 – 7 of 7) sorted by relevance

/DragonOS-0.1.7/kernel/src/filesystem/vfs/
Dcore.rs43 pub fn ROOT_INODE() -> Arc<dyn IndexNode> { in ROOT_INODE() function
102 let root_inode = ROOT_INODE().list().expect("VFS init failed"); in vfs_init()
139 let binding = ROOT_INODE().find("proc").expect("ProcFS not mounted!").fs(); in migrate_virtual_filesystem()
141 let binding = ROOT_INODE().find("dev").expect("DevFS not mounted!").fs(); in migrate_virtual_filesystem()
143 let binding = ROOT_INODE().find("sys").expect("SysFs not mounted!").fs(); in migrate_virtual_filesystem()
211 let inode: Result<Arc<dyn IndexNode>, SystemError> = ROOT_INODE().lookup(path); in do_open()
223 ROOT_INODE().lookup(parent_path.unwrap_or("/"))?; in do_open()
318 let inode: Result<Arc<dyn IndexNode>, SystemError> = ROOT_INODE().lookup(path); in do_mkdir()
327 ROOT_INODE().lookup(parent_path.unwrap_or("/"))?; in do_mkdir()
347 let inode: Result<Arc<dyn IndexNode>, SystemError> = ROOT_INODE().lookup(path); in do_remove_dir()
[all …]
Dmod.rs16 pub use self::{core::ROOT_INODE, file::FilePrivateData, mount::MountFS};
382 (ROOT_INODE().clone(), String::from(rest)) in lookup_follow_symlink()
Dsyscall.rs20 Dirent, FileType, ROOT_INODE,
199 let inode = match ROOT_INODE().lookup(&path) { in sys_chdir()
/DragonOS-0.1.7/kernel/src/driver/tty/
Dtty_device.rs10 vfs::{file::FileMode, FilePrivateData, FileType, IndexNode, Metadata, ROOT_INODE},
293 let devfs_root_inode = ROOT_INODE().lookup("/dev"); in tty_init()
/DragonOS-0.1.7/kernel/src/process/
Dprocess.rs12 FileType, ROOT_INODE,
408 let tty_inode = ROOT_INODE() in init_stdio()
/DragonOS-0.1.7/kernel/src/filesystem/procfs/
Dmod.rs14 core::{generate_inode_id, ROOT_INODE},
666 let procfs_inode = ROOT_INODE().find("proc")?; in procfs_register_pid()
693 let procfs_inode: Arc<dyn IndexNode> = ROOT_INODE().find("proc")?; in procfs_unregister_pid()
/DragonOS-0.1.7/kernel/src/filesystem/devfs/
Dmod.rs6 core::{generate_inode_id, ROOT_INODE},
504 let devfs_inode: Result<Arc<dyn IndexNode>, SystemError> = ROOT_INODE().find("dev");