Lines Matching refs:rfd
164 static int poll_two_fds(int rfd, int rfd_want_read, in poll_two_fds() argument
180 if (rfd >= FD_SETSIZE || wfd >= FD_SETSIZE) in poll_two_fds()
188 if (rfd != -1 && rfd_want_read) in poll_two_fds()
189 openssl_fdset(rfd, &rfd_set); in poll_two_fds()
194 if (rfd != -1) in poll_two_fds()
195 openssl_fdset(rfd, &efd_set); in poll_two_fds()
199 maxfd = rfd; in poll_two_fds()
203 if (!ossl_assert(rfd != -1 || wfd != -1 in poll_two_fds()
247 if (rfd == wfd) { in poll_two_fds()
248 pfds[npfd].fd = rfd; in poll_two_fds()
251 if (rfd >= 0 && pfds[npfd].events != 0) in poll_two_fds()
254 pfds[npfd].fd = rfd; in poll_two_fds()
256 if (rfd >= 0 && pfds[npfd].events != 0) in poll_two_fds()
326 int rfd, wfd; in poll_two_descriptors() local
328 if (!poll_descriptor_to_fd(r, &rfd) in poll_two_descriptors()
332 return poll_two_fds(rfd, r_want_read, wfd, w_want_write, deadline, mutex); in poll_two_descriptors()