Home
last modified time | relevance | path

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

/DragonOS/kernel/src/filesystem/devfs/
H A Dmod.rs84 let mut root_guard: SpinLockGuard<DevFSInode> = devfs.root_inode.0.lock(); in new() localVariable
85 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()
/DragonOS/kernel/src/filesystem/ramfs/
H A Dmod.rs146 let mut root_guard: SpinLockGuard<RamFSInode> = result.root_inode.0.lock(); in new() localVariable
147 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()
/DragonOS/kernel/src/filesystem/procfs/
H A Dmod.rs360 let mut root_guard: SpinLockGuard<ProcFSInode> = result.root_inode.0.lock(); in new() localVariable
361 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()
/DragonOS/kernel/src/filesystem/fat/
H A Dfs.rs389 let mut root_guard: SpinLockGuard<FATInode> = result.root_inode.0.lock(); in new() localVariable
390 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()