Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dutil.c69 struct pollfd *poll_fds = NULL; variable
164 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()
H A Dinetd_impl.h243 extern struct pollfd *poll_fds;
H A Dinetd.c3511 pret = poll(poll_fds, num_pollfds, timeout); in event_loop()
/illumos-gate/usr/src/test/os-tests/tests/regression/
H A Dillumos-15036.c89 int poll_fds[FILE_COUNT]; in main() local
91 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()
/illumos-gate/usr/src/cmd/init/
H A Dinit.c533 static struct pollfd poll_fds[1]; variable
872 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()