Home | History | Annotate | Download | only in blktrace

Lines Matching refs:pfd

458 static void clear_events(struct pollfd *pfd)
460 pfd->events = 0;
461 pfd->revents = 0;
1598 struct pollfd *pfd;
1610 pfd = tp->pfds;
1628 pfd->fd = iop->ifd;
1629 pfd->events = POLLIN;
1649 pfd++;
1666 struct pollfd *pfd = tp->pfds;
1669 for (i = 0; nevs > 0 && i < ndevs; i++, pfd++, iop++) {
1670 if (pfd->revents & POLLIN || force_read) {
1675 pfd->events = 0;
1692 clear_events(pfd);
1696 clear_events(pfd);
1710 struct pollfd *pfd = tp->pfds;
1713 for (i = 0; i < ndevs; i++, pfd++, iop++, sp++) {
1714 if (pfd->revents & POLLIN || force_read) {
1717 pfd->events = 0;
1727 clear_events(pfd);
1744 struct pollfd *pfd = tp->pfds;
1748 for (i = 0; i < ndevs; i++, pfd++, iop++) {
1749 if (pfd->revents & POLLIN || force_read) {
1761 clear_events(pfd);
1765 clear_events(pfd);
2149 * Set up for appropriate PFD handler based upon output name.
2462 struct pollfd *pfd;
2465 pfd = &ns->pfds[1];
2467 if (pfd->revents & POLLIN) {
2473 pfd++;
2479 struct pollfd *pfd;
2485 pfd = &ns->pfds[1];
2489 pfd->fd = nc->fd;
2490 pfd->events = POLLIN;
2491 pfd++;