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.rs140 let mut root_guard: SpinLockGuard<RamFSInode> = result.root_inode.0.lock(); in new() localVariable
141 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()
/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.rs388 let mut root_guard: SpinLockGuard<FATInode> = result.root_inode.0.lock(); in new() localVariable
389 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()