Searched refs:oldpath (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/io_uring/ |
D | fs.c | 22 struct filename *oldpath; member 45 struct filename *oldpath; member 66 ren->oldpath = getname(oldf); in io_renameat_prep() 67 if (IS_ERR(ren->oldpath)) in io_renameat_prep() 68 return PTR_ERR(ren->oldpath); in io_renameat_prep() 72 putname(ren->oldpath); in io_renameat_prep() 88 ret = do_renameat2(ren->old_dfd, ren->oldpath, ren->new_dfd, in io_renameat() 100 putname(ren->oldpath); in io_renameat_cleanup() 201 const char __user *oldpath, *newpath; in io_symlinkat_prep() local 209 oldpath = u64_to_user_ptr(READ_ONCE(sqe->addr)); in io_symlinkat_prep() [all …]
|
/linux-6.6.21/tools/testing/selftests/openat2/ |
D | helpers.c | 39 int sys_renameat2(int olddirfd, const char *oldpath, in sys_renameat2() argument 42 int ret = syscall(__NR_renameat2, olddirfd, oldpath, in sys_renameat2()
|
D | helpers.h | 99 int sys_renameat2(int olddirfd, const char *oldpath,
|
/linux-6.6.21/drivers/gpu/drm/ci/ |
D | igt_runner.sh | 76 cd $oldpath
|
/linux-6.6.21/fs/overlayfs/ |
D | copy_up.c | 76 int ovl_copy_xattr(struct super_block *sb, const struct path *oldpath, struct dentry *new) in ovl_copy_xattr() argument 78 struct dentry *old = oldpath->dentry; in ovl_copy_xattr() 126 error = ovl_copy_acl(OVL_FS(sb), oldpath, new, name); in ovl_copy_xattr() 134 size = ovl_do_getxattr(oldpath, name, value, value_size); in ovl_copy_xattr() 136 size = ovl_do_getxattr(oldpath, name, NULL, 0); in ovl_copy_xattr()
|
/linux-6.6.21/fs/smb/server/ |
D | vfs.c | 634 struct path oldpath, newpath; in ksmbd_vfs_link() local 641 err = kern_path(oldname, LOOKUP_NO_SYMLINKS, &oldpath); 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() 672 path_put(&oldpath); in ksmbd_vfs_link()
|
/linux-6.6.21/tools/testing/selftests/landlock/ |
D | fs_test.c | 29 int renameat2(int olddirfd, const char *oldpath, int newdirfd, 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()
|