Home
last modified time | relevance | path

Searched refs:root_guard (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.5/kernel/src/filesystem/ramfs/
Dmod.rs107 let mut root_guard: SpinLockGuard<RamFSInode> = result.root_inode.0.lock(); in new() localVariable
108 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()
/DragonOS-0.1.5/kernel/src/filesystem/devfs/
Dmod.rs60 let mut root_guard: SpinLockGuard<DevFSInode> = devfs.root_inode.0.lock(); in new() localVariable
61 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()
/DragonOS-0.1.5/kernel/src/filesystem/procfs/
Dmod.rs269 let mut root_guard: SpinLockGuard<ProcFSInode> = result.root_inode.0.lock(); in new() localVariable
270 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()
/DragonOS-0.1.5/kernel/src/filesystem/fat/
Dfs.rs322 let mut root_guard: SpinLockGuard<FATInode> = result.root_inode.0.lock(); in new() localVariable
323 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()