Lines Matching refs:root_inode
29 root_inode: Arc<LockedDevFSInode>, field
37 fn root_inode(&self) -> Arc<dyn super::vfs::IndexNode> { in root_inode() method
38 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()
154 let dev_root_inode: Arc<LockedDevFSInode> = self.root_inode.clone(); in unregister_device()