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()
140 let mut root_guard: SpinLockGuard<RamFSInode> = result.root_inode.0.lock(); in new() localVariable141 root_guard.parent = Arc::downgrade(&result.root_inode); in new()142 root_guard.self_ref = Arc::downgrade(&result.root_inode); in new()143 root_guard.fs = Arc::downgrade(&result); in new()145 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()
388 let mut root_guard: SpinLockGuard<FATInode> = result.root_inode.0.lock(); in new() localVariable389 root_guard.inode_type = FATDirEntry::Dir(result.root_dir()); in new()390 root_guard.parent = Arc::downgrade(&result.root_inode); in new()391 root_guard.self_ref = Arc::downgrade(&result.root_inode); in new()392 root_guard.fs = Arc::downgrade(&result); in new()394 drop(root_guard); in new()