/external/libnl/src/ |
D | nf-queue.c | 124 fd_set rfds; in main() local 127 FD_ZERO(&rfds); in main() 130 FD_SET(nffd, &rfds); in main() 133 FD_SET(rtfd, &rfds); in main() 138 retval = select(maxfd+1, &rfds, NULL, NULL, NULL); in main() 141 if (FD_ISSET(nffd, &rfds)) in main() 143 if (FD_ISSET(rtfd, &rfds)) in main()
|
D | nf-log.c | 122 fd_set rfds; in main() local 125 FD_ZERO(&rfds); in main() 128 FD_SET(nffd, &rfds); in main() 131 FD_SET(rtfd, &rfds); in main() 136 retval = select(maxfd+1, &rfds, NULL, NULL, NULL); in main() 139 if (FD_ISSET(nffd, &rfds)) in main() 141 if (FD_ISSET(rtfd, &rfds)) in main()
|
D | nf-monitor.c | 88 fd_set rfds; in main() local 93 FD_ZERO(&rfds); in main() 94 FD_SET(fd, &rfds); in main() 96 retval = select(fd+1, &rfds, NULL, NULL, NULL); in main()
|
D | nl-monitor.c | 98 fd_set rfds; in main() local 103 FD_ZERO(&rfds); in main() 104 FD_SET(fd, &rfds); in main() 106 retval = select(fd+1, &rfds, NULL, NULL, NULL); in main()
|
/external/ltp/testcases/kernel/device-drivers/rtc/ |
D | rtc01.c | 64 fd_set rfds; in read_alarm_test() local 134 FD_ZERO(&rfds); in read_alarm_test() 135 FD_SET(rtc_fd, &rfds); in read_alarm_test() 137 ret = select(rtc_fd + 1, &rfds, NULL, NULL, &tv); /*wait for alarm */ in read_alarm_test() 172 fd_set rfds; in update_interrupts_test() local 192 FD_ZERO(&rfds); in update_interrupts_test() 193 FD_SET(rtc_fd, &rfds); in update_interrupts_test() 195 ret = select(rtc_fd + 1, &rfds, NULL, NULL, &tv); in update_interrupts_test()
|
/external/ltp/testcases/open_posix_testsuite/include/ |
D | mq_send.h | 50 fd_set rfds; in sync_pipe_wait_select() local 62 FD_ZERO(&rfds); in sync_pipe_wait_select() 63 FD_SET(fd[0], &rfds); in sync_pipe_wait_select() 65 r = select(fd[0] + 1, &rfds, NULL, NULL, &tv); in sync_pipe_wait_select() 68 if (FD_ISSET(fd[0], &rfds)) { in sync_pipe_wait_select()
|
/external/ltp/testcases/kernel/syscalls/personality/ |
D | personality02.c | 35 fd_set rfds; in verify_personality() local 37 FD_ZERO(&rfds); in verify_personality() 38 FD_SET(1, &rfds); in verify_personality() 41 ret = select(2, &rfds, NULL, NULL, &tv); in verify_personality()
|
/external/strace/tests-m32/ |
D | readv.test | 49 rfds='!!!0' 53 rfds="$rfds,$i" 66 -eread="$rfds" -ewrite="$wfds"
|
/external/strace/tests-mx32/ |
D | readv.test | 49 rfds='!!!0' 53 rfds="$rfds,$i" 66 -eread="$rfds" -ewrite="$wfds"
|
/external/strace/tests/ |
D | readv.test | 49 rfds='!!!0' 53 rfds="$rfds,$i" 66 -eread="$rfds" -ewrite="$wfds"
|
/external/syslinux/gpxe/src/drivers/net/ |
D | eepro100.c | 375 if ( priv->rfds[0] != NULL ) { in ifec_net_open() 376 ifec_scb_cmd ( netdev, virt_to_bus( priv->rfds[0] ), RUStart ); in ifec_net_open() 747 priv->rfds[i] = NULL; in ifec_free() 787 if ( priv->rfds[cur_rx] != NULL ) { in ifec_reprime_ru() 788 ifec_scb_cmd ( netdev, virt_to_bus ( priv->rfds[cur_rx] ), in ifec_reprime_ru() 843 struct ifec_rfd *rfd = priv->rfds[cur_rx]; in ifec_rx_process() 870 priv->rfds[cur_rx] = NULL; in ifec_rx_process() 876 rfd = priv->rfds[cur_rx]; in ifec_rx_process() 896 struct ifec_rfd *rfd = priv->rfds[cur]; in ifec_get_rx_desc() 903 priv->rfds[cur] = NULL; in ifec_get_rx_desc() [all …]
|
/external/ipsec-tools/src/racoon/ |
D | session.c | 119 fd_set rfds; in session() local 182 rfds = maskdying; in session() 184 rfds = mask0; in session() 195 error = select(nfds, &rfds, (fd_set *)0, (fd_set *)0, timeout); in session() 211 (FD_ISSET(lcconf->sock_admin, &rfds))) in session() 218 if (FD_ISSET(p->sock, &rfds)) in session() 222 if (FD_ISSET(lcconf->sock_pfkey, &rfds)) in session() 225 if (lcconf->rtsock >= 0 && FD_ISSET(lcconf->rtsock, &rfds)) { in session()
|
D | schedule.c | 334 fd_set rfds; in main() local 346 rfds = mask0; in main() 350 error = select(nfds, &rfds, (fd_set *)0, (fd_set *)0, timeout); in main() 360 if (FD_ISSET(0, &rfds)) in main()
|
/external/python/cpython2/Modules/_multiprocessing/ |
D | socket_connection.c | 226 fd_set rfds; in conn_poll() 240 FD_ZERO(&rfds); in conn_poll() 241 FD_SET((SOCKET)conn->handle, &rfds); in conn_poll() 245 res = select((int)conn->handle+1, &rfds, NULL, NULL, NULL); in conn_poll() 251 res = select((int)conn->handle+1, &rfds, NULL, NULL, &tv); in conn_poll() 261 } else if (FD_ISSET(conn->handle, &rfds)) { in conn_poll()
|
/external/ltp/testcases/kernel/syscalls/connect/ |
D | connect01.c | 271 fd_set afds, rfds; in do_child() local 284 memcpy(&rfds, &afds, sizeof(rfds)); in do_child() 286 if (select(nfds, &rfds, NULL, NULL, in do_child() 290 if (FD_ISSET(sfd, &rfds)) { in do_child() 301 if (fd != sfd && FD_ISSET(fd, &rfds)) { in do_child()
|
/external/ltp/testcases/kernel/syscalls/recv/ |
D | recv01.c | 268 fd_set afds, rfds; in do_child() local 280 memcpy(&rfds, &afds, sizeof(rfds)); in do_child() 282 if (select(nfds, &rfds, NULL, NULL, in do_child() 286 if (FD_ISSET(sfd, &rfds)) { in do_child() 299 if (fd != sfd && FD_ISSET(fd, &rfds)) { in do_child()
|
/external/ltp/testcases/kernel/syscalls/send/ |
D | send01.c | 210 fd_set afds, rfds; in do_child() local 223 memcpy(&rfds, &afds, sizeof(rfds)); in do_child() 225 if (select(nfds, &rfds, NULL, NULL, NULL) < 0) in do_child() 228 if (FD_ISSET(sfd, &rfds)) { in do_child() 239 if (fd != sfd && FD_ISSET(fd, &rfds)) { in do_child()
|
/external/ltp/testcases/kernel/syscalls/recvfrom/ |
D | recvfrom01.c | 297 fd_set afds, rfds; in do_child() local 309 memcpy(&rfds, &afds, sizeof(rfds)); in do_child() 311 if (select(nfds, &rfds, NULL, NULL, in do_child() 315 if (FD_ISSET(sfd, &rfds)) { in do_child() 328 if (fd != sfd && FD_ISSET(fd, &rfds)) { in do_child()
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_ctrl.c | 493 fd_set rfds; in wpa_ctrl_request() local 550 FD_ZERO(&rfds); in wpa_ctrl_request() 551 FD_SET(ctrl->s, &rfds); in wpa_ctrl_request() 552 res = select(ctrl->s + 1, &rfds, NULL, NULL, &tv); in wpa_ctrl_request() 557 if (FD_ISSET(ctrl->s, &rfds)) { in wpa_ctrl_request() 632 fd_set rfds; in wpa_ctrl_pending() local 635 FD_ZERO(&rfds); in wpa_ctrl_pending() 636 FD_SET(ctrl->s, &rfds); in wpa_ctrl_pending() 637 select(ctrl->s + 1, &rfds, NULL, NULL, &tv); in wpa_ctrl_pending() 638 return FD_ISSET(ctrl->s, &rfds); in wpa_ctrl_pending()
|
/external/ltp/testcases/kernel/syscalls/sendto/ |
D | sendto01.c | 281 fd_set afds, rfds; in do_child() local 293 memcpy(&rfds, &afds, sizeof(rfds)); in do_child() 295 if (select(nfds, &rfds, NULL, NULL, NULL) < 0 && errno != EINTR) in do_child() 298 if (FD_ISSET(sfd, &rfds)) { in do_child() 309 if (fd != sfd && FD_ISSET(fd, &rfds)) { in do_child()
|
/external/ltp/testcases/kernel/syscalls/recvmsg/ |
D | recvmsg01.c | 433 fd_set afds, rfds; in do_child() local 446 memcpy(&rfds, &afds, sizeof(rfds)); in do_child() 448 if (select(nfds, &rfds, NULL, NULL, in do_child() 456 if (FD_ISSET(sfd, &rfds)) { in do_child() 468 if (FD_ISSET(ufd, &rfds)) { in do_child() 479 if (fd != sfd && fd != ufd && FD_ISSET(fd, &rfds)) { in do_child()
|
/external/wpa_supplicant_8/src/l2_packet/ |
D | l2_packet_privsep.c | 140 fd_set rfds; in l2_packet_init() local 191 FD_ZERO(&rfds); in l2_packet_init() 192 FD_SET(l2->fd, &rfds); in l2_packet_init() 195 res = select(l2->fd + 1, &rfds, NULL, NULL, &tv); in l2_packet_init() 201 if (FD_ISSET(l2->fd, &rfds)) { in l2_packet_init()
|
/external/ltp/testcases/network/lib6/ |
D | asapi_03.c | 298 fd_set rfds, rfds_saved; in so_test() local 314 memcpy(&rfds, &rfds_saved, sizeof(rfds)); in so_test() 315 nfds = select(sr + 1, &rfds, 0, 0, &tv); in so_test() 328 if (!FD_ISSET(sr, &rfds)) in so_test()
|
/external/python/cpython2/Lib/ |
D | pty.py | 147 rfds, wfds, xfds = select(fds, [], []) 148 if master_fd in rfds: 154 if STDIN_FILENO in rfds:
|
/external/toybox/toys/pending/ |
D | syslogd.c | 411 fd_set rfds; // fds for reading in syslogd_main() local 486 FD_ZERO(&rfds); in syslogd_main() 487 for (tsd = TT.lsocks; tsd; tsd = tsd->next) FD_SET(tsd->sd, &rfds); in syslogd_main() 488 FD_SET(TT.sigfd[0], &rfds); in syslogd_main() 492 retval = select(TT.sigfd[0] + 1, &rfds, NULL, NULL, (TT.interval)?&tv:NULL); in syslogd_main() 497 else if (FD_ISSET(TT.sigfd[0], &rfds)) { /* May be a signal */ in syslogd_main() 527 if (FD_ISSET(sd, &rfds)) { in syslogd_main()
|