Searched refs:poll_fds (Results 1 – 5 of 5) sorted by relevance
69 struct pollfd *poll_fds = NULL; variable164 if (poll_fds != NULL) { in poll_fini()165 free(poll_fds); in poll_fini()166 poll_fds = NULL; in poll_fini()176 if (poll_fds[n].fd == fd) in find_pollfd()177 return (&(poll_fds[n])); in find_pollfd()190 if ((p = realloc(poll_fds, in set_pollfd()195 poll_fds = p; in set_pollfd()198 poll_fds[num_pollfds + i].fd = -1; in set_pollfd()200 p = &poll_fds[num_pollfds]; in set_pollfd()
243 extern struct pollfd *poll_fds;
3511 pret = poll(poll_fds, num_pollfds, timeout); in event_loop()
89 int poll_fds[FILE_COUNT]; in main() local91 if (find_test_files(FILE_SRC, FILE_COUNT, poll_fds) != FILE_COUNT) { in main()105 (uintptr_t)poll_fds[j], POLLIN, NULL); in main()113 (uintptr_t)poll_fds[j]); in main()
533 static struct pollfd poll_fds[1]; variable872 ret = poll(poll_fds, poll_nfds, in main()876 contract_event(&poll_fds[0]); in main()4170 poll_fds[0].fd = fd; in contracts_init()4171 poll_fds[0].events = POLLIN; in contracts_init()