Searched refs:pfd (Results 1 – 3 of 3) sorted by relevance
134 struct pollfd pfd; in hpet_poll() local177 pfd.fd = fd; in hpet_poll()178 pfd.events = POLLIN; in hpet_poll()181 pfd.revents = 0; in hpet_poll()183 if (poll(&pfd, 1, -1) < 0) in hpet_poll()196 pfd.revents); in hpet_poll()
121 struct pollfd pfd; in main() local202 pfd.fd = s; in main()205 pfd.events = POLLIN; in main()206 pfd.revents = 0; in main()207 switch (poll(&pfd, 1, -1)) { in main()
453 struct pollfd pfd;455 pfd.fd = fd;456 pfd.revents = 0;457 pfd.events = POLLIN|POLLRDNORM|POLLERR;460 retval = poll(&pfd, 1, timeout);490 struct pollfd pfd;491 pfd.fd = fd;492 pfd.revents = 0;493 pfd.events = POLLOUT;494 retval = poll(&pfd, 1, timeout);