Home
last modified time | relevance | path

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

/linux-6.6.21/io_uring/
Dfs.c23 struct filename *newpath; member
46 struct filename *newpath; member
70 ren->newpath = getname(newf); in io_renameat_prep()
71 if (IS_ERR(ren->newpath)) { in io_renameat_prep()
73 return PTR_ERR(ren->newpath); in io_renameat_prep()
89 ren->newpath, ren->flags); in io_renameat()
101 putname(ren->newpath); in io_renameat_cleanup()
201 const char __user *oldpath, *newpath; in io_symlinkat_prep() local
210 newpath = u64_to_user_ptr(READ_ONCE(sqe->addr2)); in io_symlinkat_prep()
216 sl->newpath = getname(newpath); in io_symlinkat_prep()
[all …]
/linux-6.6.21/tools/testing/selftests/openat2/
Dhelpers.c40 int newdirfd, const char *newpath, unsigned int flags) in sys_renameat2() argument
43 newdirfd, newpath, flags); in sys_renameat2()
Dhelpers.h100 int newdirfd, const char *newpath, unsigned int flags);
/linux-6.6.21/fs/smb/server/
Dvfs.c634 struct path oldpath, newpath; in ksmbd_vfs_link() local
650 &newpath); in ksmbd_vfs_link()
658 if (oldpath.mnt != newpath.mnt) { in ksmbd_vfs_link()
663 err = vfs_link(oldpath.dentry, mnt_idmap(newpath.mnt), in ksmbd_vfs_link()
664 d_inode(newpath.dentry), in ksmbd_vfs_link()
670 done_path_create(&newpath, dentry); in ksmbd_vfs_link()
/linux-6.6.21/tools/perf/util/
Ddso.c565 char newpath[KMOD_DECOMP_LEN]; in __open_dso() local
566 size_t len = sizeof(newpath); in __open_dso()
568 if (dso__decompress_kmodule_path(dso, name, newpath, len) < 0) { in __open_dso()
574 strcpy(name, newpath); in __open_dso()
/linux-6.6.21/tools/testing/selftests/landlock/
Dfs_test.c30 const char *newpath, unsigned int flags) in renameat2() argument
32 return syscall(__NR_renameat2, olddirfd, oldpath, newdirfd, newpath, in renameat2()
1957 static int test_rename(const char *const oldpath, const char *const newpath) in test_rename() argument
1959 if (rename(oldpath, newpath)) in test_rename()
1964 static int test_exchange(const char *const oldpath, const char *const newpath) in test_exchange() argument
1966 if (renameat2(AT_FDCWD, oldpath, AT_FDCWD, newpath, RENAME_EXCHANGE)) in test_exchange()