Home
last modified time | relevance | path

Searched refs:POLLERR (Results 1 – 25 of 36) sorted by relevance

12

/linux/Documentation/userspace-api/media/v4l/
H A Dfunc-poll.rst53 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 Dfunc-select.rst116 return a ``POLLERR``.
/linux/Documentation/translations/zh_CN/accounting/
H A Dpsi.rst133 if (fds.revents & POLLERR) {
134 printf("got POLLERR, event source is gone\n");
/linux/Documentation/translations/zh_CN/networking/
H A Dmsg_zerocopy.rst112 设置 POLLERR。该标志不需要在 events 字段中设置。错误会无条件地发出信号。
118 if (poll(&pfd, 1, -1) != 1 || pfd.revents & POLLERR == 0)
H A Dtimestamping.rst416 select。poll() 将在 pollfd.revents 中返回 POLLERR,如果错误队列
/linux/tools/testing/vsock/
H A Dvsock_perf.c207 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 Dvsock_test_zerocopy.c202 if (fds.revents & POLLERR) { in test_client()
396 !(fds.revents & POLLERR)) { in test_stream_msgzcopy_mangle_client()
/linux/tools/perf/tests/
H A Dfdarray.c128 FDA_ADD(1, 2, POLLERR, 2); in test__fdarray__add()
146 FDA_CHECK(1, 2, POLLERR); in test__fdarray__add()
H A Dbuiltin-test.c431 .events = POLLIN | POLLERR | POLLHUP | POLLNVAL, in finish_test()
/linux/include/uapi/asm-generic/
H A Dpoll.h9 #define POLLERR 0x0008 macro
/linux/tools/testing/selftests/sync/
H A Dsync.c63 fds.events = POLLIN | POLLERR; in sync_wait()
/linux/tools/testing/selftests/net/
H A Dpsock_tpacket.c233 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 Dso_txtime.c231 struct pollfd pfd = { .fd = fdt, .events = POLLERR }; in recv_errqueue_msgs()
240 if (ret && (pfd.revents & POLLERR)) in recv_errqueue_msgs()
H A Dmsg_zerocopy.c479 if (do_poll(fd, domain == PF_RDS ? POLLIN : POLLERR)) in do_recv_remaining_completions()
/linux/Documentation/userspace-api/media/mediactl/
H A Drequest-func-poll.rst51 set the ``POLLERR`` flag in ``revents``.
/linux/Documentation/accounting/
H A Dpsi.rst163 if (fds.revents & POLLERR) {
164 printf("got POLLERR, event source is gone\n");
/linux/samples/cgroup/
H A Dmemcg_event_listener.c240 if (fds[0].revents & POLLERR) in monitor_events()
/linux/tools/perf/
H A Dbuiltin-daemon.c1308 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 Dmsg_zerocopy.rst123 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 Dkcm.rst92 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 Dne_ioctl_sample.c206 fds[0].events = POLLIN | POLLERR | POLLHUP; in ne_poll_enclave_fd()
/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.c746 if (fds.revents & (POLLERR | POLLNVAL)) { in copyfd_io_poll()
748 fds.events &= ~(POLLERR | POLLNVAL); in copyfd_io_poll()
/linux/drivers/android/binder/
H A Drust_binder_main.rs449 Err(_) => bindings::POLLERR, in rust_binder_poll()
/linux/Documentation/userspace-api/gpio/
H A Dsysfs.rst98 you use poll(2), set the events POLLPRI and POLLERR. If you
/linux/tools/lib/perf/
H A Devlist.c406 int pos = fdarray__add(&evlist->pollfd, fd, revent | POLLERR | POLLHUP, flags); in perf_evlist__add_pollfd()

12