| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | func-poll.rst | 53 function succeeds, but sets the ``POLLERR`` flag in the ``revents`` 57 :c:func:`poll()` function succeeds and sets the ``POLLERR`` flag in 68 capturing. When that fails it returns a ``POLLERR`` as above. Otherwise 75 streaming. When that fails it returns a ``POLLERR`` as above. Otherwise
|
| H A D | func-select.rst | 116 return a ``POLLERR``.
|
| /linux/Documentation/translations/zh_CN/accounting/ |
| H A D | psi.rst | 133 if (fds.revents & POLLERR) { 134 printf("got POLLERR, event source is gone\n");
|
| /linux/Documentation/translations/zh_CN/networking/ |
| H A D | msg_zerocopy.rst | 112 设置 POLLERR。该标志不需要在 events 字段中设置。错误会无条件地发出信号。 118 if (poll(&pfd, 1, -1) != 1 || pfd.revents & POLLERR == 0)
|
| H A D | timestamping.rst | 416 select。poll() 将在 pollfd.revents 中返回 POLLERR,如果错误队列
|
| /linux/tools/testing/vsock/ |
| H A D | vsock_perf.c | 207 fds.events = POLLIN | POLLERR | in run_receiver() 213 if (fds.revents & POLLERR) { in run_receiver() 338 if (!(fds.revents & POLLERR)) { in run_sender()
|
| H A D | vsock_test_zerocopy.c | 202 if (fds.revents & POLLERR) { in test_client() 396 !(fds.revents & POLLERR)) { in test_stream_msgzcopy_mangle_client()
|
| /linux/tools/perf/tests/ |
| H A D | fdarray.c | 128 FDA_ADD(1, 2, POLLERR, 2); in test__fdarray__add() 146 FDA_CHECK(1, 2, POLLERR); in test__fdarray__add()
|
| H A D | builtin-test.c | 431 .events = POLLIN | POLLERR | POLLHUP | POLLNVAL, in finish_test()
|
| /linux/include/uapi/asm-generic/ |
| H A D | poll.h | 9 #define POLLERR 0x0008 macro
|
| /linux/tools/testing/selftests/sync/ |
| H A D | sync.c | 63 fds.events = POLLIN | POLLERR; in sync_wait()
|
| /linux/tools/testing/selftests/net/ |
| H A D | psock_tpacket.c | 233 pfd.events = POLLIN | POLLERR; in walk_v1_v2_rx() 412 pfd.events = POLLOUT | POLLERR; in walk_tx() 594 pfd.events = POLLIN | POLLERR; in walk_v3_rx()
|
| H A D | so_txtime.c | 231 struct pollfd pfd = { .fd = fdt, .events = POLLERR }; in recv_errqueue_msgs() 240 if (ret && (pfd.revents & POLLERR)) in recv_errqueue_msgs()
|
| H A D | msg_zerocopy.c | 479 if (do_poll(fd, domain == PF_RDS ? POLLIN : POLLERR)) in do_recv_remaining_completions()
|
| /linux/Documentation/userspace-api/media/mediactl/ |
| H A D | request-func-poll.rst | 51 set the ``POLLERR`` flag in ``revents``.
|
| /linux/Documentation/accounting/ |
| H A D | psi.rst | 163 if (fds.revents & POLLERR) { 164 printf("got POLLERR, event source is gone\n");
|
| /linux/samples/cgroup/ |
| H A D | memcg_event_listener.c | 240 if (fds[0].revents & POLLERR) in monitor_events()
|
| /linux/tools/perf/ |
| H A D | builtin-daemon.c | 1308 sock_pos = fdarray__add(&fda, sock_fd, POLLIN|POLLERR|POLLHUP, 0); in __cmd_start() 1312 file_pos = fdarray__add(&fda, conf_fd, POLLIN|POLLERR|POLLHUP, 0); in __cmd_start() 1316 signal_pos = fdarray__add(&fda, signal_fd, POLLIN|POLLERR|POLLHUP, 0); in __cmd_start()
|
| /linux/Documentation/networking/ |
| H A D | msg_zerocopy.rst | 123 POLLERR in its output flags. That flag does not have to be set in the 130 if (poll(&pfd, 1, -1) != 1 || pfd.revents & POLLERR == 0)
|
| H A D | kcm.rst | 92 posted on the TCP socket so that a POLLERR event happens and KCM discontinues 274 TCP socket attached to a KCM multiplexor in epoll set for POLLERR
|
| /linux/samples/nitro_enclaves/ |
| H A D | ne_ioctl_sample.c | 206 fds[0].events = POLLIN | POLLERR | POLLHUP; in ne_poll_enclave_fd()
|
| /linux/tools/testing/selftests/net/mptcp/ |
| H A D | mptcp_connect.c | 746 if (fds.revents & (POLLERR | POLLNVAL)) { in copyfd_io_poll() 748 fds.events &= ~(POLLERR | POLLNVAL); in copyfd_io_poll()
|
| /linux/drivers/android/binder/ |
| H A D | rust_binder_main.rs | 449 Err(_) => bindings::POLLERR, in rust_binder_poll()
|
| /linux/Documentation/userspace-api/gpio/ |
| H A D | sysfs.rst | 98 you use poll(2), set the events POLLPRI and POLLERR. If you
|
| /linux/tools/lib/perf/ |
| H A D | evlist.c | 406 int pos = fdarray__add(&evlist->pollfd, fd, revent | POLLERR | POLLHUP, flags); in perf_evlist__add_pollfd()
|