/linux-6.12.1/tools/testing/selftests/filesystems/ |
D | devpts_pts.c | 35 if (!terminal_dup2(fd, (int[]){STDIN_FILENO, STDOUT_FILENO, in terminal_set_stdfds() 151 ret = resolve_procfd_symlink(STDIN_FILENO, buf, sizeof(buf)); in do_tiocgptpeer() 162 STDIN_FILENO, buf); in do_tiocgptpeer() 167 "symlink are valid: %s\n", STDIN_FILENO, buf); in do_tiocgptpeer() 284 if (!isatty(STDIN_FILENO)) { in main()
|
/linux-6.12.1/samples/uhid/ |
D | uhid-example.c | 306 ret = read(STDIN_FILENO, buf, sizeof(buf)); in keyboard() 395 ret = tcgetattr(STDIN_FILENO, &state); in main() 401 ret = tcsetattr(STDIN_FILENO, TCSANOW, &state); in main() 429 pfds[0].fd = STDIN_FILENO; in main()
|
/linux-6.12.1/tools/power/acpi/tools/acpidbg/ |
D | acpidbg.c | 290 maxfd = acpi_aml_set_fd(STDIN_FILENO, maxfd, &rfds); in acpi_aml_loop() 293 ACPI_AML_BATCH_DO(STDIN_FILENO, read, cmd, ret); in acpi_aml_loop() 312 if (FD_ISSET(STDIN_FILENO, &rfds)) in acpi_aml_loop() 313 ACPI_AML_DO(STDIN_FILENO, read, cmd, ret); in acpi_aml_loop() 428 acpi_aml_set_fl(STDIN_FILENO, O_NONBLOCK); in main()
|
/linux-6.12.1/samples/seccomp/ |
D | bpf-fancy.c | 46 JNE(STDIN_FILENO, DENY), in main() 98 bytes = syscall(__NR_read, STDIN_FILENO, buf, sizeof(buf)-1); in main()
|
D | bpf-direct.c | 132 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, STDIN_FILENO, 4, 0), in install_filter() 174 bytes = syscall(__NR_read, STDIN_FILENO, buf, sizeof(buf)); in main()
|
/linux-6.12.1/tools/firewire/ |
D | nosy-dump.c | 869 tcsetattr(STDIN_FILENO, TCSANOW, &saved_attributes); in reset_input_mode() 878 if (!isatty(STDIN_FILENO)) { in set_input_mode() 884 tcgetattr(STDIN_FILENO, &saved_attributes); in set_input_mode() 888 tcgetattr(STDIN_FILENO, &tattr); in set_input_mode() 892 tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr); in set_input_mode() 970 pollfds[1].fd = STDIN_FILENO; in main() 981 read(STDIN_FILENO, &c, sizeof c); in main()
|
/linux-6.12.1/tools/power/acpi/os_specific/service_layers/ |
D | osunixxf.c | 92 if (!isatty(STDIN_FILENO)) { in os_enter_line_edit_mode() 98 if (tcgetattr(STDIN_FILENO, &original_term_attributes)) { in os_enter_line_edit_mode() 112 if (tcsetattr(STDIN_FILENO, TCSANOW, &local_term_attributes)) { in os_enter_line_edit_mode() 129 if (tcsetattr(STDIN_FILENO, TCSANOW, &original_term_attributes)) { in os_exit_line_edit_mode()
|
/linux-6.12.1/tools/include/nolibc/ |
D | unistd.h | 16 #define STDIN_FILENO 0 macro
|
D | stdio.h | 37 static __attribute__((unused)) FILE* const stdin = (FILE*)(intptr_t)~STDIN_FILENO;
|
/linux-6.12.1/Documentation/usb/ |
D | gadget_hid.rst | 401 FD_SET(STDIN_FILENO, &rfds); 420 if (FD_ISSET(STDIN_FILENO, &rfds)) { 422 cmd_len = read(STDIN_FILENO, buf, BUF_LEN - 1);
|
/linux-6.12.1/tools/thermal/tmon/ |
D | tmon.c | 365 close(STDIN_FILENO); in start_daemon_mode()
|
/linux-6.12.1/tools/testing/selftests/arm64/pauth/ |
D | pac.c | 131 dup2(new_stdin[0], STDIN_FILENO); in exec_sign_all()
|
/linux-6.12.1/tools/perf/bench/ |
D | inject-buildid.c | 303 dup2(data->input_pipe[0], STDIN_FILENO); in setup_injection()
|
/linux-6.12.1/tools/perf/ |
D | builtin-mem.c | 531 if (!fstat(STDIN_FILENO, &st) && S_ISFIFO(st.st_mode)) in cmd_mem()
|
D | builtin-report.c | 1548 if (!fstat(STDIN_FILENO, &st) && S_ISFIFO(st.st_mode)) in cmd_report()
|
D | builtin-stat.c | 2311 if (!fstat(STDIN_FILENO, &st) && S_ISFIFO(st.st_mode)) in __cmd_report()
|
/linux-6.12.1/tools/perf/util/ |
D | data.c | 186 STDIN_FILENO : STDOUT_FILENO; in check_pipe()
|