Searched refs:dup_fd (Results 1 – 6 of 6) sorted by relevance
/kernel/liteos_a/fs/include/fs/ |
D | fd_table.h | 73 struct files_struct *dup_fd(struct files_struct *oldf);
|
/kernel/linux/linux-5.10/include/linux/ |
D | fdtable.h | 113 struct files_struct *dup_fd(struct files_struct *, unsigned, int *) __latent_entropy;
|
/kernel/linux/linux-5.10/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 3758 int dup_fd, pipe_fds[2]; in TEST() local 3763 dup_fd = dup(pipe_fds[0]); in TEST() 3764 ASSERT_GE(dup_fd, 0); in TEST() 3765 EXPECT_NE(pipe_fds[0], dup_fd); in TEST() 3768 ASSERT_EQ(filecmp(self, self, pipe_fds[0], dup_fd), 0); in TEST()
|
/kernel/linux/linux-5.10/fs/ |
D | file.c | 316 struct files_struct *dup_fd(struct files_struct *oldf, unsigned int max_fds, int *errorp) in dup_fd() function
|
/kernel/linux/linux-5.10/kernel/ |
D | fork.c | 1494 newf = dup_fd(oldf, NR_OPEN_MAX, &error); in copy_files() 2951 *new_fdp = dup_fd(fd, max_fds, &error); in unshare_fd()
|
/kernel/liteos_a/kernel/base/core/ |
D | los_process.c | 2068 childProcessCB->files = dup_fd(runProcessCB->files); in OsCopyFile()
|