Home
last modified time | relevance | path

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

/DragonOS-0.1.8/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.8/kernel/src/filesystem/procfs/
Dmod.rs533 let mut other_locked: SpinLockGuard<ProcFSInode> = other.0.lock(); in link() localVariable
541 if other_locked.metadata.file_type == FileType::Dir { in link()
552 .insert(String::from(name), other_locked.self_ref.upgrade().unwrap()); in link()
555 other_locked.metadata.nlinks += 1; in link()