Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/filesystem/ramfs/
Dmod.rs310 let mut other_locked: SpinLockGuard<RamFSInode> = other.0.lock(); in link() localVariable
318 if other_locked.metadata.file_type == FileType::Dir { in link()
329 .insert(String::from(name), other_locked.self_ref.upgrade().unwrap()); in link()
332 other_locked.metadata.nlinks += 1; in link()
/DragonOS-0.1.9/kernel/src/filesystem/procfs/
Dmod.rs607 let mut other_locked: SpinLockGuard<ProcFSInode> = other.0.lock(); in link() localVariable
615 if other_locked.metadata.file_type == FileType::Dir { in link()
626 .insert(String::from(name), other_locked.self_ref.upgrade().unwrap()); in link()
629 other_locked.metadata.nlinks += 1; in link()