Lines Matching defs:fds
199 struct pollfd fds[1] = {};
205 fds[0].fd = enclave_fd;
206 fds[0].events = POLLIN | POLLERR | POLLHUP;
212 rc = poll(fds, 1, NE_POLL_WAIT_TIME_MS);
228 printf("Poll received value 0x%x\n", fds[0].revents);
230 if (fds[0].revents & POLLHUP) {
236 if (fds[0].revents & POLLNVAL) {
656 struct pollfd fds[1] = {};
696 fds[0].fd = server_vsock_fd;
697 fds[0].events = POLLIN;
699 rc = poll(fds, 1, NE_POLL_WAIT_TIME_MS);
714 if ((fds[0].revents & POLLIN) == 0) {
715 printf("Poll received value %d\n", fds[0].revents);