Home
last modified time | relevance | path

Searched refs:oldf (Results 1 – 3 of 3) sorted by relevance

/linux/io_uring/
H A Dfs.c53 const char __user *oldf, *newf; in io_renameat_prep() local
62 oldf = u64_to_user_ptr(READ_ONCE(sqe->addr)); in io_renameat_prep()
67 err = delayed_getname(&ren->oldpath, oldf); in io_renameat_prep()
254 const char __user *oldf, *newf; in io_linkat_prep()
264 oldf = u64_to_user_ptr(READ_ONCE(sqe->addr)); in io_linkat_prep()
268 err = delayed_getname_uflags(&lnk->oldpath, oldf, lnk->flags); in io_linkat_prep()
244 const char __user *oldf, *newf; io_linkat_prep() local
/linux/fs/
H A Dfile.c383 struct files_struct *dup_fd(struct files_struct *oldf, struct fd_range *punch_hole) in dup_fd() argument
407 spin_lock(&oldf->file_lock); in dup_fd()
408 old_fdt = files_fdtable(oldf); in dup_fd()
415 spin_unlock(&oldf->file_lock); in dup_fd()
431 spin_lock(&oldf->file_lock); in dup_fd()
432 old_fdt = files_fdtable(oldf); in dup_fd()
464 spin_unlock(&oldf->file_lock); in dup_fd()
/linux/kernel/
H A Dfork.c1617 struct files_struct *oldf, *newf; in copy_files() local
1622 oldf = current->files; in copy_files()
1623 if (!oldf) in copy_files()
1632 atomic_inc(&oldf->count); in copy_files()
1636 newf = dup_fd(oldf, NULL); in copy_files()