Searched refs:root_guard (Results 1 – 4 of 4) sorted by relevance
84 let mut root_guard: SpinLockGuard<DevFSInode> = devfs.root_inode.0.lock(); in new() localVariable85 root_guard.parent = Arc::downgrade(&devfs.root_inode); in new()86 root_guard.self_ref = Arc::downgrade(&devfs.root_inode); in new()87 root_guard.fs = Arc::downgrade(&devfs); in new()89 drop(root_guard); in new()
146 let mut root_guard: SpinLockGuard<RamFSInode> = result.root_inode.0.lock(); in new() localVariable147 root_guard.parent = Arc::downgrade(&result.root_inode); in new()148 root_guard.self_ref = Arc::downgrade(&result.root_inode); in new()149 root_guard.fs = Arc::downgrade(&result); in new()151 drop(root_guard); in new()
360 let mut root_guard: SpinLockGuard<ProcFSInode> = result.root_inode.0.lock(); in new() localVariable361 root_guard.parent = Arc::downgrade(&result.root_inode); in new()362 root_guard.self_ref = Arc::downgrade(&result.root_inode); in new()363 root_guard.fs = Arc::downgrade(&result); in new()365 drop(root_guard); in new()
389 let mut root_guard: SpinLockGuard<FATInode> = result.root_inode.0.lock(); in new() localVariable390 root_guard.inode_type = FATDirEntry::Dir(result.root_dir()); in new()391 root_guard.parent = Arc::downgrade(&result.root_inode); in new()392 root_guard.self_ref = Arc::downgrade(&result.root_inode); in new()393 root_guard.fs = Arc::downgrade(&result); in new()395 drop(root_guard); in new()