Searched refs:root_inode (Results 1 – 8 of 8) 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()65 root_inode in vfs_init()73 let _t = root_inode in vfs_init()83 let _t = root_inode in vfs_init()93 let _t = root_inode in vfs_init()100 let root_inode = ROOT_INODE().list().expect("VFS init failed"); in vfs_init() localVariable101 if root_inode.len() > 0 { in vfs_init()[all …]
72 inner_inode: self.inner_filesystem.root_inode(), in mountpoint_root_inode()105 return Ok(self.inner_inode.fs().root_inode().metadata()?.inode_id in is_mountpoint_root()341 fn root_inode(&self) -> Arc<dyn IndexNode> { in root_inode() method343 Some(inode) => return inode.mount_fs.root_inode(), in root_inode()
519 fn root_inode(&self) -> Arc<dyn IndexNode>; in root_inode() method
29 root_inode: Arc<LockedDevFSInode>, field37 fn root_inode(&self) -> Arc<dyn super::vfs::IndexNode> { in root_inode() method38 return self.root_inode.clone(); in root_inode()58 let devfs: Arc<DevFS> = Arc::new(DevFS { root_inode: root }); in new()61 let mut root_guard: SpinLockGuard<DevFSInode> = devfs.root_inode.0.lock(); in new()62 root_guard.parent = Arc::downgrade(&devfs.root_inode); in new()63 root_guard.self_ref = Arc::downgrade(&devfs.root_inode); in new()69 let root: &Arc<LockedDevFSInode> = &devfs.root_inode; in new()85 let dev_root: Arc<LockedDevFSInode> = self.root_inode.clone(); in register_bultinin_device()103 let dev_root_inode: Arc<LockedDevFSInode> = self.root_inode.clone(); in register_device()[all …]
71 root_inode: Arc<LockedSysFSInode>, field79 fn root_inode(&self) -> Arc<dyn super::vfs::IndexNode> { in root_inode() method80 return self.root_inode.clone(); in root_inode()100 let sysfs: Arc<SysFS> = Arc::new(SysFS { root_inode: root }); in new()103 let mut root_guard: SpinLockGuard<SysFSInode> = sysfs.root_inode.0.lock(); in new()104 root_guard.parent = Arc::downgrade(&sysfs.root_inode); in new()105 root_guard.self_ref = Arc::downgrade(&sysfs.root_inode); in new()111 let root: &Arc<LockedSysFSInode> = &sysfs.root_inode; in new()
32 root_inode: Arc<LockedRamFSInode>, field57 fn root_inode(&self) -> Arc<dyn super::vfs::IndexNode> { in root_inode() method58 return self.root_inode.clone(); in root_inode()102 let result: Arc<RamFS> = Arc::new(RamFS { root_inode: root }); in new()105 let mut root_guard: SpinLockGuard<RamFSInode> = result.root_inode.0.lock(); in new()106 root_guard.parent = Arc::downgrade(&result.root_inode); in new()107 root_guard.self_ref = Arc::downgrade(&result.root_inode); in new()
72 root_inode: Arc<LockedProcFSInode>, field220 fn root_inode(&self) -> Arc<dyn super::vfs::IndexNode> { in root_inode() method221 return self.root_inode.clone(); in root_inode()268 let result: Arc<ProcFS> = Arc::new(ProcFS { root_inode: root }); in new()271 let mut root_guard: SpinLockGuard<ProcFSInode> = result.root_inode.0.lock(); in new()272 root_guard.parent = Arc::downgrade(&result.root_inode); in new()273 root_guard.self_ref = Arc::downgrade(&result.root_inode); in new()285 let proc: Arc<dyn IndexNode> = self.root_inode(); in register_pid()307 let proc: Arc<dyn IndexNode> = self.root_inode(); in unregister_pid()
71 root_inode: Arc<LockedFATInode>, field229 fn root_inode(&self) -> Arc<dyn crate::filesystem::vfs::IndexNode> { in root_inode() method230 return self.root_inode.clone(); in root_inode()291 let root_inode: Arc<LockedFATInode> = Arc::new(LockedFATInode(SpinLock::new(FATInode { in new() localVariable324 root_inode: root_inode, in new()328 let mut root_guard: SpinLockGuard<FATInode> = result.root_inode.0.lock(); in new()330 root_guard.parent = Arc::downgrade(&result.root_inode); in new()331 root_guard.self_ref = Arc::downgrade(&result.root_inode); in new()