Searched refs:poll_fds (Results 1 – 6 of 6) sorted by relevance
71 struct pollfd *poll_fds = NULL; variable166 if (poll_fds != NULL) { in poll_fini()167 free(poll_fds); in poll_fini()168 poll_fds = NULL; in poll_fini()178 if (poll_fds[n].fd == fd) in find_pollfd()179 return (&(poll_fds[n])); in find_pollfd()192 if ((p = realloc(poll_fds, in set_pollfd()197 poll_fds = p; in set_pollfd()200 poll_fds[num_pollfds + i].fd = -1; in set_pollfd()202 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()
117 struct pollfd poll_fds[1]; in smc_send_local_cmd() local119 poll_fds[0].fd = fd; in smc_send_local_cmd()120 poll_fds[0].events = POLLIN|POLLPRI; in smc_send_local_cmd()121 poll_fds[0].revents = 0; in smc_send_local_cmd()129 poll_rc = poll(poll_fds, 1, poll_time); in smc_send_local_cmd()
548 struct pollfd poll_fds[1]; in env_polling_thread() local577 poll_fds[0].fd = smcfd; in env_polling_thread()578 poll_fds[0].events = POLLIN|POLLPRI; in env_polling_thread()579 poll_fds[0].revents = 0; in env_polling_thread()598 poll_rc = poll(poll_fds, 1, -1); /* poll forever */ in env_polling_thread()
529 static struct pollfd poll_fds[1]; variable868 ret = poll(poll_fds, poll_nfds, in main()872 contract_event(&poll_fds[0]); in main()4207 poll_fds[0].fd = fd; in contracts_init()4208 poll_fds[0].events = POLLIN; in contracts_init()