Home
last modified time | relevance | path

Searched refs:oldname (Results 1 – 3 of 3) sorted by relevance

/DragonOS/kernel/src/syscall/
H A Dmod.rs102 let oldname: *const u8 = args[0] as *const u8; in handle() localVariable
106 oldname, in handle()
116 let oldname: *const u8 = args[1] as *const u8; in handle() localVariable
119 Self::do_renameat2(oldfd, oldname, newfd, newname, 0) in handle()
124 let oldname: *const u8 = args[1] as *const u8; in handle() localVariable
128 Self::do_renameat2(oldfd, oldname, newfd, newname, flags) in handle()
350 let oldname = args[0] as *const u8; in handle() localVariable
352 Self::symlink(oldname, newname) in handle()
356 let oldname = args[0] as *const u8; in handle() localVariable
359 Self::symlinkat(oldname, newdfd, newname) in handle()
/DragonOS/kernel/src/filesystem/vfs/
H A Dcore.rs256 let oldname = check_and_clone_cstr(from, Some(MAX_PATHLEN))? in do_symlinkat() localVariable
262 let from = oldname.as_str().trim(); in do_symlinkat()
H A Dsyscall.rs987 pub fn symlink(oldname: *const u8, newname: *const u8) -> Result<usize, SystemError> { in symlink()
988 return do_symlinkat(oldname, AtFlags::AT_FDCWD.bits(), newname); in symlink()
992 oldname: *const u8, in symlinkat()
996 return do_symlinkat(oldname, newdfd, newname); in symlinkat()