Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/filesystem/sysfs/ !
Dmod.rs103 let mut root_guard: SpinLockGuard<SysFSInode> = sysfs.root_inode.0.lock(); in new() localVariable
104 root_guard.parent = Arc::downgrade(&sysfs.root_inode); in new()
105 root_guard.self_ref = Arc::downgrade(&sysfs.root_inode); in new()
106 root_guard.fs = Arc::downgrade(&sysfs); in new()
108 drop(root_guard); in new()
/DragonOS-0.1.7/kernel/src/filesystem/ramfs/ !
Dmod.rs105 let mut root_guard: SpinLockGuard<RamFSInode> = result.root_inode.0.lock(); in new() localVariable
106 root_guard.parent = Arc::downgrade(&result.root_inode); in new()
107 root_guard.self_ref = Arc::downgrade(&result.root_inode); in new()
108 root_guard.fs = Arc::downgrade(&result); in new()
110 drop(root_guard); in new()
/DragonOS-0.1.7/kernel/src/filesystem/devfs/ !
Dmod.rs61 let mut root_guard: SpinLockGuard<DevFSInode> = devfs.root_inode.0.lock(); in new() localVariable
62 root_guard.parent = Arc::downgrade(&devfs.root_inode); in new()
63 root_guard.self_ref = Arc::downgrade(&devfs.root_inode); in new()
64 root_guard.fs = Arc::downgrade(&devfs); in new()
66 drop(root_guard); in new()
/DragonOS-0.1.7/kernel/src/filesystem/procfs/ !
Dmod.rs268 let mut root_guard: SpinLockGuard<ProcFSInode> = result.root_inode.0.lock(); in new() localVariable
269 root_guard.parent = Arc::downgrade(&result.root_inode); in new()
270 root_guard.self_ref = Arc::downgrade(&result.root_inode); in new()
271 root_guard.fs = Arc::downgrade(&result); in new()
273 drop(root_guard); in new()
/DragonOS-0.1.7/kernel/src/filesystem/fat/ !
Dfs.rs328 let mut root_guard: SpinLockGuard<FATInode> = result.root_inode.0.lock(); in new() localVariable
329 root_guard.inode_type = FATDirEntry::Dir(result.root_dir()); in new()
330 root_guard.parent = Arc::downgrade(&result.root_inode); in new()
331 root_guard.self_ref = Arc::downgrade(&result.root_inode); in new()
332 root_guard.fs = Arc::downgrade(&result); in new()
334 drop(root_guard); in new()