/external/fio/os/windows/posix/include/sys/ |
H A D | poll.h | 6 struct pollfd struct 13 int poll(struct pollfd fds[], nfds_t nfds, int timeout);
|
/external/openssh/openbsd-compat/ |
H A D | bsd-poll.h | 34 typedef struct pollfd { struct 59 int poll(struct pollfd *, nfds_t, int);
|
/external/curl/lib/ |
H A D | select.h | 34 * 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 D | poll.h | 35 struct pollfd { struct
|
/external/ltp/testcases/kernel/syscalls/utils/ |
H A D | poll.h | 21 struct pollfd { struct
|
/external/dhcpcd-6.8.2/ |
H A D | eloop.h | 51 struct pollfd *pollfd; member in struct:eloop_event 79 struct pollfd *fds;
|
/external/libusb/libusb/os/ |
H A D | poll_windows.h | 67 struct pollfd { struct 94 int usbi_poll(struct pollfd *fds, unsigned int nfds, int timeout);
|
H A D | linux_usbfs.c | 2599 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 D | hackbench.c | 146 struct pollfd pollfd = { .fd = wakefd, .events = POLLIN }; local 153 if (poll(&pollfd, 1, -1) != 1)
|
/external/ltp/testcases/kernel/sched/cfs-scheduler/ |
H A D | hackbench.c | 118 struct pollfd pollfd = {.fd = wakefd,.events = POLLIN }; local 125 if (poll(&pollfd, 1, -1) != 1)
|
/external/ltp/testcases/kernel/syscalls/eventfd/ |
H A D | eventfd01.c | 588 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 D | userfaultfd.c | 248 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 D | io.c | 2077 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 D | libusbi.h | 254 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 D | test_new_connection.c | 574 * 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 D | test_notls.c | 526 * 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 D | test_request_response.c | 562 * 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 D | libusbi.h | 254 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 D | sanitizer_platform_limits_posix.cc | 1050 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);
|