Home
last modified time | relevance | path

Searched refs:dup_fd (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/include/linux/
H A Dfdtable.h107 struct files_struct *dup_fd(struct files_struct *, struct fd_range *) __latent_entropy;
/linux-6.15/fs/
H A Dfile.c368 struct files_struct *dup_fd(struct files_struct *oldf, struct fd_range *punch_hole) in dup_fd() function
798 fds = dup_fd(cur_fds, punch_hole); in SYSCALL_DEFINE3()
/linux-6.15/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c3853 int dup_fd, pipe_fds[2]; in TEST() local
3858 dup_fd = dup(pipe_fds[0]); in TEST()
3859 ASSERT_GE(dup_fd, 0); in TEST()
3860 EXPECT_NE(pipe_fds[0], dup_fd); in TEST()
3863 ASSERT_EQ(filecmp(self, self, pipe_fds[0], dup_fd), 0); in TEST()
/linux-6.15/kernel/
H A Dfork.c1841 newf = dup_fd(oldf, NULL); in copy_files()
3309 fd = dup_fd(fd, NULL); in unshare_fd()