Lines Matching refs:ren
3849 struct io_rename *ren = &req->rename; in io_renameat_prep() local
3859 ren->old_dfd = READ_ONCE(sqe->fd); in io_renameat_prep()
3862 ren->new_dfd = READ_ONCE(sqe->len); in io_renameat_prep()
3863 ren->flags = READ_ONCE(sqe->rename_flags); in io_renameat_prep()
3865 ren->oldpath = getname(oldf); in io_renameat_prep()
3866 if (IS_ERR(ren->oldpath)) in io_renameat_prep()
3867 return PTR_ERR(ren->oldpath); in io_renameat_prep()
3869 ren->newpath = getname(newf); in io_renameat_prep()
3870 if (IS_ERR(ren->newpath)) { in io_renameat_prep()
3871 putname(ren->oldpath); in io_renameat_prep()
3872 return PTR_ERR(ren->newpath); in io_renameat_prep()
3881 struct io_rename *ren = &req->rename; in io_renameat() local
3887 ret = do_renameat2(ren->old_dfd, ren->oldpath, ren->new_dfd, in io_renameat()
3888 ren->newpath, ren->flags); in io_renameat()