Searched refs:dup_fd (Results 1 – 6 of 6) sorted by relevance
/openbmc/qemu/monitor/ |
H A D | fds.c | 425 int dup_fd; in monitor_fdset_dup_fd_add() 459 dup_fd = qemu_dup_flags(fd, flags); in monitor_fdset_dup_fd_add() 460 if (dup_fd == -1) { in monitor_fdset_dup_fd_add() 466 mon_fdset_fd_dup->fd = dup_fd; in monitor_fdset_dup_fd_add() 468 return dup_fd; in monitor_fdset_dup_fd_add() 477 void monitor_fdset_dup_fd_remove(int dup_fd) in monitor_fdset_dup_fd_remove() argument 485 if (mon_fdset_fd_dup->fd == dup_fd) { in monitor_fdset_dup_fd_remove()
|
/openbmc/linux/include/linux/ |
H A D | fdtable.h | 122 struct files_struct *dup_fd(struct files_struct *, struct fd_range *) __latent_entropy;
|
/openbmc/qemu/include/monitor/ |
H A D | monitor.h | 55 void monitor_fdset_dup_fd_remove(int dup_fd);
|
/openbmc/linux/fs/ |
H A D | file.c | 299 struct files_struct *dup_fd(struct files_struct *oldf, struct fd_range *punch_hole) in dup_fd() 736 fds = dup_fd(cur_fds, punch_hole); in __close_range() 298 struct files_struct *dup_fd(struct files_struct *oldf, struct fd_range *punch_hole) dup_fd() function
|
/openbmc/linux/tools/testing/selftests/seccomp/ |
H A D | seccomp_bpf.c | 3841 int dup_fd, pipe_fds[2]; in TEST() local 3846 dup_fd = dup(pipe_fds[0]); in TEST() 3847 ASSERT_GE(dup_fd, 0); in TEST() 3848 EXPECT_NE(pipe_fds[0], dup_fd); in TEST() 3851 ASSERT_EQ(filecmp(self, self, pipe_fds[0], dup_fd), 0); in TEST()
|
/openbmc/linux/kernel/ |
H A D | fork.c | 1789 newf = dup_fd(oldf, NULL); in copy_files() 3367 fd = dup_fd(fd, NULL); in unshare_fd()
|