Home
last modified time | relevance | path

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

/DragonOS/kernel/src/filesystem/vfs/
H A Dsyscall.rs853 let old_inode: Arc<dyn IndexNode> = if old.is_empty() { in do_linkat() localVariable
861 let old_inode = file.inode(); in do_linkat() localVariable
862 old_inode in do_linkat()
872 if old_inode.metadata().unwrap().file_type == FileType::Dir { in do_linkat()
883 return new_parent.link(new_name, &old_inode).map(|_| 0); in do_linkat()
/DragonOS/kernel/src/filesystem/fat/
H A Dfs.rs1694 let old_inode: Arc<LockedFATInode> = guard.find(old_name)?; in move_to() localVariable
1696 let old_inode_guard: SpinLockGuard<FATInode> = old_inode.0.lock(); in move_to()
1721 let old_inode: Arc<LockedFATInode> = old_guard.find(old_name)?; in move_to() localVariable
1723 let old_inode_guard: SpinLockGuard<FATInode> = old_inode.0.lock(); in move_to()