Home
last modified time | relevance | path

Searched refs:other_locked (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.7/kernel/src/filesystem/ramfs/
Dmod.rs287 let mut other_locked: SpinLockGuard<RamFSInode> = other.0.lock(); in link() localVariable
295 if other_locked.metadata.file_type == FileType::Dir { in link()
306 .insert(String::from(name), other_locked.self_ref.upgrade().unwrap()); in link()
309 other_locked.metadata.nlinks += 1; in link()
/DragonOS-0.1.7/kernel/src/filesystem/procfs/
Dmod.rs530 let mut other_locked: SpinLockGuard<ProcFSInode> = other.0.lock(); in link() localVariable
538 if other_locked.metadata.file_type == FileType::Dir { in link()
549 .insert(String::from(name), other_locked.self_ref.upgrade().unwrap()); in link()
552 other_locked.metadata.nlinks += 1; in link()