Searched refs:pollset (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumpoptr.c | 75 pollfd_t pollset; in query_once() local 110 pollset.fd = -1; in query_once() 111 pollset.events = 0; in query_once() 112 pollset.revents = 0; in query_once() 114 pollset.fd = fileno(stdin); in query_once() 115 pollset.events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND; in query_once() 121 if (poll(&pollset, 1, -1) < 0) { in query_once() 128 if (pollset.revents == 0) in query_once()
|
/illumos-gate/usr/src/cmd/powertop/common/ |
H A D | powertop.c | 100 struct pollfd pollset; in main() local 264 pollset.fd = STDIN_FILENO; in main() 265 pollset.events = POLLIN; in main() 288 if (poll(&pollset, (nfds_t)1, in main()
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | yppush.c | 694 pollfd_t *pollset = NULL; local 809 pollset = realloc(pollset, 818 (void) memcpy(pollset, svc_pollfd, 822 switch (pollret = poll(pollset, npollfds, MIN_GRACE * 1000)) { 837 svc_getreq_poll(pollset, pollret);
|
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | pci_virtio_viona.c | 509 pollfd_t pollset; in pci_viona_poll_thread() local 512 pollset.fd = fd; in pci_viona_poll_thread() 513 pollset.events = POLLRDBAND; in pci_viona_poll_thread() 516 if (poll(&pollset, 1, -1) < 0) { in pci_viona_poll_thread() 525 if (pollset.revents & POLLRDBAND) { in pci_viona_poll_thread()
|
/illumos-gate/usr/src/cmd/prstat/ |
H A D | prstat.c | 1416 struct pollfd pollset; in main() local 1626 pollset.fd = STDIN_FILENO; in main() 1627 pollset.events = POLLIN; in main() 1709 if (poll(&pollset, (nfds_t)1, timeout) > 0) { in main()
|