Searched refs:pfd (Results 1 - 4 of 4) sorted by relevance

/systemd/src/udev/
H A Dudevadm-settle.c56 struct pollfd pfd[1] = { {.fd = -1}, }; local
125 pfd[0].events = POLLIN;
126 pfd[0].fd = udev_queue_get_fd(queue);
127 if (pfd[0].fd < 0) {
149 if (poll(pfd, 1, MSEC_PER_SEC) > 0 && pfd[0].revents & POLLIN)
H A Dudev-ctrl.c266 struct pollfd pfd[1]; local
269 pfd[0].fd = uctrl->sock;
270 pfd[0].events = POLLIN;
271 r = poll(pfd, 1, timeout * MSEC_PER_SEC);
279 if (r > 0 && pfd[0].revents & POLLERR) {
347 struct pollfd pfd[1]; local
350 pfd[0].fd = conn->sock;
351 pfd[0].events = POLLIN;
353 r = poll(pfd, 1, 10000);
362 if (!(pfd[
[all...]
/systemd/src/basic/
H A Dbarrier.c234 struct pollfd pfd[2] = { local
242 r = poll(pfd, 2, -1);
248 if (pfd[1].revents) {
258 } else if (pfd[0].revents & (POLLHUP | POLLERR | POLLNVAL))
/systemd/src/libudev/
H A Dlibudev-monitor.c694 struct pollfd pfd[1]; local
700 pfd[0].fd = udev_monitor->sock;
701 pfd[0].events = POLLIN;
702 rc = poll(pfd, 1, 0);

Completed in 506 milliseconds