Home
last modified time | relevance | path

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

/DragonOS/kernel/src/syscall/
H A Dmod.rs117 let oldname: *const u8 = args[0] as *const u8; in handle() localVariable
121 oldname, in handle()
131 let oldname: *const u8 = args[1] as *const u8; in handle() localVariable
134 Self::do_renameat2(oldfd, oldname, newfd, newname, 0) in handle()
139 let oldname: *const u8 = args[1] as *const u8; in handle() localVariable
143 Self::do_renameat2(oldfd, oldname, newfd, newname, flags) in handle()
365 let oldname = args[0] as *const u8; in handle() localVariable
367 Self::symlink(oldname, newname) in handle()
371 let oldname = args[0] as *const u8; in handle() localVariable
374 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()