Searched defs:pollfd (Results 1 - 19 of 19) sorted by relevance

/external/fio/os/windows/posix/include/sys/
H A Dpoll.h6 struct pollfd struct
13 int poll(struct pollfd fds[], nfds_t nfds, int timeout);
/external/openssh/openbsd-compat/
H A Dbsd-poll.h34 typedef struct pollfd { struct
59 int poll(struct pollfd *, nfds_t, int);
/external/curl/lib/
H A Dselect.h34 * Definition of pollfd struct and constants for platforms lacking them.
48 struct pollfd struct
82 int Curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms);
/external/kernel-headers/original/uapi/asm-generic/
H A Dpoll.h35 struct pollfd { struct
/external/ltp/testcases/kernel/syscalls/utils/
H A Dpoll.h21 struct pollfd { struct
/external/dhcpcd-6.8.2/
H A Deloop.h51 struct pollfd *pollfd; member in struct:eloop_event
79 struct pollfd *fds;
/external/libusb/libusb/os/
H A Dpoll_windows.h67 struct pollfd { struct
94 int usbi_poll(struct pollfd *fds, unsigned int nfds, int timeout);
H A Dlinux_usbfs.c2599 struct pollfd *fds, POLL_NFDS_TYPE nfds, int num_ready)
2606 struct pollfd *pollfd = &fds[i]; local
2610 if (!pollfd->revents)
2616 if (hpriv->fd == pollfd->fd)
2620 if (!hpriv || hpriv->fd != pollfd->fd) {
2622 pollfd->fd);
2626 if (pollfd->revents & POLLERR) {
2627 /* remove the fd from the pollfd set so that it doesn't continuously
/external/autotest/client/tests/hackbench/src/
H A Dhackbench.c146 struct pollfd pollfd = { .fd = wakefd, .events = POLLIN }; local
153 if (poll(&pollfd, 1, -1) != 1)
/external/ltp/testcases/kernel/sched/cfs-scheduler/
H A Dhackbench.c118 struct pollfd pollfd = {.fd = wakefd,.events = POLLIN }; local
125 if (poll(&pollfd, 1, -1) != 1)
/external/ltp/testcases/kernel/syscalls/eventfd/
H A Deventfd01.c588 struct pollfd pollfd; local
599 pollfd.fd = evfd;
600 pollfd.events = POLLIN;
601 pollfd.revents = 0;
602 ret = poll(&pollfd, 1, 10000);
606 if (pollfd.revents & POLLERR)
/external/linux-kselftest/tools/testing/selftests/vm/
H A Duserfaultfd.c248 struct pollfd pollfd[2]; local
255 pollfd[0].fd = uffd;
256 pollfd[0].events = POLLIN;
257 pollfd[1].fd = pipefd[cpu*2];
258 pollfd[1].events = POLLIN;
261 ret = poll(pollfd, 2, -1);
266 if (pollfd[1].revents & POLLIN) {
267 if (read(pollfd[1].fd, &tmp_chr, 1) != 1)
272 if (!(pollfd[
[all...]
/external/libusb/libusb/
H A Dio.c2077 struct pollfd *fds = NULL;
2095 * handle_events() is called in the backend, the pollfd list and count will
2125 struct libusb_pollfd *pollfd = &ipollfd->pollfd; local
2127 ctx->pollfds[i].fd = pollfd->fd;
2128 ctx->pollfds[i].events = pollfd->events;
2661 ipollfd->pollfd.fd = fd;
2662 ipollfd->pollfd.events = events;
2683 if (ipollfd->pollfd.fd == fd) {
2750 * pollfd list
[all...]
H A Dlibusbi.h254 struct pollfd;
284 /* user callbacks for pollfd changes */
318 struct pollfd *pollfds;
558 struct libusb_pollfd pollfd; member in struct:usbi_pollfd
1052 * The function is passed an array of pollfd structures (size nfds)
1076 struct pollfd *fds, POLL_NFDS_TYPE nfds, int num_ready);
/external/libmicrohttpd/src/testspdy/
H A Dtest_new_connection.c574 * Update |pollfd| based on the state of |connection|.
576 static void ctl_poll(struct pollfd *pollfd, struct Connection *connection) argument
578 pollfd->events = 0;
581 pollfd->events |= POLLIN;
585 pollfd->events |= POLLOUT;
663 struct pollfd pollfds[1];
H A Dtest_notls.c526 * Update |pollfd| based on the state of |connection|.
528 static void ctl_poll(struct pollfd *pollfd, struct Connection *connection) argument
530 pollfd->events = 0;
533 pollfd->events |= POLLIN;
537 pollfd->events |= POLLOUT;
613 struct pollfd pollfds[1];
H A Dtest_request_response.c562 * Update |pollfd| based on the state of |connection|.
564 static void ctl_poll(struct pollfd *pollfd, struct Connection *connection) argument
566 pollfd->events = 0;
569 pollfd->events |= POLLIN;
573 pollfd->events |= POLLOUT;
651 struct pollfd pollfds[1];
/external/libusb/include/libusb/
H A Dlibusbi.h254 struct pollfd;
284 /* user callbacks for pollfd changes */
318 struct pollfd *pollfds;
558 struct libusb_pollfd pollfd; member in struct:usbi_pollfd
1052 * The function is passed an array of pollfd structures (size nfds)
1076 struct pollfd *fds, POLL_NFDS_TYPE nfds, int num_ready);
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_posix.cc1050 CHECK_TYPE_SIZE(pollfd); variable
1051 CHECK_SIZE_AND_OFFSET(pollfd, fd);
1052 CHECK_SIZE_AND_OFFSET(pollfd, events);
1053 CHECK_SIZE_AND_OFFSET(pollfd, revents);

Completed in 1276 milliseconds