/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | napms.c | 79 struct pollfd pollfd; local 81 if (poll(&pollfd, 0L, ms) == -1)
|
/illumos-gate/usr/src/cmd/ptools/pwait/ |
H A D | pwait.c | 53 struct pollfd *pollfd; local 54 struct pollfd *pfd; 98 pollfd = (struct pollfd *)malloc(argc*sizeof (struct pollfd)); 99 if (pollfd == NULL) { 117 pfd = &pollfd[i]; 136 while (poll(pollfd, argc, INFTIM) < 0) { 144 pfd = &pollfd[ [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | poll.c | 34 ppoll(struct pollfd *_RESTRICT_KYWD fds, nfds_t nfd, 42 poll(struct pollfd *fds, nfds_t nfd, int timeout)
|
H A D | select_large_fdset.c | 70 static struct pollfd *realloc_fds(int *, struct pollfd **, struct pollfd *); 85 * Rather than have a mammoth pollfd (65K) list on the stack 90 struct pollfd pfd[DEFAULT_POLL_SIZE]; 91 struct pollfd *p; 92 struct pollfd *pfd_list; 134 * the appropriate pollfd struct. 141 * nused reflects the number of pollfd structs currently used 372 struct pollfd * [all...] |
H A D | select.c | 66 struct pollfd *pfd; 67 struct pollfd *p; 83 p = pfd = (struct pollfd *)alloca(nfds * sizeof (struct pollfd)); 107 * the appropriate pollfd struct. 137 n = (int)(p - pfd); /* number of pollfd's */
|
/illumos-gate/usr/src/head/ |
H A D | poll.h | 50 extern int ppoll(struct pollfd *_RESTRICT_KYWD, nfds_t,
|
/illumos-gate/usr/src/test/os-tests/tests/poll/ |
H A D | poll_test.c | 181 dppoll(int pollfd, pollfd_t *fds, nfds_t nfds, int timeout, time_t *elapsed) argument 193 ret = ioctl(pollfd, DP_POLL, &arg); 204 clear_fd(const char *testName, int pollfd, int testfd) argument 213 ret = write(pollfd, &fd, sizeof (pollfd_t)); 291 dev_poll_no_fd_test(int pollfd) argument 300 ret = dppoll(pollfd, NULL, 0, timeout * 1000, &elapsed); 319 dev_poll_with_fds_test(int pollfd, int testfd) argument 332 clear_fd(testName, pollfd, testfd); 341 ret = write(pollfd, fds, sizeof (pollfd_t)); 352 ret = dppoll(pollfd, fd 372 int pollfd; local [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | poll.h | 48 typedef struct pollfd { struct 76 #define POLLNVAL 0x0020 /* invalid pollfd entry */ 152 int poll(struct pollfd *, nfds_t, int);
|
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | poll_solaris.c | 310 struct pollfd *pollfd = alloca(sizeof(struct pollfd)*(numpollfd+1)); local 313 struct pollfd pollfd[numpollfd+1]; local 326 errormsg(SH_DICT, ERROR_system(1), "missing pollfd %s[%s].fd", varname, subname); 329 errormsg(SH_DICT, ERROR_system(1), "invalid pollfd fd %d", fd); 331 pollfd[i].fd = fd; 335 errormsg(SH_DICT, ERROR_system(1), "missing pollfd %s[%s].events", varname, subname); 339 errormsg(SH_DICT, ERROR_system(1), "missing pollfd event [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | util.c | 47 /* number of pollfd we grow the pollfd array by at a time in set_pollfd() */ 71 struct pollfd *poll_fds = NULL; 172 struct pollfd * 187 struct pollfd *p; 194 sizeof (struct pollfd)))) == NULL) { 216 struct pollfd *p; 228 struct pollfd *p = find_pollfd(fd);
|
H A D | inetd_impl.h | 243 extern struct pollfd *poll_fds; 265 extern struct pollfd *find_pollfd(int);
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | rpc_sel2poll.c | 43 * initialize the supplied pollfd array for RPC's use (RPC only 44 * polls for input events). We return the number of pollfd slots 51 struct pollfd *p0) /* target pollfd array */ 55 struct pollfd *p = p0; 59 * the appropriate pollfd struct. 81 * elements. This function scans the source pollfd array
|
/illumos-gate/usr/src/cmd/lp/lib/msgs/ |
H A D | mlisten.c | 53 static struct pollfd * PollFdList = NULL; 72 PollFdList = (struct pollfd*) Malloc(ConsSize * sizeof(struct pollfd)); 90 struct pollfd * fdp; 104 PollFdList = (struct pollfd*) Realloc(PollFdList, ConsSize * sizeof(struct pollfd)); 116 PollFdList = (struct pollfd*) Realloc(PollFdList, ConsSize * sizeof(struct pollfd)); 176 struct pollfd * fdp;
|
H A D | mdestroy.c | 43 struct pollfd pfd;
|
/illumos-gate/usr/src/lib/libwanboot/common/ |
H A D | socket_inet.c | 51 struct pollfd pfd;
|
/illumos-gate/usr/src/lib/libinetutil/common/ |
H A D | libinetutil_impl.h | 103 struct pollfd *iueh_pollfds; /* array of pollfds */ 105 iu_event_node_t *iueh_events; /* corresponding pollfd info */
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/ |
H A D | atomicio.c | 49 struct pollfd pfd;
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmglobal.c | 64 struct pollfd *Pollp; /* ptr to an array of poll struct */ 65 int Npollfd; /* size of the pollfd array */
|
H A D | tmhandler.c | 227 struct pollfd *fdp; 385 extern struct pollfd *Pollp; 406 /* need to malloc more pollfd structure */ 411 if ((Pollp = (struct pollfd *) 412 malloc((unsigned)(Npollfd * sizeof(struct pollfd)))) 413 == (struct pollfd *)NULL) 527 struct pollfd pfd[2];
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | global.h | 80 extern struct pollfd *fdarray;
|
H A D | main.c | 51 struct pollfd *fdarray; 172 if ((fdarray = malloc(FDOFFSET * sizeof (struct pollfd))) == NULL) {
|
/illumos-gate/usr/src/test/os-tests/tests/file-locking/ |
H A D | util.c | 51 struct pollfd pfd = { fd, POLLIN, 0 };
|
/illumos-gate/usr/src/cmd/cvcd/sparc/sun4u/starfire/ |
H A D | cvcd.c | 93 static void cvcd_connect(int fd, struct pollfd *); 95 static void cvcd_read(struct pollfd *); 126 struct pollfd *cvcd_pfd; 249 cvcd_pfd = (struct pollfd *)malloc(3*sizeof (struct pollfd)); 250 if (cvcd_pfd == (struct pollfd *)NULL) { 254 (void) memset((void *)cvcd_pfd, 0, 3*sizeof (struct pollfd)); 581 cvcd_connect(int fd, struct pollfd *pfd) 690 cvcd_read(struct pollfd *pd)
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_net.c | 94 struct pollfd **, nfds_t *, struct bc_ifs *); 97 static SLPError mc_sendmsg(struct pollfd *, struct msghdr *, 99 static SLPError bc_sendmsg(struct pollfd *, struct msghdr *, struct bc_ifs *); 100 static void mc_recvmsg(struct pollfd *, nfds_t, slp_handle_impl_t *, 104 static void free_pfds(struct pollfd *, nfds_t); 110 struct pollfd [], nfds_t); 200 struct pollfd pfd[1]; 341 struct pollfd *pfd; 701 struct pollfd **fds, nfds_t *nfds, 760 /* allocate a pollfd arra [all...] |
/illumos-gate/usr/src/lib/librsm/inc/ |
H A D | rsmapi.h | 276 int rsm_memseg_get_pollfd(void *, struct pollfd *); 291 int rsm_intr_signal_wait_pollfd(struct pollfd [], nfds_t, int, int *);
|