Lines Matching refs:ROOT_INODE
41 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()
290 let parent_inode: Arc<dyn IndexNode> = ROOT_INODE().lookup(parent_path.unwrap_or("/"))?; in do_unlink_at()