Searched refs:root_inode (Results 1 – 7 of 7) sorted by relevance
52 let root_inode = Box::leak(Box::new(mount_fs.root_inode())); in vfs_init() localVariable55 __ROOT_INODE = root_inode; in vfs_init()59 root_inode in vfs_init()62 root_inode in vfs_init()70 let _t = root_inode in vfs_init()80 let _t = root_inode in vfs_init()87 let root_inode = ROOT_INODE().list().expect("VFS init failed"); in vfs_init() localVariable88 if root_inode.len() > 0 { in vfs_init()131 let new_root_inode = Box::leak(Box::new(new_fs.root_inode())); in migrate_virtual_filesystem()
75 inner_inode: self.inner_filesystem.root_inode(), in mountpoint_root_inode()108 return Ok(self.inner_inode.fs().root_inode().metadata()?.inode_id in is_mountpoint_root()346 fn root_inode(&self) -> Arc<dyn IndexNode> { in root_inode() method348 Some(inode) => return inode.mount_fs.root_inode(), in root_inode()
485 fn root_inode(&self) -> Arc<dyn IndexNode>; in root_inode() method
28 root_inode: Arc<LockedDevFSInode>, field36 fn root_inode(&self) -> Arc<dyn super::vfs::IndexNode> { in root_inode() method37 return self.root_inode.clone(); in root_inode()57 let devfs: Arc<DevFS> = Arc::new(DevFS { root_inode: root }); in new()60 let mut root_guard: SpinLockGuard<DevFSInode> = devfs.root_inode.0.lock(); in new()61 root_guard.parent = Arc::downgrade(&devfs.root_inode); in new()62 root_guard.self_ref = Arc::downgrade(&devfs.root_inode); in new()68 let root: &Arc<LockedDevFSInode> = &devfs.root_inode; in new()84 let dev_root: Arc<LockedDevFSInode> = self.root_inode.clone(); in register_bultinin_device()98 let dev_root_inode: Arc<LockedDevFSInode> = self.root_inode.clone(); in register_device()[all …]
34 root_inode: Arc<LockedRamFSInode>, field59 fn root_inode(&self) -> Arc<dyn super::vfs::IndexNode> { in root_inode() method60 return self.root_inode.clone(); in root_inode()104 let result: Arc<RamFS> = Arc::new(RamFS { root_inode: root }); in new()107 let mut root_guard: SpinLockGuard<RamFSInode> = result.root_inode.0.lock(); in new()108 root_guard.parent = Arc::downgrade(&result.root_inode); in new()109 root_guard.self_ref = Arc::downgrade(&result.root_inode); in new()
72 root_inode: Arc<LockedProcFSInode>, field218 fn root_inode(&self) -> Arc<dyn super::vfs::IndexNode> { in root_inode() method219 return self.root_inode.clone(); in root_inode()266 let result: Arc<ProcFS> = Arc::new(ProcFS { root_inode: root }); in new()269 let mut root_guard: SpinLockGuard<ProcFSInode> = result.root_inode.0.lock(); in new()270 root_guard.parent = Arc::downgrade(&result.root_inode); in new()271 root_guard.self_ref = Arc::downgrade(&result.root_inode); in new()283 let proc: Arc<dyn IndexNode> = self.root_inode(); in register_pid()305 let proc: Arc<dyn IndexNode> = self.root_inode(); in unregister_pid()
72 root_inode: Arc<LockedFATInode>, field230 fn root_inode(&self) -> Arc<dyn crate::filesystem::vfs::IndexNode> { in root_inode() method231 return self.root_inode.clone(); in root_inode()285 let root_inode: Arc<LockedFATInode> = Arc::new(LockedFATInode(SpinLock::new(FATInode { in new() localVariable318 root_inode: root_inode, in new()322 let mut root_guard: SpinLockGuard<FATInode> = result.root_inode.0.lock(); in new()324 root_guard.parent = Arc::downgrade(&result.root_inode); in new()325 root_guard.self_ref = Arc::downgrade(&result.root_inode); in new()