Searched refs:newpath (Results 1 – 6 of 6) sorted by relevance
/linux/io_uring/ |
H A D | fs.c | 23 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/tools/testing/selftests/openat2/ |
H A D | helpers.c | 40 int newdirfd, const char *newpath, unsigned int flags) in sys_renameat2() argument 43 newdirfd, newpath, flags); in sys_renameat2()
|
H A D | helpers.h | 100 int newdirfd, const char *newpath, unsigned int flags);
|
/linux/fs/smb/server/ |
H A D | vfs.c | 639 struct path oldpath, newpath; in ksmbd_vfs_link() local 655 &newpath); in ksmbd_vfs_link() 663 if (oldpath.mnt != newpath.mnt) { in ksmbd_vfs_link() 668 err = vfs_link(oldpath.dentry, mnt_idmap(newpath.mnt), in ksmbd_vfs_link() 669 d_inode(newpath.dentry), in ksmbd_vfs_link() 675 done_path_create(&newpath, dentry); in ksmbd_vfs_link()
|
/linux/tools/perf/util/ |
H A D | dso.c | 580 char newpath[KMOD_DECOMP_LEN]; in __open_dso() local 581 size_t len = sizeof(newpath); in __open_dso() 583 if (dso__decompress_kmodule_path(dso, name, newpath, len) < 0) { in __open_dso() 589 strcpy(name, newpath); in __open_dso()
|
/linux/tools/testing/selftests/landlock/ |
H A D | fs_test.c | 44 const char *newpath, unsigned int flags) in renameat2() argument 46 return syscall(__NR_renameat2, olddirfd, oldpath, newdirfd, newpath, in renameat2() 2099 static int test_rename(const char *const oldpath, const char *const newpath) in test_rename() argument 2101 if (rename(oldpath, newpath)) in test_rename() 2106 static int test_exchange(const char *const oldpath, const char *const newpath) in test_exchange() argument 2108 if (renameat2(AT_FDCWD, oldpath, AT_FDCWD, newpath, RENAME_EXCHANGE)) in test_exchange()
|