/openbmc/linux/tools/perf/tests/ |
H A D | fdarray.c | 41 fdarray__init_revents(fda, POLLIN); in test__fdarray__filter() 58 fda->entries[2].revents = POLLIN; in test__fdarray__filter() 70 fda->entries[0].revents = POLLIN; in test__fdarray__filter() 71 fda->entries[3].revents = POLLIN; in test__fdarray__filter() 127 FDA_ADD(0, 1, POLLIN, 1); in test__fdarray__add() 141 FDA_ADD(3, 88, POLLIN | POLLOUT, 4); in test__fdarray__add() 145 FDA_CHECK(0, 1, POLLIN); in test__fdarray__add() 148 FDA_CHECK(3, 88, POLLIN | POLLOUT); in test__fdarray__add()
|
/openbmc/linux/tools/testing/selftests/net/af_unix/ |
H A D | test_unix_oob.c | 241 wait_for_data(pfd, POLLIN | POLLPRI); in main() 266 wait_for_data(pfd, POLLIN | POLLPRI); in main() 304 wait_for_data(pfd, POLLIN | POLLPRI); in main() 336 wait_for_data(pfd, POLLIN | POLLPRI); in main() 367 wait_for_data(pfd, POLLIN | POLLPRI); in main() 399 wait_for_data(pfd, POLLIN | POLLPRI); in main() 429 wait_for_data(pfd, POLLIN | POLLPRI); in main()
|
/openbmc/linux/tools/testing/selftests/kvm/lib/ |
H A D | userfaultfd_util.c | 46 pollfd[0].events = POLLIN; in uffd_handler_thread_fn() 48 pollfd[1].events = POLLIN; in uffd_handler_thread_fn() 69 if (pollfd[1].revents & POLLIN) { in uffd_handler_thread_fn() 76 if (!(pollfd[0].revents & POLLIN)) in uffd_handler_thread_fn()
|
/openbmc/libmctp/utils/ |
H A D | mctp-pipe.c | 61 pollfds[0].events = POLLIN; in main() 63 pollfds[1].events = POLLIN; in main() 65 pollfds[2].events = POLLIN; in main()
|
/openbmc/phosphor-mboxd/ |
H A D | mboxd.c | 59 context->fds[i].events = POLLIN; in poll_loop() 71 if (context->fds[SIG_FD].revents & POLLIN) { /* Signal */ in poll_loop() 105 if (context->fds[DBUS_FD].revents & POLLIN) { /* DBUS */ in poll_loop() 117 if (context->fds[MBOX_FD].revents & POLLIN) { /* MBOX */ in poll_loop()
|
/openbmc/obmc-console/ |
H A D | socket-handler.c | 121 events = POLLIN; in client_set_blocked() 277 if (events & POLLIN) { in client_poll() 316 if (!(events & POLLIN)) { in socket_poll() 334 client->fd, POLLIN, client); in socket_poll() 395 client->fd, POLLIN, client); in dbus_create_socket_consumer() 491 NULL, sh->sd, POLLIN, NULL); in socket_init()
|
H A D | tty-handler.c | 78 events = POLLIN; in tty_set_blocked() 168 if (events & POLLIN) { in tty_poll() 299 NULL, th->fd, POLLIN, NULL); in tty_init()
|
/openbmc/linux/arch/um/drivers/ |
H A D | ubd_user.c | 40 kernel_pollfd.events = POLLIN; in start_io_thread() 70 kernel_pollfd.events = POLLIN; in ubd_read_poll()
|
/openbmc/linux/tools/testing/selftests/cgroup/ |
H A D | wait_inotify.c | 33 struct pollfd fds = { .events = POLLIN, }; in main() 73 if ((ret > 0) && (fds.revents & POLLIN)) in main()
|
/openbmc/linux/samples/uhid/ |
H A D | uhid-example.c | 430 pfds[0].events = POLLIN; in main() 432 pfds[1].events = POLLIN; in main() 450 if (pfds[0].revents & POLLIN) { in main() 455 if (pfds[1].revents & POLLIN) { in main()
|
/openbmc/linux/tools/testing/selftests/pidfd/ |
H A D | pidfd_poll_test.c | 32 fds.events = POLLIN; in main() 97 if (!(fds.revents & POLLIN)) in main()
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_tsol.c | 509 fds_wait[0].events = POLLIN; in ipmi_tsol_main() 512 fds_wait[1].events = POLLIN; in ipmi_tsol_main() 519 fds_data_wait[0].events = POLLIN | POLLOUT; in ipmi_tsol_main() 522 fds_data_wait[1].events = POLLIN; in ipmi_tsol_main() 540 if ((fds[0].revents & POLLIN) && (sizeof(out_buff) > out_buff_fill)) { in ipmi_tsol_main() 561 if ((fds[1].revents & POLLIN) && (sizeof(in_buff) > in_buff_fill)) { in ipmi_tsol_main()
|
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/ |
H A D | net_handler.cpp | 76 fds.events = POLLIN; in copyFrom() 89 else if (fds.revents != POLLIN) in copyFrom()
|
/openbmc/linux/tools/testing/selftests/filesystems/epoll/ |
H A D | epoll_wakeup_test.c | 68 pfd.events = POLLIN; in waiter_entry1ap() 95 pfd.events = POLLIN; in waiter_entry1op() 122 pfd.events = POLLIN; in waiter_entry2ap() 319 pfd.events = POLLIN; in TEST() 324 pfd.events = POLLIN; in TEST() 358 pfd.events = POLLIN; in TEST() 363 pfd.events = POLLIN; in TEST() 403 pfd.events = POLLIN; in TEST() 408 pfd.events = POLLIN; in TEST() 449 pfd.events = POLLIN; in TEST() [all …]
|
/openbmc/linux/tools/perf/ |
H A D | builtin-daemon.c | 448 .events = POLLIN, in daemon_session__wait() 487 .events = POLLIN, in daemon__wait() 513 struct pollfd pollfd = { .events = POLLIN, }; in daemon_session__control() 562 if (!(pollfd.revents & POLLIN)) { in daemon_session__control() 1307 sock_pos = fdarray__add(&fda, sock_fd, POLLIN|POLLERR|POLLHUP, 0); in __cmd_start() 1311 file_pos = fdarray__add(&fda, conf_fd, POLLIN|POLLERR|POLLHUP, 0); in __cmd_start() 1315 signal_pos = fdarray__add(&fda, signal_fd, POLLIN|POLLERR|POLLHUP, 0); in __cmd_start() 1329 if (fda.entries[sock_pos].revents & POLLIN) in __cmd_start() 1331 if (fda.entries[file_pos].revents & POLLIN) in __cmd_start() 1333 if (fda.entries[signal_pos].revents & POLLIN) in __cmd_start()
|
/openbmc/linux/tools/lib/api/ |
H A D | io.h | 61 .events = POLLIN, in io__get_char() 68 if (n > 0 && !(pfds[0].revents & POLLIN)) { in io__get_char()
|
/openbmc/btbridge/ |
H A D | btbridged.c | 429 context->fds[BT_FD].events = POLLIN; in bt_host_write() 438 if (context->fds[TIMER_FD].revents & POLLIN) { in dispatch_timer() 504 if (context->fds[BT_FD].revents & POLLIN) { in dispatch_bt() 720 context->fds[SD_BUS_FD].events = POLLIN; in main() 721 context->fds[BT_FD].events = POLLIN; in main() 722 context->fds[TIMER_FD].events = POLLIN; in main()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | udpgso_bench_rx.c | 97 pfd.events = POLLIN; in do_poll() 120 if (pfd.revents != POLLIN) in do_poll() 122 pfd.revents, POLLIN); in do_poll()
|
/openbmc/qemu/audio/ |
H A D | sndioaudio.c | 146 events |= POLLIN; in sndio_poll_wait() 163 (pfd->events & POLLIN) ? sndio_poll_in : NULL, in sndio_poll_wait() 203 if (revents & POLLIN) { in sndio_poll_event() 311 sndio_poll_event(pindex->self, pindex->index, POLLIN); in sndio_poll_in()
|
/openbmc/hiomapd/ |
H A D | mboxd.c | 125 context->fds[i].events = POLLIN; in poll_loop() 137 if (context->fds[SIG_FD].revents & POLLIN) { /* Signal */ in poll_loop() 166 if (context->fds[DBUS_FD].revents & POLLIN) { /* DBUS */ in poll_loop()
|
/openbmc/libpldm/src/transport/ |
H A D | test.c | 75 { .fd = test->timerfd, .events = POLLIN }, in pldm_transport_test_init_pollfd() 94 pollfd->events = POLLIN; in pldm_transport_test_init_pollfd()
|
/openbmc/linux/include/uapi/asm-generic/ |
H A D | poll.h | 6 #define POLLIN 0x0001 macro
|
/openbmc/linux/tools/testing/vsock/ |
H A D | README | 64 POLLIN wakeups: C 70 C is number of 'poll()' wake ups with POLLIN bit set.
|
/openbmc/linux/samples/nitro_enclaves/ |
H A D | ne_ioctl_sample.c | 206 fds[0].events = POLLIN | POLLERR | POLLHUP; in ne_poll_enclave_fd() 697 fds[0].events = POLLIN; in ne_start_enclave_check_booted() 714 if ((fds[0].revents & POLLIN) == 0) { in ne_start_enclave_check_booted()
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | uffd-common.c | 507 pollfd[0].events = POLLIN; in uffd_poll_thread() 509 pollfd[1].events = POLLIN; in uffd_poll_thread() 521 if (!(pollfd[1].revents & POLLIN)) in uffd_poll_thread() 527 if (!(pollfd[0].revents & POLLIN)) in uffd_poll_thread()
|