Lines Matching defs:fds
506 struct pollfd fds;
523 fds.fd = sockfd;
524 fds.events = POLLOUT;
526 fds.revents = 0;
527 rc = poll(&fds, 1, timeout * 1000);
537 if (fds.revents) {
555 struct pollfd fds;
558 fds.fd = fd;
559 fds.events = POLLOUT;
562 fds.revents = 0;
563 rc = poll(&fds, 1, timeout * 1000);
573 if (!fds.revents) {
604 struct pollfd fds;
607 fds.fd = fd;
608 fds.events = POLLIN;
611 fds.revents = 0;
612 rc = poll(&fds, 1, timeout * 1000);
623 if (!fds.revents) {
953 struct pollfd fds[2];
955 struct pollfd *pipe_fd = &fds[0];
956 struct pollfd *recv_fd = &fds[1];
991 rc = poll(fds, fds_cnt, -1);
1036 default: /* add rc_pipe to the fds */