/linux-master/tools/include/linux/ |
H A D | kallsyms.h | 29 dprintf(STDOUT_FILENO, "%s\n", *name);
|
/linux-master/samples/seccomp/ |
H A D | bpf-direct.c | 83 if (write(STDOUT_FILENO, "[ERR] ", 6) > 0) { 84 bytes = write(STDOUT_FILENO, buf, len); 137 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, STDOUT_FILENO, 1, 0), 172 syscall(__NR_write, STDOUT_FILENO, 175 syscall(__NR_write, STDOUT_FILENO, payload("HELLO, ")); 176 syscall(__NR_write, STDOUT_FILENO, buf, bytes);
|
H A D | bpf-fancy.c | 55 JEQ(STDOUT_FILENO, JUMP(&l, write_buf)), 97 syscall(__NR_write, STDOUT_FILENO, msg1, strlen(msg1));
|
/linux-master/tools/testing/selftests/size/ |
H A D | get_size.c | 33 #define STDOUT_FILENO 1 macro 42 return syscall(SYS_write, STDOUT_FILENO, s, len);
|
/linux-master/tools/testing/selftests/splice/ |
H A D | splice_read.c | 48 spliced = splice(fd, NULL, STDOUT_FILENO, NULL,
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | test_bprm_opts.c | 41 dup2(null_fd, STDOUT_FILENO);
|
H A D | test_local_storage.c | 34 dup2(null_fd, STDOUT_FILENO);
|
/linux-master/tools/include/nolibc/ |
H A D | unistd.h | 17 #define STDOUT_FILENO 1 macro
|
H A D | stdio.h | 38 static __attribute__((unused)) FILE* const stdout = (FILE*)(intptr_t)~STDOUT_FILENO;
|
/linux-master/tools/testing/selftests/powerpc/dexcr/ |
H A D | hashchk_test.c | 106 count = write(STDOUT_FILENO, hash_values, sizeof(hash_values)); 130 if (dup2(pipefd[1], STDOUT_FILENO) == -1)
|
/linux-master/tools/power/acpi/tools/acpidbg/ |
H A D | acpidbg.c | 304 maxfd = acpi_aml_set_fd(STDOUT_FILENO, maxfd, &wfds); 326 if (FD_ISSET(STDOUT_FILENO, &wfds)) { 328 ACPI_AML_BATCH_DO(STDOUT_FILENO, write, log, ret); 330 ACPI_AML_DO(STDOUT_FILENO, write, log, ret); 429 acpi_aml_set_fl(STDOUT_FILENO, O_NONBLOCK);
|
/linux-master/tools/virtio/virtio-trace/ |
H A D | trace-agent-rw.c | 65 rw_ti->out_fd = STDOUT_FILENO;
|
/linux-master/samples/pidfd/ |
H A D | pidfd-metadata.c | 112 bytes = write(STDOUT_FILENO, buf, bytes);
|
/linux-master/tools/perf/ui/tui/ |
H A D | setup.c | 111 backtrace_symbols_fd(stackdump, size, STDOUT_FILENO);
|
/linux-master/tools/testing/selftests/perf_events/ |
H A D | remove_on_exec.c | 141 ASSERT_NE(dup2(pipefd[1], STDOUT_FILENO), -1); 242 if (write(STDOUT_FILENO, &val, sizeof(int)) == -1)
|
/linux-master/tools/perf/util/ |
H A D | trace-event-read.c | 39 int retw = write(STDOUT_FILENO, buf, ret); 122 int retw = write(STDOUT_FILENO, &c, 1);
|
H A D | data.c | 186 STDIN_FILENO : STDOUT_FILENO;
|
H A D | header.c | 4526 int retw = write(STDOUT_FILENO, buf, padding);
|
/linux-master/tools/testing/selftests/filesystems/ |
H A D | devpts_pts.c | 35 if (!terminal_dup2(fd, (int[]){STDIN_FILENO, STDOUT_FILENO,
|
/linux-master/tools/thermal/tmon/ |
H A D | tmon.c | 366 close(STDOUT_FILENO);
|
/linux-master/tools/testing/selftests/arm64/pauth/ |
H A D | pac.c | 137 dup2(new_stdout[1], STDOUT_FILENO);
|
/linux-master/tools/perf/bench/ |
H A D | inject-buildid.c | 305 dup2(data->output_pipe[1], STDOUT_FILENO);
|
/linux-master/tools/testing/selftests/resctrl/ |
H A D | resctrlfs.c | 814 dup2(pipefds[1], STDOUT_FILENO);
|
/linux-master/tools/testing/selftests/nolibc/ |
H A D | nolibc-test.c | 1197 close(STDOUT_FILENO);
|