Searched refs:root_guard (Results 1 – 4 of 4) sorted by relevance
107 let mut root_guard: SpinLockGuard<RamFSInode> = result.root_inode.0.lock(); in new() localVariable108 root_guard.parent = Arc::downgrade(&result.root_inode); in new()109 root_guard.self_ref = Arc::downgrade(&result.root_inode); in new()110 root_guard.fs = Arc::downgrade(&result); in new()112 drop(root_guard); in new()
60 let mut root_guard: SpinLockGuard<DevFSInode> = devfs.root_inode.0.lock(); in new() localVariable61 root_guard.parent = Arc::downgrade(&devfs.root_inode); in new()62 root_guard.self_ref = Arc::downgrade(&devfs.root_inode); in new()63 root_guard.fs = Arc::downgrade(&devfs); in new()65 drop(root_guard); in new()
269 let mut root_guard: SpinLockGuard<ProcFSInode> = result.root_inode.0.lock(); in new() localVariable270 root_guard.parent = Arc::downgrade(&result.root_inode); in new()271 root_guard.self_ref = Arc::downgrade(&result.root_inode); in new()272 root_guard.fs = Arc::downgrade(&result); in new()274 drop(root_guard); in new()
322 let mut root_guard: SpinLockGuard<FATInode> = result.root_inode.0.lock(); in new() localVariable323 root_guard.inode_type = FATDirEntry::Dir(result.root_dir()); 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()326 root_guard.fs = Arc::downgrade(&result); in new()328 drop(root_guard); in new()