Lines Matching defs:pfdp
1149 struct pollfd *pfdp;
1150 int npfd; /* total number of pfdp allocated */
1166 pfdp = thr_get_storage(&pfdp_key, sizeof (struct pollfd), free);
1167 if (pfdp == NULL) {
1180 pfdp[0].fd = ct->ct_fd;
1181 pfdp[0].events = MASKVAL;
1182 pfdp[0].revents = 0;
1200 /* reallocate pfdp to svc_max_pollfd +1 */
1202 struct pollfd *tmp_pfdp = realloc(pfdp,
1215 pfdp = tmp_pfdp;
1217 (void) pthread_setspecific(pfdp_key, pfdp);
1220 (void) memcpy(&pfdp[1], svc_pollfd,
1225 npfd = 1; /* don't forget about pfdp[0] */
1228 switch (fds = poll(pfdp, npfd, poll_time)) {
1264 if (pfdp[0].revents == 0) {
1266 (*_svc_getreqset_proc)(&pfdp[1], fds);
1270 if (pfdp[0].revents & POLLNVAL) {
1283 if (pfdp[0].revents & (POLLERR | POLLHUP)) {