Lines Matching defs:pfdp
1131 struct pollfd *pfdp;
1132 int npfd; /* total number of pfdp allocated */
1148 pfdp = thr_get_storage(&pfdp_key, sizeof (struct pollfd), free);
1149 if (pfdp == NULL) {
1163 pfdp[0].fd = ct->ct_fd;
1164 pfdp[0].events = MASKVAL;
1165 pfdp[0].revents = 0;
1183 /* reallocate pfdp to svc_max_pollfd +1 */
1185 struct pollfd *tmp_pfdp = realloc(pfdp,
1198 pfdp = tmp_pfdp;
1200 (void) pthread_setspecific(pfdp_key, pfdp);
1203 (void) memcpy(&pfdp[1], svc_pollfd,
1208 npfd = 1; /* don't forget about pfdp[0] */
1211 switch (fds = poll(pfdp, npfd, poll_time)) {
1248 if (pfdp[0].revents == 0) {
1250 (*_svc_getreqset_proc)(&pfdp[1], fds);
1254 if (pfdp[0].revents & POLLNVAL) {
1267 if (pfdp[0].revents & (POLLERR | POLLHUP)) {