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()
455 struct pollfd pfd;457 pfd.fd = fd;458 pfd.revents = 0;459 pfd.events = POLLIN|POLLRDNORM|POLLERR;462 retval = poll(&pfd, 1, timeout);491 struct pollfd pfd;492 pfd.fd = fd;493 pfd.revents = 0;494 pfd.events = POLLOUT;495 retval = poll(&pfd, 1, timeout);[all …]