Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dcore.rs41 pub fn ROOT_INODE() -> Arc<dyn IndexNode> { in ROOT_INODE() function
100 let root_inode = ROOT_INODE().list().expect("VFS init failed"); in vfs_init()
137 let binding = ROOT_INODE().find("proc").expect("ProcFS not mounted!").fs(); in migrate_virtual_filesystem()
139 let binding = ROOT_INODE().find("dev").expect("DevFS not mounted!").fs(); in migrate_virtual_filesystem()
141 let binding = ROOT_INODE().find("sys").expect("SysFs not mounted!").fs(); in migrate_virtual_filesystem()
209 let inode: Result<Arc<dyn IndexNode>, SystemError> = ROOT_INODE().lookup(path); in do_mkdir()
218 ROOT_INODE().lookup(parent_path.unwrap_or("/"))?; in do_mkdir()
238 let inode: Result<Arc<dyn IndexNode>, SystemError> = ROOT_INODE().lookup(path); in do_remove_dir()
250 let parent_inode: Arc<dyn IndexNode> = ROOT_INODE().lookup(parent_path.unwrap_or("/"))?; in do_remove_dir()
274 let inode: Result<Arc<dyn IndexNode>, SystemError> = ROOT_INODE().lookup(path); in do_unlink_at()
[all …]
Dsyscall.rs18 Dirent, FileType, IndexNode, ROOT_INODE,
136 let inode: Result<Arc<dyn IndexNode>, SystemError> = ROOT_INODE().lookup(path); in open()
148 ROOT_INODE().lookup(parent_path.unwrap_or("/"))?; in open()
277 let inode = match ROOT_INODE().lookup(&path) { in chdir()
Dmod.rs17 pub use self::{core::ROOT_INODE, file::FilePrivateData, mount::MountFS};
386 (ROOT_INODE().clone(), String::from(rest)) in lookup_follow_symlink()
/DragonOS-0.1.8/kernel/src/process/
Dexec.rs8 ROOT_INODE,
162 let inode = ROOT_INODE().lookup(param.file_path)?; in load_binary_file()
Dprocess.rs13 FileType, ROOT_INODE,
356 let tty_inode = ROOT_INODE() in init_stdio()
/DragonOS-0.1.8/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.8/kernel/src/filesystem/procfs/
Dmod.rs15 core::{generate_inode_id, ROOT_INODE},
669 let procfs_inode = ROOT_INODE().find("proc")?; in procfs_register_pid()
696 let procfs_inode: Arc<dyn IndexNode> = ROOT_INODE().find("proc")?; in procfs_unregister_pid()
/DragonOS-0.1.8/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");