Home
last modified time | relevance | path

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

/linux-6.12.1/io_uring/
Dfs.c53 const char __user *oldf, *newf; in io_renameat_prep() local
61 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() local
253 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()
/linux-6.12.1/fs/
Dfile.c303 struct files_struct *dup_fd(struct files_struct *oldf, struct fd_range *punch_hole) in dup_fd() argument
328 spin_lock(&oldf->file_lock); in dup_fd()
329 old_fdt = files_fdtable(oldf); in dup_fd()
336 spin_unlock(&oldf->file_lock); in dup_fd()
359 spin_lock(&oldf->file_lock); in dup_fd()
360 old_fdt = files_fdtable(oldf); in dup_fd()
384 spin_unlock(&oldf->file_lock); in dup_fd()
/linux-6.12.1/kernel/
Dfork.c1759 struct files_struct *oldf, *newf; in copy_files() local
1764 oldf = current->files; in copy_files()
1765 if (!oldf) in copy_files()
1774 atomic_inc(&oldf->count); in copy_files()
1778 newf = dup_fd(oldf, NULL); in copy_files()