Home
last modified time | relevance | path

Searched refs:wfds (Results 1 – 5 of 5) sorted by relevance

/linux/tools/power/acpi/tools/acpidbg/
H A Dacpidbg.c268 fd_set wfds; in acpi_aml_loop() local
286 FD_ZERO(&wfds); in acpi_aml_loop()
298 maxfd = acpi_aml_set_fd(fd, maxfd, &wfds); in acpi_aml_loop()
304 maxfd = acpi_aml_set_fd(STDOUT_FILENO, maxfd, &wfds); in acpi_aml_loop()
306 ret = select(maxfd+1, &rfds, &wfds, NULL, &tv); in acpi_aml_loop()
314 if (FD_ISSET(fd, &wfds)) { in acpi_aml_loop()
326 if (FD_ISSET(STDOUT_FILENO, &wfds)) { in acpi_aml_loop()
/linux/tools/testing/selftests/x86/
H A Dtest_syscall_vdso.c173 fd_set wfds; variable
186 FD_ZERO(&wfds); in prep_args()
189 FD_SET(1, &wfds); in prep_args()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsocket_helpers.h256 fd_set wfds; in poll_connect() local
260 FD_ZERO(&wfds); in poll_connect()
261 FD_SET(fd, &wfds); in poll_connect()
263 r = select(fd + 1, NULL, &wfds, NULL, &timeout); in poll_connect()
H A Dtc_redirect.c1118 fd_set rfds, wfds; in tun_relay_loop() local
1121 FD_ZERO(&wfds); in tun_relay_loop()
/linux/tools/include/nolibc/
H A Dsys.h963 int sys_select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeout) in sys_select() argument
970 } arg = { .n = nfds, .r = rfds, .w = wfds, .e = efds, .t = timeout }; in sys_select()
973 return my_syscall5(__NR__newselect, nfds, rfds, wfds, efds, timeout); in sys_select()
975 return my_syscall5(__NR_select, nfds, rfds, wfds, efds, timeout); in sys_select()
983 return my_syscall6(__NR_pselect6, nfds, rfds, wfds, efds, timeout ? &t : NULL, NULL); in sys_select()
985 return __nolibc_enosys(__func__, nfds, rfds, wfds, efds, timeout); in sys_select()
990 int select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeout) in select() argument
992 return __sysret(sys_select(nfds, rfds, wfds, efds, timeout)); in select()