Lines Matching refs:fds
510 struct pollfd fds; in connect_timeout() local
526 fds.fd = sockfd; in connect_timeout()
527 fds.events = POLLOUT; in connect_timeout()
529 fds.revents = 0; in connect_timeout()
530 rc = poll(&fds, 1, timeout * 1000); in connect_timeout()
540 if (fds.revents) { in connect_timeout()
558 struct pollfd fds; in send_timeout() local
561 fds.fd = fd; in send_timeout()
562 fds.events = POLLOUT; in send_timeout()
565 fds.revents = 0; in send_timeout()
566 rc = poll(&fds, 1, timeout * 1000); in send_timeout()
576 if (!fds.revents) { in send_timeout()
607 struct pollfd fds; in recv_timeout() local
610 fds.fd = fd; in recv_timeout()
611 fds.events = POLLIN; in recv_timeout()
614 fds.revents = 0; in recv_timeout()
615 rc = poll(&fds, 1, timeout * 1000); in recv_timeout()
626 if (!fds.revents) { in recv_timeout()
955 struct pollfd fds[2]; in recv_record() local
957 struct pollfd *pipe_fd = &fds[0]; in recv_record()
958 struct pollfd *recv_fd = &fds[1]; in recv_record()
992 rc = poll(fds, fds_cnt, -1); in recv_record()