Home
last modified time | relevance | path

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

/kernel/liteos_a/syscall/
Dfs_syscall.c743 char *pathOldRet = NULL; in SysRename() local
747 ret = UserPathCopy(oldpath, &pathOldRet); in SysRename()
760 ret = do_rename(AT_FDCWD, (oldpath ? pathOldRet : NULL), AT_FDCWD, in SysRename()
767 if (pathOldRet != NULL) { in SysRename()
768 (void)LOS_MemFree(OS_SYS_MEM_ADDR, pathOldRet); in SysRename()
1899 char *pathOldRet = NULL; in SysRenameat() local
1903 ret = UserPathCopy(oldpath, &pathOldRet); in SysRenameat()
1925 ret = do_rename(oldfd, (oldpath ? pathOldRet : NULL), newdfd, (newpath ? pathNewRet : NULL)); in SysRenameat()
1931 if (pathOldRet != NULL) { in SysRenameat()
1932 (void)LOS_MemFree(OS_SYS_MEM_ADDR, pathOldRet); in SysRenameat()