Lines Matching defs:pfdp
1159 struct pollfd *pfdp;
1160 int npfd; /* total number of pfdp allocated */
1176 pfdp = thr_get_storage(&pfdp_key, sizeof (struct pollfd), free);
1177 if (pfdp == NULL) {
1191 pfdp[0].fd = ct->ct_fd;
1192 pfdp[0].events = MASKVAL;
1193 pfdp[0].revents = 0;
1211 /* reallocate pfdp to svc_max_pollfd +1 */
1213 struct pollfd *tmp_pfdp = realloc(pfdp,
1226 pfdp = tmp_pfdp;
1228 (void) pthread_setspecific(pfdp_key, pfdp);
1231 (void) memcpy(&pfdp[1], svc_pollfd,
1236 npfd = 1; /* don't forget about pfdp[0] */
1239 switch (fds = poll(pfdp, npfd, poll_time)) {
1275 if (pfdp[0].revents == 0) {
1277 (*_svc_getreqset_proc)(&pfdp[1], fds);
1281 if (pfdp[0].revents & POLLNVAL) {
1294 if (pfdp[0].revents & (POLLERR | POLLHUP)) {