Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/x86/
H A Dtest_syscall_vdso.c188 FD_SET(0, &rfds); in prep_args()
189 FD_SET(1, &wfds); in prep_args()
190 FD_SET(2, &efds); in prep_args()
/linux/tools/lib/subcmd/
H A Dpager.c44 FD_SET(0, &in); in pager_preexec()
45 FD_SET(0, &exception); in pager_preexec()
/linux/tools/testing/selftests/rtc/
H A Drtctest.c209 FD_SET(self->fd, &readfds); in TEST_F()
274 FD_SET(self->fd, &readfds); in TEST_F()
343 FD_SET(self->fd, &readfds); in TEST_F()
404 FD_SET(self->fd, &readfds);
471 FD_SET(self->fd, &readfds);
/linux/tools/perf/ui/tui/
H A Dsetup.c66 FD_SET(0, &read_set); in ui__getch()
89 FD_SET(0, &read_set); in ui__getch()
/linux/tools/testing/selftests/net/tcp_ao/
H A Drst.c204 FD_SET(sk[i], &left); in test_wait_fds()
226 FD_SET(sk[i], &fds); in test_wait_fds()
227 FD_SET(sk[i], &efds); in test_wait_fds()
/linux/tools/usb/ffs-aio-example/simple/device_app/
H A Daio_simple.c299 FD_SET(ep0, &rfds); in main()
300 FD_SET(evfd, &rfds); in main()
/linux/tools/usb/ffs-aio-example/multibuff/device_app/
H A Daio_multibuff.c304 FD_SET(ep0, &rfds); in main()
305 FD_SET(evfd, &rfds); in main()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dlwt_helpers.h82 FD_SET(fd, &fds); in wait_for_packet()
H A Dsocket_helpers.h279 FD_SET(fd, &wfds); in poll_connect()
304 FD_SET(fd, &rfds); in poll_read()
H A Dtc_redirect.c1195 FD_SET(src_fd, &rfds); in tun_relay_loop()
1196 FD_SET(target_fd, &rfds); in tun_relay_loop()
/linux/tools/include/nolibc/sys/
H A Dselect.h32 #define FD_SET(fd, set) do { \ macro
/linux/tools/testing/selftests/net/
H A Dtimestamping.c517 FD_SET(sock, &readfs); in main()
518 FD_SET(sock, &errorfs); in main()
H A Dnettest.c1278 FD_SET(sd, &rfds); in msg_loop()
1280 FD_SET(fileno(stdin), &rfds); in msg_loop()
1620 FD_SET(lsd, &rfds); in do_server()
1676 FD_SET(sd, &wfd); in wait_for_connect()
H A Dtun.c1049 FD_SET(tun_fd, &fdset); in receive_gso_packet_from_tun()
/linux/tools/testing/selftests/bpf/
H A Dtest_sockmap.c638 FD_SET(fd, &w); in msg_loop()
655 FD_SET(fd, &w); in msg_loop()
881 FD_SET(c1, &w); in forever_ping_pong()
882 FD_SET(c2, &w); in forever_ping_pong()
883 FD_SET(p1, &w); in forever_ping_pong()
884 FD_SET(p2, &w); in forever_ping_pong()
H A Dnetwork_helpers.c1045 FD_SET(fd, &fds); in traffic_monitor_thread()
1046 FD_SET(wake_fd, &fds); in traffic_monitor_thread()
/linux/Documentation/userspace-api/media/v4l/
H A Dv4l2grab.c.rst131 FD_SET(fd, &fds);
H A Dcapture.c.rst190 FD_SET(fd, &fds);
/linux/tools/testing/selftests/net/can/
H A Dtest_raw_filter.c361 FD_SET(self->sock, &rdfs); in TEST_F()
/linux/Documentation/usb/
H A Dgadget_hid.rst401 FD_SET(STDIN_FILENO, &rfds);
402 FD_SET(fd, &rfds);
/linux/tools/testing/selftests/net/tcp_ao/lib/
H A Dsock.c44 FD_SET(sk, &fds); in __test_wait_fd()
46 FD_SET(sk, &efds); in __test_wait_fd()
/linux/samples/mei/
H A Dmei-amt-version.c167 FD_SET(me->fd, &set); in mei_recv_msg()
/linux/tools/power/acpi/tools/acpidbg/
H A Dacpidbg.c119 FD_SET(fd, set); in acpi_aml_set_fd()
/linux/tools/accounting/
H A Ddelaytop.c1006 FD_SET(STDIN_FILENO, &readfds); in check_for_keypress()
/linux/tools/testing/selftests/nolibc/
H A Dnolibc-test.c1800 …CASE_TEST(select_stdout); EXPECT_SYSNE(1, ({ fd_set fds; FD_ZERO(&fds); FD_SET(1, &fds); selec… in run_syscall()
1898 FD_SET(fd, &set); in test_fd_set()

12