/linux-5.19.10/samples/seccomp/ |
D | bpf-direct.c | 83 if (write(STDOUT_FILENO, "[ERR] ", 6) > 0) { in emulator() 84 bytes = write(STDOUT_FILENO, buf, len); in emulator() 137 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, STDOUT_FILENO, 1, 0), in install_filter() 172 syscall(__NR_write, STDOUT_FILENO, in main() 175 syscall(__NR_write, STDOUT_FILENO, payload("HELLO, ")); in main() 176 syscall(__NR_write, STDOUT_FILENO, buf, bytes); in main()
|
D | bpf-fancy.c | 55 JEQ(STDOUT_FILENO, JUMP(&l, write_buf)), in main() 97 syscall(__NR_write, STDOUT_FILENO, msg1, strlen(msg1)); in main()
|
/linux-5.19.10/tools/testing/selftests/size/ |
D | get_size.c | 33 #define STDOUT_FILENO 1 macro 42 return syscall(SYS_write, STDOUT_FILENO, s, len); in print()
|
/linux-5.19.10/tools/power/acpi/tools/acpidbg/ |
D | acpidbg.c | 304 maxfd = acpi_aml_set_fd(STDOUT_FILENO, maxfd, &wfds); in acpi_aml_loop() 326 if (FD_ISSET(STDOUT_FILENO, &wfds)) { in acpi_aml_loop() 328 ACPI_AML_BATCH_DO(STDOUT_FILENO, write, log, ret); in acpi_aml_loop() 330 ACPI_AML_DO(STDOUT_FILENO, write, log, ret); in acpi_aml_loop() 429 acpi_aml_set_fl(STDOUT_FILENO, O_NONBLOCK); in main()
|
/linux-5.19.10/tools/include/linux/ |
D | kallsyms.h | 29 dprintf(STDOUT_FILENO, "%s\n", *name); in print_ip_sym()
|
/linux-5.19.10/tools/testing/selftests/perf_events/ |
D | remove_on_exec.c | 141 ASSERT_NE(dup2(pipefd[1], STDOUT_FILENO), -1); in TEST_F() 242 if (write(STDOUT_FILENO, &val, sizeof(int)) == -1) in exec_child()
|
/linux-5.19.10/tools/testing/selftests/splice/ |
D | splice_read.c | 48 spliced = splice(fd, NULL, STDOUT_FILENO, NULL, in main()
|
/linux-5.19.10/tools/testing/selftests/bpf/prog_tests/ |
D | test_bprm_opts.c | 49 dup2(null_fd, STDOUT_FILENO); in run_set_secureexec()
|
D | test_local_storage.c | 44 dup2(null_fd, STDOUT_FILENO); in run_self_unlink()
|
/linux-5.19.10/samples/pidfd/ |
D | pidfd-metadata.c | 112 bytes = write(STDOUT_FILENO, buf, bytes); in main()
|
/linux-5.19.10/tools/perf/tests/ |
D | builtin-test.c | 206 close(STDOUT_FILENO); in run_test() 208 dup2(nullfd, STDOUT_FILENO); in run_test() 209 dup2(STDOUT_FILENO, STDERR_FILENO); in run_test()
|
/linux-5.19.10/tools/perf/util/ |
D | trace-event-read.c | 37 int retw = write(STDOUT_FILENO, buf, ret); in __do_read() 120 int retw = write(STDOUT_FILENO, &c, 1); in read_string()
|
D | data.c | 171 STDIN_FILENO : STDOUT_FILENO; in check_pipe()
|
D | header.c | 4434 int retw = write(STDOUT_FILENO, buf, padding); in perf_event__process_tracing_data()
|
/linux-5.19.10/tools/perf/ui/tui/ |
D | setup.c | 110 backtrace_symbols_fd(stackdump, size, STDOUT_FILENO); in ui__signal_backtrace()
|
/linux-5.19.10/tools/virtio/virtio-trace/ |
D | trace-agent-rw.c | 65 rw_ti->out_fd = STDOUT_FILENO; in rw_thread_init()
|
/linux-5.19.10/tools/testing/selftests/filesystems/ |
D | devpts_pts.c | 35 if (!terminal_dup2(fd, (int[]){STDIN_FILENO, STDOUT_FILENO, in terminal_set_stdfds()
|
/linux-5.19.10/tools/thermal/tmon/ |
D | tmon.c | 366 close(STDOUT_FILENO); in start_daemon_mode()
|
/linux-5.19.10/tools/testing/selftests/arm64/pauth/ |
D | pac.c | 137 dup2(new_stdout[1], STDOUT_FILENO); in exec_sign_all()
|
/linux-5.19.10/tools/perf/bench/ |
D | inject-buildid.c | 304 dup2(data->output_pipe[1], STDOUT_FILENO); in setup_injection()
|
/linux-5.19.10/tools/testing/selftests/resctrl/ |
D | resctrlfs.c | 682 dup2(pipefds[1], STDOUT_FILENO); in filter_dmesg()
|