Searched refs:poll_fds (Results 1 – 2 of 2) sorted by relevance
153 struct pollfd poll_fds[kMaxClientSockets]; in ProcessMessages() local154 memset(poll_fds, 0, sizeof(poll_fds)); in ProcessMessages()155 poll_fds[0].fd = control_socket_fd; in ProcessMessages()156 poll_fds[0].events = POLLIN; in ProcessMessages()157 poll_fds[0].revents = 0; in ProcessMessages()159 while (TEMP_FAILURE_RETRY(poll(poll_fds, poll_fds_count, -1)) >= 0) { in ProcessMessages()160 if (poll_fds[0].revents & POLLIN) { in ProcessMessages()170 poll_fds[poll_fds_count].fd = client_socket; in ProcessMessages()171 poll_fds[poll_fds_count].events = POLLIN; in ProcessMessages()172 poll_fds[poll_fds_count].revents = 0; in ProcessMessages()[all …]
296 struct pollfd poll_fds[] = { in parent() local350 if (TEMP_FAILURE_RETRY(poll(poll_fds, ARRAY_SIZE(poll_fds), -1)) < 0) { in parent()356 if (poll_fds[0].revents & POLLIN) { in parent()399 if (poll_fds[0].revents & POLLHUP) { in parent()