Home
last modified time | relevance | path

Searched refs:poll_fds (Results 1 – 6 of 6) sorted by relevance

/titanic_50/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dutil.c71 struct pollfd *poll_fds = NULL; variable
166 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()
H A Dinetd_impl.h243 extern struct pollfd *poll_fds;
H A Dinetd.c3511 pret = poll(poll_fds, num_pollfds, timeout); in event_loop()
/titanic_50/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/libctsmc/
H A Dlibctsmc.c117 struct pollfd poll_fds[1]; in smc_send_local_cmd() local
119 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()
/titanic_50/usr/src/cmd/picl/plugins/sun4u/snowbird/envmond/
H A Dpicldr.c548 struct pollfd poll_fds[1]; in env_polling_thread() local
577 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()
/titanic_50/usr/src/cmd/init/
H A Dinit.c529 static struct pollfd poll_fds[1]; variable
868 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()