/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_nicmon.c | 258 struct pollfd pollfds[2]; local 278 pollfds[0].fd = rtsock_v4; 279 pollfds[0].events = POLLIN; 280 pollfds[1].fd = eventpipe_read; 281 pollfds[1].events = POLLIN; 283 if (poll(pollfds, pollfd_num, -1) < 0) { 294 if ((pollfds[i].fd < 0) || 295 !(pollfds[i].revents & POLLIN)) 297 if (pollfds[i].fd == rtsock_v4) { 301 if (pollfds[ [all...] |
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | zcons.c | 718 struct pollfd pollfds[4]; local 728 pollfds[0].fd = consfd; 729 pollfds[0].events = POLLIN | POLLRDNORM | POLLRDBAND | 733 pollfds[1].fd = clifd; 734 pollfds[1].events = pollfds[0].events; 737 pollfds[2].fd = servfd; 738 pollfds[2].events = pollfds[0].events; 741 pollfds[ [all...] |
/illumos-gate/usr/src/lib/libfsmgt/common/ |
H A D | cmd.c | 295 struct pollfd pollfds[1]; local 312 pollfds[0].fd = filedes; 313 pollfds[0].events = MASKVAL; 314 pollfds[0].revents = 0; 319 switch (poll(pollfds, 1, INFTIM)) { 397 } /* switch (poll(pollfds, 1, INFTIM)) */
|
/illumos-gate/usr/src/cmd/zlogin/ |
H A D | zlogin.c | 815 struct pollfd pollfds[4]; local 820 pollfds[0].fd = stdout_fd; 821 pollfds[0].events = POLLIN | POLLRDNORM | POLLRDBAND | POLLPRI; 824 pollfds[1].fd = stderr_fd; 825 pollfds[1].events = pollfds[0].events; 828 pollfds[2].fd = STDIN_FILENO; 829 pollfds[2].events = pollfds[0].events; 832 pollfds[ [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | eventlib.c | 90 ctx->pollfds = NULL; 779 fds = &(ctx->pollfds[ctx->firstfd]); 791 if (ctx->pollfds[i].fd < 0) 816 void *pollfds, *fdTable; local 827 pollfds = realloc(ctx->pollfds, maxnfds * sizeof(*ctx->pollfds)); 828 if (pollfds != NULL) 829 ctx->pollfds = pollfds; [all...] |
H A D | eventlib_p.h | 232 struct pollfd *pollfds; /* Allocated as needed */ member in struct:__anon3880
|
/illumos-gate/usr/src/cmd/vt/ |
H A D | vtdaemon.c | 455 struct pollfd pollfds[2]; local 459 pollfds[0].fd = eventstream[0]; 460 pollfds[1].fd = daemonfd; 461 pollfds[0].events = pollfds[1].events = 465 pollfds[0].revents = pollfds[1].revents = 0; 467 ret = poll(pollfds, 468 sizeof (pollfds) / sizeof (struct pollfd), -1); 476 if (pollfds[ 829 struct pollfd pollfds[1]; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/ |
H A D | mpd_main.c | 31 static struct pollfd *pollfds = NULL; /* Array of poll descriptors */ variable in typeref:struct:pollfd 133 if (pollfds[i].fd == fd) 138 if (pollfds[i].fd == -1) { 139 pollfds[i].fd = fd; 146 newfds = realloc(pollfds, new_num * sizeof (struct pollfd)); 156 pollfds = newfds; 170 if (pollfds[i].fd == fd) { 171 pollfds[i].fd = -1; 2133 if (poll(pollfds, pollfd_num, -1) < 0) { 2140 if ((pollfds[ [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | main.c | 349 static struct pollfd *pollfds = NULL; variable in typeref:struct:pollfd 363 if (pollfds[i].fd == fd) 368 if (pollfds[i].fd == -1) { 369 pollfds[i].fd = fd; 376 newfds = realloc(pollfds, new_num * sizeof (struct pollfd)); 390 pollfds = newfds; 404 if (pollfds[i].fd == fd) { 405 pollfds[i].fd = -1; 2048 if (poll(pollfds, pollfd_num, -1) < 0) { 2055 if (!(pollfds[ [all...] |
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | result.c | 1086 LDAP_X_PollFD pollfds[ 1 ]; local 1088 pollfds[0].lpoll_fd = ld->ld_sbp->sb_sd; 1089 pollfds[0].lpoll_arg = ld->ld_sbp->sb_arg; 1090 pollfds[0].lpoll_events = LDAP_X_POLLIN; 1091 pollfds[0].lpoll_revents = 0; 1092 rc = ld->ld_extpoll_fn( pollfds, 1, nsldapi_tv2ms( timeout ),
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | sys-solaris.c | 152 static struct pollfd pollfds[MAX_POLLFDS]; /* array of polled fd */ variable in typeref:struct:pollfd 1493 if ((poll(pollfds, n_pollfds, t) < 0) && (errno != EINTR)) { 1513 if (pollfds[n].fd == fd) { 1518 pollfds[n_pollfds].fd = fd; 1519 pollfds[n_pollfds].events = POLLIN | POLLPRI | POLLHUP; 1538 if (pollfds[n].fd == fd) { 1540 pollfds[n-1] = pollfds[n];
|