Lines Matching refs:oldpath
656 struct filename *oldpath; member
678 struct filename *oldpath; member
686 struct filename *oldpath; member
3762 ren->oldpath = getname(oldf); in io_renameat_prep()
3763 if (IS_ERR(ren->oldpath)) in io_renameat_prep()
3764 return PTR_ERR(ren->oldpath); in io_renameat_prep()
3768 putname(ren->oldpath); in io_renameat_prep()
3784 ret = do_renameat2(ren->old_dfd, ren->oldpath, ren->new_dfd, in io_renameat()
3890 const char __user *oldpath, *newpath; in io_symlinkat_prep() local
3901 oldpath = u64_to_user_ptr(READ_ONCE(sqe->addr)); in io_symlinkat_prep()
3904 sl->oldpath = getname(oldpath); in io_symlinkat_prep()
3905 if (IS_ERR(sl->oldpath)) in io_symlinkat_prep()
3906 return PTR_ERR(sl->oldpath); in io_symlinkat_prep()
3910 putname(sl->oldpath); in io_symlinkat_prep()
3926 ret = do_symlinkat(sl->oldpath, sl->new_dfd, sl->newpath); in io_symlinkat()
3954 lnk->oldpath = getname(oldf); in io_linkat_prep()
3955 if (IS_ERR(lnk->oldpath)) in io_linkat_prep()
3956 return PTR_ERR(lnk->oldpath); in io_linkat_prep()
3960 putname(lnk->oldpath); in io_linkat_prep()
3976 ret = do_linkat(lnk->old_dfd, lnk->oldpath, lnk->new_dfd, in io_linkat()
6619 putname(req->rename.oldpath); in io_clean_op()
6629 putname(req->symlink.oldpath); in io_clean_op()
6633 putname(req->hardlink.oldpath); in io_clean_op()