Lines Matching full:pfd
154 struct pollfd *pfd; /* pointer to corresponding poll() structure */ member
173 static struct pollfd * pfd; /* fd list for poll() */ variable
269 p->pfd = NULL; in poll_register()
306 regs[handle].pfd = NULL; in poll_unregister()
325 f = pfd = _xrealloc(pfd, sizeof(pfd[0]) * regs_used); in poll_build()
338 p->pfd = f++; in poll_build()
340 assert(f == &pfd[regs_used]); in poll_build()
486 * a reallocation! The check for pfd != NULL is required, because
488 * to be called. So we clear pfd in unregister and check here.
539 ret = poll(pfd, regs_used, tout == INFTIM ? INFTIM : (tout / 1000)); in poll_dispatch()
573 if(regs[idx].pfd) { in poll_dispatch()
575 (regs[idx].pfd->revents & poll_in)) in poll_dispatch()
578 (regs[idx].pfd->revents & poll_out)) in poll_dispatch()
581 (regs[idx].pfd->revents & poll_except)) in poll_dispatch()