Searched refs:root_guard (Results 1 – 5 of 5) sorted by relevance
103 let mut root_guard: SpinLockGuard<SysFSInode> = sysfs.root_inode.0.lock(); in new() localVariable104 root_guard.parent = Arc::downgrade(&sysfs.root_inode); in new()105 root_guard.self_ref = Arc::downgrade(&sysfs.root_inode); in new()106 root_guard.fs = Arc::downgrade(&sysfs); in new()108 drop(root_guard); in new()
105 let mut root_guard: SpinLockGuard<RamFSInode> = result.root_inode.0.lock(); in new() localVariable106 root_guard.parent = Arc::downgrade(&result.root_inode); in new()107 root_guard.self_ref = Arc::downgrade(&result.root_inode); in new()108 root_guard.fs = Arc::downgrade(&result); in new()110 drop(root_guard); in new()
61 let mut root_guard: SpinLockGuard<DevFSInode> = devfs.root_inode.0.lock(); in new() localVariable62 root_guard.parent = Arc::downgrade(&devfs.root_inode); in new()63 root_guard.self_ref = Arc::downgrade(&devfs.root_inode); in new()64 root_guard.fs = Arc::downgrade(&devfs); in new()66 drop(root_guard); in new()
271 let mut root_guard: SpinLockGuard<ProcFSInode> = result.root_inode.0.lock(); in new() localVariable272 root_guard.parent = Arc::downgrade(&result.root_inode); in new()273 root_guard.self_ref = Arc::downgrade(&result.root_inode); in new()274 root_guard.fs = Arc::downgrade(&result); in new()276 drop(root_guard); in new()
328 let mut root_guard: SpinLockGuard<FATInode> = result.root_inode.0.lock(); in new() localVariable329 root_guard.inode_type = FATDirEntry::Dir(result.root_dir()); 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()332 root_guard.fs = Arc::downgrade(&result); in new()334 drop(root_guard); in new()