Searched refs:ROOT_INODE (Results 1 – 7 of 7) sorted by relevance
/DragonOS-0.1.7/kernel/src/filesystem/vfs/ |
D | core.rs | 43 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 …]
|
D | mod.rs | 16 pub use self::{core::ROOT_INODE, file::FilePrivateData, mount::MountFS}; 382 (ROOT_INODE().clone(), String::from(rest)) in lookup_follow_symlink()
|
D | syscall.rs | 20 Dirent, FileType, ROOT_INODE, 199 let inode = match ROOT_INODE().lookup(&path) { in sys_chdir()
|
/DragonOS-0.1.7/kernel/src/driver/tty/ |
D | tty_device.rs | 10 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/ |
D | process.rs | 12 FileType, ROOT_INODE, 408 let tty_inode = ROOT_INODE() in init_stdio()
|
/DragonOS-0.1.7/kernel/src/filesystem/procfs/ |
D | mod.rs | 14 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/ |
D | mod.rs | 6 core::{generate_inode_id, ROOT_INODE}, 504 let devfs_inode: Result<Arc<dyn IndexNode>, SystemError> = ROOT_INODE().find("dev");
|