/linux-master/tools/perf/tests/ |
H A D | fdarray.c | 41 fdarray__init_revents(fda, POLLIN); 58 fda->entries[2].revents = POLLIN; 70 fda->entries[0].revents = POLLIN; 71 fda->entries[3].revents = POLLIN; 127 FDA_ADD(0, 1, POLLIN, 1); 141 FDA_ADD(3, 88, POLLIN | POLLOUT, 4); 145 FDA_CHECK(0, 1, POLLIN); 148 FDA_CHECK(3, 88, POLLIN | POLLOUT);
|
/linux-master/include/uapi/asm-generic/ |
H A D | poll.h | 6 #define POLLIN 0x0001 macro
|
/linux-master/arch/um/drivers/ |
H A D | ubd_user.c | 40 kernel_pollfd.events = POLLIN; 70 kernel_pollfd.events = POLLIN;
|
/linux-master/tools/testing/selftests/pidfd/ |
H A D | pidfd_poll_test.c | 32 fds.events = POLLIN; 97 if (!(fds.revents & POLLIN))
|
/linux-master/tools/testing/selftests/cgroup/ |
H A D | wait_inotify.c | 33 struct pollfd fds = { .events = POLLIN, }; 73 if ((ret > 0) && (fds.revents & POLLIN))
|
/linux-master/tools/testing/selftests/kvm/lib/ |
H A D | userfaultfd_util.c | 46 pollfd[0].events = POLLIN; 48 pollfd[1].events = POLLIN; 69 if (pollfd[1].revents & POLLIN) { 76 if (!(pollfd[0].revents & POLLIN))
|
/linux-master/tools/testing/selftests/net/af_unix/ |
H A D | test_unix_oob.c | 239 wait_for_data(pfd, POLLIN | POLLPRI); 264 wait_for_data(pfd, POLLIN | POLLPRI); 302 wait_for_data(pfd, POLLIN | POLLPRI); 334 wait_for_data(pfd, POLLIN | POLLPRI); 365 wait_for_data(pfd, POLLIN | POLLPRI); 397 wait_for_data(pfd, POLLIN | POLLPRI); 427 wait_for_data(pfd, POLLIN | POLLPRI);
|
/linux-master/tools/virtio/virtio-trace/ |
H A D | trace-agent-ctl.c | 55 poll_fd.events = POLLIN;
|
/linux-master/tools/lib/api/ |
H A D | io.h | 61 .events = POLLIN, 68 if (n > 0 && !(pfds[0].revents & POLLIN)) {
|
/linux-master/samples/uhid/ |
H A D | uhid-example.c | 430 pfds[0].events = POLLIN; 432 pfds[1].events = POLLIN; 450 if (pfds[0].revents & POLLIN) { 455 if (pfds[1].revents & POLLIN) {
|
/linux-master/tools/gpio/ |
H A D | gpio-watch.c | 56 pfd.events = POLLIN | POLLPRI;
|
/linux-master/samples/nitro_enclaves/ |
H A D | ne_ioctl_sample.c | 206 fds[0].events = POLLIN | POLLERR | POLLHUP; 697 fds[0].events = POLLIN; 714 if ((fds[0].revents & POLLIN) == 0) {
|
/linux-master/tools/testing/selftests/net/ |
H A D | udpgso_bench_rx.c | 97 pfd.events = POLLIN; 120 if (pfd.revents != POLLIN) 122 pfd.revents, POLLIN);
|
/linux-master/arch/x86/um/ |
H A D | user-offsets.c | 77 DEFINE(UM_POLLIN, POLLIN);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_lirc_mode2_user.c | 114 struct pollfd pfd = { .fd = inputfd, .events = POLLIN };
|
/linux-master/tools/usb/ffs-aio-example/simple/device_app/ |
H A D | aio_simple.c | 189 pfds[0].events = POLLIN; 193 if (ret && (pfds[0].revents & POLLIN)) {
|
/linux-master/samples/cgroup/ |
H A D | memcg_event_listener.c | 235 fds[0].events = POLLIN; 245 if (fds[0].revents & POLLIN) {
|
/linux-master/tools/testing/selftests/filesystems/epoll/ |
H A D | epoll_wakeup_test.c | 68 pfd.events = POLLIN; 95 pfd.events = POLLIN; 122 pfd.events = POLLIN; 319 pfd.events = POLLIN; 324 pfd.events = POLLIN; 358 pfd.events = POLLIN; 363 pfd.events = POLLIN; 403 pfd.events = POLLIN; 408 pfd.events = POLLIN; 449 pfd.events = POLLIN; [all...] |
/linux-master/tools/perf/ |
H A D | builtin-daemon.c | 448 .events = POLLIN, 487 .events = POLLIN, 513 struct pollfd pollfd = { .events = POLLIN, }; 562 if (!(pollfd.revents & POLLIN)) { 1307 sock_pos = fdarray__add(&fda, sock_fd, POLLIN|POLLERR|POLLHUP, 0); 1311 file_pos = fdarray__add(&fda, conf_fd, POLLIN|POLLERR|POLLHUP, 0); 1315 signal_pos = fdarray__add(&fda, signal_fd, POLLIN|POLLERR|POLLHUP, 0); 1329 if (fda.entries[sock_pos].revents & POLLIN) 1331 if (fda.entries[file_pos].revents & POLLIN) 1333 if (fda.entries[signal_pos].revents & POLLIN) [all...] |
/linux-master/samples/connector/ |
H A D | ucon.c | 191 pfd.events = POLLIN;
|
/linux-master/tools/testing/selftests/sync/ |
H A D | sync.c | 63 fds.events = POLLIN | POLLERR;
|
/linux-master/tools/testing/selftests/powerpc/tm/ |
H A D | tm-signal-pagefault.c | 95 pollfd.events = POLLIN;
|
/linux-master/tools/testing/selftests/ir/ |
H A D | ir_loopback.c | 176 struct pollfd pfd = { .fd = rlircfd, .events = POLLIN };
|
/linux-master/tools/include/nolibc/ |
H A D | types.h | 160 #define POLLIN 0x0001 macro
|
/linux-master/tools/testing/selftests/mm/ |
H A D | uffd-common.c | 518 pollfd[0].events = POLLIN; 520 pollfd[1].events = POLLIN; 532 if (!(pollfd[1].revents & POLLIN)) 538 if (!(pollfd[0].revents & POLLIN))
|