Home | History | Annotate | Download | only in dns

Lines Matching defs:fds

54     struct pollfd fds = { .fd = fd, .events = POLLIN };
55 const int ret = TEMP_FAILURE_RETRY(poll(&fds, 1, -1));
60 struct pollfd fds = { .fd = fd, .events = POLLOUT };
61 const int ret = TEMP_FAILURE_RETRY(poll(&fds, 1, -1));
349 // poll() ignores negative fds
350 struct pollfd fds[2] = { { .fd = -1 }, { .fd = -1 } };
354 fds[SSLFD].fd = mSslFd.get();
355 fds[SSLFD].events = POLLIN;
360 fds[SSLFD].events |= POLLOUT;
362 fds[IPCFD].fd = mIpcOutFd.get();
363 fds[IPCFD].events = POLLIN;
366 const int s = TEMP_FAILURE_RETRY(poll(fds, ARRAY_SIZE(fds), timeout_msecs));
375 if (fds[SSLFD].revents & (POLLIN | POLLERR)) {
381 if (fds[IPCFD].revents & (POLLIN | POLLERR)) {
393 } else if (fds[SSLFD].revents & POLLOUT) {