Searched refs:oldf (Results 1 – 3 of 3) sorted by relevance
53 const char __user *oldf, *newf; in io_renameat_prep() local61 oldf = u64_to_user_ptr(READ_ONCE(sqe->addr)); in io_renameat_prep()66 ren->oldpath = getname(oldf); in io_renameat_prep()244 const char __user *oldf, *newf; in io_linkat_prep() local253 oldf = u64_to_user_ptr(READ_ONCE(sqe->addr)); in io_linkat_prep()257 lnk->oldpath = getname_uflags(oldf, lnk->flags); in io_linkat_prep()
316 struct files_struct *dup_fd(struct files_struct *oldf, unsigned int max_fds, int *errorp) in dup_fd() argument341 spin_lock(&oldf->file_lock); in dup_fd()342 old_fdt = files_fdtable(oldf); in dup_fd()349 spin_unlock(&oldf->file_lock); in dup_fd()372 spin_lock(&oldf->file_lock); in dup_fd()373 old_fdt = files_fdtable(oldf); in dup_fd()397 spin_unlock(&oldf->file_lock); in dup_fd()
1769 struct files_struct *oldf, *newf; in copy_files() local1775 oldf = current->files; in copy_files()1776 if (!oldf) in copy_files()1785 atomic_inc(&oldf->count); in copy_files()1789 newf = dup_fd(oldf, NR_OPEN_MAX, &error); in copy_files()