Lines Matching defs:fds
200 struct pollfd fds[1] = {};
206 fds[0].fd = enclave_fd;
207 fds[0].events = POLLIN | POLLERR | POLLHUP;
213 rc = poll(fds, 1, NE_POLL_WAIT_TIME_MS);
229 printf("Poll received value 0x%x\n", fds[0].revents);
231 if (fds[0].revents & POLLHUP) {
237 if (fds[0].revents & POLLNVAL) {
657 struct pollfd fds[1] = {};
697 fds[0].fd = server_vsock_fd;
698 fds[0].events = POLLIN;
700 rc = poll(fds, 1, NE_POLL_WAIT_TIME_MS);
715 if ((fds[0].revents & POLLIN) == 0) {
716 printf("Poll received value %d\n", fds[0].revents);