Home
last modified time | relevance | path

Searched refs:dup2 (Results 1 – 25 of 28) sorted by relevance

12

/Linux-v4.19/tools/lib/subcmd/
Drun-command.c25 dup2(fd, to); in dup_devnull()
86 dup2(fdin[0], 0); in start_command()
89 dup2(cmd->in, 0); in start_command()
96 dup2(fderr[1], 2); in start_command()
103 dup2(2, 1); in start_command()
105 dup2(fdout[1], 1); in start_command()
108 dup2(cmd->out, 1); in start_command()
Dpager.c96 dup2(pager_process.in, 1); in setup_pager()
98 dup2(pager_process.in, 2); in setup_pager()
/Linux-v4.19/arch/um/drivers/
Dport_user.c158 dup2(data->sock_fd, 0); in port_pre_exec()
159 dup2(data->sock_fd, 1); in port_pre_exec()
160 dup2(data->sock_fd, 2); in port_pre_exec()
162 dup2(data->pipe_fd, 3); in port_pre_exec()
Dharddog_user.c21 dup2(data->stdin_fd, 0); in pre_exec()
22 dup2(data->stdout_fd, 1); in pre_exec()
23 dup2(data->stdout_fd, 2); in pre_exec()
Dslirp_user.c32 dup2(data->stdin_fd, 0); in slirp_pre_exec()
34 dup2(data->stdout_fd, 1); in slirp_pre_exec()
Dslip_user.c68 dup2(data->stdin_fd, 0); in slip_pre_exec()
69 dup2(data->stdout_fd, 1); in slip_pre_exec()
Dnet_user.c177 dup2(data->stdout_fd, 1); in change_pre_exec()
/Linux-v4.19/arch/um/os-Linux/
Duser_syms.c62 EXPORT_SYMBOL_PROTO(dup2);
/Linux-v4.19/tools/testing/selftests/kcmp/
Dkcmp_test.c69 fddup = dup2(pipefd[1], duped_num); in main()
/Linux-v4.19/tools/testing/selftests/proc/
Dfd-001-lookup.c158 if (dup2(fd, target_fd) == target_fd) in main()
/Linux-v4.19/tools/perf/tests/
Dbuiltin-test.c338 dup2(nullfd, STDOUT_FILENO); in run_test()
339 dup2(STDOUT_FILENO, STDERR_FILENO); in run_test()
/Linux-v4.19/arch/um/os-Linux/drivers/
Dtuntap_user.c58 dup2(data->stdout_fd, 1); in tuntap_pre_exec()
Dethertap_user.c86 dup2(data->control_remote, 1); in etap_pre_exec()
/Linux-v4.19/tools/testing/selftests/filesystems/
Ddevpts_pts.c20 ret = dup2(duplicate, original); in terminal_dup2()
/Linux-v4.19/fs/hostfs/
Dhostfs_user.c171 return dup2(oldfd, fd); in replace_file()
/Linux-v4.19/arch/powerpc/include/asm/
Dsystbl.h70 SYSCALL_SPU(dup2)
/Linux-v4.19/arch/parisc/kernel/
Dsyscall_table.S134 ENTRY_SAME(dup2)
/Linux-v4.19/arch/x86/entry/syscalls/
Dsyscall_64.tbl44 33 common dup2 __x64_sys_dup2
Dsyscall_32.tbl77 63 i386 dup2 sys_dup2 __ia32_sys_dup2
/Linux-v4.19/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl44 33 common dup2 __x64_sys_dup2
/Linux-v4.19/arch/arm/tools/
Dsyscall.tbl77 63 common dup2 sys_dup2
/Linux-v4.19/tools/perf/arch/s390/entry/syscalls/
Dsyscall.tbl62 63 common dup2 sys_dup2 sys_dup2
/Linux-v4.19/arch/s390/kernel/syscalls/
Dsyscall.tbl62 63 common dup2 sys_dup2 sys_dup2
/Linux-v4.19/fs/
Dfile.c913 SYSCALL_DEFINE2(dup2, unsigned int, oldfd, unsigned int, newfd) in SYSCALL_DEFINE2() argument
/Linux-v4.19/tools/perf/util/
Devlist.c1455 dup2(2, 1); in perf_evlist__prepare_workload()

12