Home
last modified time | relevance | path

Searched refs:poll (Results 751 - 775 of 2303) sorted by relevance

1...<<31323334353637383940>>...93

/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dtcp_mmap.c66 #include <poll.h>
217 poll(&pfd, 1, 10000); in child_thread()
H A Dso_txtime.c34 #include <poll.h>
233 ret = poll(&pfd, 1, timeout_ms); in recv_errqueue_msgs()
235 error(1, errno, "poll"); in recv_errqueue_msgs()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_metadata.c16 #include <poll.h>
239 ret = poll(&fds, 1, 1000); in verify_xsk_metadata()
240 if (!ASSERT_GT(ret, 0, "poll")) in verify_xsk_metadata()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dxdp_hw_metadata.c29 #include <poll.h>
253 ret = poll(fds, rxq + 1, 1000); in verify_metadata()
254 printf("poll: %d (%d) skip=%llu fail=%llu redir=%llu\n", in verify_metadata()
395 /* interrupting poll() is all we need */ in handle_signal()
/kernel/linux/linux-6.6/tools/testing/selftests/cgroup/
H A Dcgroup_util.c8 #include <poll.h>
643 ret = poll(&fds, 1, 10000); in cg_wait_for()
/kernel/linux/linux-6.6/tools/virtio/
H A Dvirtio_test.c6 #include <poll.h>
155 * for the wait queue on poll and another one on read,
162 poll(dev->fds, dev->nvqs, -1); in wait_for_interrupt()
/kernel/linux/linux-6.6/drivers/s390/char/
H A Dmonreader.c23 #include <linux/poll.h>
442 .poll = &mon_poll,
/kernel/linux/linux-6.6/tools/iio/
H A Diio_generic_buffer.c27 #include <poll.h>
730 ret = poll(&pfd, 1, -1); in main()
/third_party/ffmpeg/libavdevice/
H A Diec61883.c28 #include <poll.h>
88 struct pollfd raw1394_poll; ///< to poll for new data from libraw1394
162 while ((result = poll(&dv->raw1394_poll, 1, 200)) < 0) { in iec61883_receive_task()
164 av_log(NULL, AV_LOG_ERROR, "Raw1394 poll error occurred.\n"); in iec61883_receive_task()
/third_party/ffmpeg/libavformat/
H A Dnetwork.c74 ret = poll(&p, 1, POLLING_TIME); in ff_network_wait_fd()
168 ret = poll(p, nfds, POLLING_TIME); in ff_poll_interrupt()
467 // Check the status from the poll output. in ff_connect_parallel()
/third_party/alsa-utils/alsactl/
H A Ddaemon.c31 #include <poll.h>
410 error("poll prepare failed: %i", k); in state_daemon()
415 i = poll(pfd, j, (period / 2) * 1000); in state_daemon()
419 error("poll failed: %s", strerror(errno)); in state_daemon()
429 error("poll post failed: %i\n", k); in state_daemon()
/third_party/alsa-utils/amidi/
H A Damidi.c36 #include <poll.h>
688 err = poll(pfds, npfds, -1); in main()
692 error("poll failed: %s", strerror(errno)); in main()
703 error("cannot get poll events: %s", snd_strerror(errno)); in main()
/third_party/alsa-lib/test/
H A Dplaymidi1.c124 if ((rc = poll(pfds, npfds, -1)) < 0) { in write_ev()
125 printf("poll error = %i (%s)\n", rc, snd_strerror(errno)); in write_ev()
382 if ((left = poll(pfds, npfds, -1)) < 0) { in wait_for_event()
383 printf("poll error = %i (%s)\n", errno, snd_strerror(errno)); in wait_for_event()
/third_party/libuv/src/unix/
H A Dinternal.h74 # include <sys/poll.h>
76 # include <poll.h>
/third_party/libwebsockets/include/
H A Dlibwebsockets.h157 #include <poll.h>
423 // #include <poll.h>
507 int fd; /* File descriptor to poll. */
513 int poll(struct pollfd *fds, int nfds, int timeout);
568 /** struct lws_pollargs - argument structure for all external poll related calls
/third_party/libuv/test/
H A Dtest-fork.c51 static void socket_cb(uv_poll_t* poll, int status, int events) { in socket_cb() argument
61 uv_close((uv_handle_t*) poll, NULL); in socket_cb()
190 /* Run the loop AFTER the poll watcher is registered to make sure it in TEST_IMPL()
192 return to prove the poll watcher is active. in TEST_IMPL()
/third_party/ltp/lib/
H A Dtst_rtnetlink.c13 #include <sys/poll.h>
163 return poll(&fdinfo, 1, 1000); in tst_rtnl_wait()
/third_party/ntfs-3g/libfuse-lite/
H A Dmount.c21 #include <sys/poll.h>
378 res = poll(&pfd, 1, 0); in fuse_kern_unmount()
379 /* If file poll returns POLLERR on the device file descriptor, in fuse_kern_unmount()
/third_party/musl/porting/linux/user/src/fortify/
H A Dfortify.c21 #include <poll.h>
105 __diagnose_pollfd_array("poll", fds_size, fd_count); in __poll_chk()
106 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(poll)(fds, fd_count, timeout); in __poll_chk()
/third_party/musl/src/fortify/linux/
H A Dfortify.c21 #include <poll.h>
116 __diagnose_pollfd_array("poll", fds_size, fd_count); in __poll_chk()
117 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(poll)(fds, fd_count, timeout); in __poll_chk()
/third_party/musl/src/network/
H A Dres_msend.c8 #include <poll.h>
246 if (poll(pfd, nqueries+1, t1+retry_interval-t2) <= 0) continue; in res_msend_rc_ext()
/third_party/libinput/tools/
H A Dlibinput-debug-tablet.c31 #include <poll.h>
485 } while (!stop && poll(ctx->fds, 2, -1) > -1); in mainloop()
/third_party/ltp/utils/sctp/func_tests/
H A Dtest_tcp_style.c48 #include <sys/poll.h>
176 error = poll(&poll_fd, 1, -1); in main()
179 "with poll, error:%d errno:%d, revents:%d", in main()
/third_party/lwip/src/apps/http/
H A Daltcp_proxyconnect.c282 if (conn->poll) { in altcp_proxyconnect_lower_poll()
283 return conn->poll(conn->arg, conn); in altcp_proxyconnect_lower_poll()
/third_party/libfuse/lib/
H A Dmount.c24 #include <poll.h>
273 res = poll(&pfd, 1, 0); in fuse_kern_unmount()
282 /* If file poll returns POLLERR on the device file descriptor, in fuse_kern_unmount()

Completed in 21 milliseconds

1...<<31323334353637383940>>...93