Searched refs:POLLIN (Results 1 - 25 of 124) sorted by relevance

12345

/external/ltp/testcases/kernel/syscalls/utils/
H A Dpoll.h5 #define POLLIN 0x0001 macro
/external/dhcpcd-6.8.2/compat/
H A Dpselect.c49 if (fds[n].events & POLLIN) {
60 FD_ISSET(fds[n].fd, &read_fds) ? POLLIN : 0;
/external/strace/xlat/
H A Dpollflags.h11 #if defined(POLLIN) || (defined(HAVE_DECL_POLLIN) && HAVE_DECL_POLLIN)
12 XLAT(POLLIN),
/external/kernel-headers/original/uapi/asm-generic/
H A Dpoll.h5 #define POLLIN 0x0001 macro
/external/openssh/openbsd-compat/
H A Dbsd-poll.h42 #define POLLIN 0x0001 macro
H A Dbsd-poll.c36 * Only supports POLLIN and POLLOUT flags in pfd.events, and POLLIN, POLLOUT
74 if (fds[i].events & POLLIN) {
101 fds[i].revents |= POLLIN;
/external/strace/tests/
H A Dppoll.c39 { .fd = 0, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND },
41 { .fd = 3, .events = POLLIN | POLLPRI },
61 { .fd = 1, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND },
H A Dpoll.c59 PRINT_EVENT(POLLIN, events)
126 PRINT_EVENT(POLLIN, revents)
176 { .fd = 0, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND },
178 { .fd = fds[0], .events = POLLIN | POLLPRI },
225 { .fd = 1, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND },
/external/strace/tests-m32/
H A Dppoll.c39 { .fd = 0, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND },
41 { .fd = 3, .events = POLLIN | POLLPRI },
61 { .fd = 1, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND },
H A Dpoll.c59 PRINT_EVENT(POLLIN, events)
126 PRINT_EVENT(POLLIN, revents)
176 { .fd = 0, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND },
178 { .fd = fds[0], .events = POLLIN | POLLPRI },
225 { .fd = 1, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND },
/external/strace/tests-mx32/
H A Dppoll.c39 { .fd = 0, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND },
41 { .fd = 3, .events = POLLIN | POLLPRI },
61 { .fd = 1, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND },
H A Dpoll.c59 PRINT_EVENT(POLLIN, events)
126 PRINT_EVENT(POLLIN, revents)
176 { .fd = 0, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND },
178 { .fd = fds[0], .events = POLLIN | POLLPRI },
225 { .fd = 1, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND },
/external/libevent/
H A Ddevpoll.c204 what |= POLLIN | POLLOUT;
206 what |= POLLIN | POLLOUT;
208 if (what & POLLIN)
240 res |= POLLIN;
259 res |= POLLIN;
273 if ((res & (POLLIN|POLLOUT)) != (POLLIN|POLLOUT)) {
279 if ((res & POLLIN) && (old & EV_WRITE)) {
284 devpoll_queue(devpollop, fd, POLLIN);
H A Dpoll.c196 what |= POLLIN|POLLOUT;
197 if (what & POLLIN)
261 pfd->events |= POLLIN;
291 pfd->events &= ~POLLIN;
/external/curl/lib/
H A Dselect.h41 #define POLLIN 0x01 macro
58 #define POLLRDNORM POLLIN
H A Dselect.c190 pfd[num].events = POLLRDNORM|POLLIN|POLLRDBAND|POLLPRI;
196 pfd[num].events = POLLRDNORM|POLLIN|POLLRDBAND|POLLPRI;
235 if(pfd[num].revents & (POLLRDNORM|POLLIN|POLLERR|POLLHUP))
242 if(pfd[num].revents & (POLLRDNORM|POLLIN|POLLERR|POLLHUP))
457 ufds[i].revents |= POLLIN;
459 ufds[i].revents |= (POLLIN|POLLOUT);
474 if(ufds[i].events & (POLLIN|POLLOUT|POLLPRI|
478 if(ufds[i].events & (POLLRDNORM|POLLIN))
546 ufds[i].revents |= POLLIN;
/external/ltp/testcases/kernel/syscalls/poll/
H A Dpoll01.c22 * Check that poll() works for POLLOUT and POLLIN and that revents is set
71 {.fd = fildes[0], .events = POLLIN},
79 tst_resm(TFAIL | TTERRNO, "poll() POLLIN failed");
83 if (infds[0].revents != POLLIN) {
84 tst_resm(TFAIL, "poll() failed to set POLLIN");
89 tst_resm(TPASS, "poll() POLLIN");
/external/valgrind/memcheck/tests/linux/
H A Dsyscalls-2007.c51 pfd[0].events = POLLIN|POLLOUT;
53 pfd[1].events = POLLIN|POLLOUT;
/external/netcat/
H A Datomicio.c49 pfd.events = f == read ? POLLIN : POLLOUT;
/external/toybox/toys/net/
H A Dmicrocom.c80 fds[0].events = POLLIN;
82 fds[1].events = POLLIN;
/external/openssh/
H A Datomicio.c62 pfd.events = f == read ? POLLIN : POLLOUT;
119 pfd.events = f == readv ? POLLIN : POLLOUT;
/external/toybox/lib/
H A Dnet.c70 pollfds[0].events = pollfds[1].events = POLLIN;
79 if (pollfds[i].revents & POLLIN) {
/external/google-breakpad/src/client/linux/crash_generation/
H A Dcrash_generation_server.cc162 pollfds[0].events = POLLIN;
165 pollfds[1].events = POLLIN;
191 assert(POLLIN & revents);
289 assert(POLLIN & revents);
/external/libusb/libusb/os/
H A Dlinux_netlink.c362 .events = POLLIN },
364 .events = POLLIN },
372 if (fds[0].revents & POLLIN) {
379 if (fds[1].revents & POLLIN) {
H A Dlinux_udev.c168 .events = POLLIN},
170 .events = POLLIN},
176 if (fds[0].revents & POLLIN) {
184 if (fds[1].revents & POLLIN) {

Completed in 412 milliseconds

12345