Searched refs:poll (Results 201 - 225 of 360) sorted by relevance

1234567891011>>

/freebsd-current/sys/dev/kbdmux/
H A Dkbdmux.c51 #include <sys/poll.h>
148 int ks_polling; /* poll nesting count */
347 .poll = kbdmux_poll,
1337 /* set poll on slave keyboards */
/freebsd-current/tools/tools/netmap/
H A Dlb.c38 #include <sys/poll.h>
910 /* no need to poll, there are no packets pending */
925 rv = poll(pollfd, polli, poll_timeout);
928 RD(1, "poll error %s", strerror(errno));
/freebsd-current/tests/sys/fifo/
H A Dfifo_io.c38 #include <poll.h>
68 * - When a fifo is empty, poll, select, kqueue, and fionread report it is
71 * - When a fifo has data in it, poll, select, and kqueue report that it is
871 if (poll(fds, 1, 0) < 0) {
872 warn("%s: poll", testname);
1058 * test_events() uses poll(), select(), and kevent() to query the status of
1060 * based on earlier semantic tests: specifically, whether or not poll/select/
/freebsd-current/tests/sys/net/routing/
H A Drtsock_common.h38 #include <poll.h>
682 if (poll(&pfd, 1, poll_delay) == 0)
/freebsd-current/sys/contrib/dev/mediatek/mt76/
H A Ddma.c929 int (*poll)(struct napi_struct *napi, int budget))
942 netif_napi_add(&dev->napi_dev, &dev->napi[i], poll);
/freebsd-current/sys/dev/vkbd/
H A Dvkbd.c48 #include <sys/poll.h>
270 /* wakeup poll()ers */
533 /* wakeup ks_inq writers/poll()ers */
583 .poll = vkbd_poll,
1247 /* flush ks_inq and wakeup writers/poll()ers */
/freebsd-current/sbin/devd/
H A Ddevd.cc87 #include <poll.h>
993 s = poll(&pfd, 1, 0);
1073 * quickly, and poll the existing clients more often, so that we
/freebsd-current/tests/sys/fs/fusefs/
H A Dmockfs.cc42 #include <poll.h>
946 nready = poll(fds, 1, timeout_int);
1016 nready = poll(fds, 1, INFTIM);
/freebsd-current/sys/contrib/openzfs/lib/libzpool/
H A Dkernel.c30 #include <poll.h>
700 (void) poll(0, 0, ticks * (1000 / hz));
/freebsd-current/contrib/ntp/ntpd/
H A Dntpd.c1370 SCMP_SYS(poll),
1405 SCMP_SYS(poll),
H A Drefclock_gpsdjson.c140 # include <sys/poll.h>
144 # error need poll() or select()
270 gpsd_poll, /* transmit poll message */
1983 * socket for writeability. Use the 'poll()' API if available
1995 rc = poll(&pfd, 1, 0);
/freebsd-current/contrib/xz/src/xz/
H A Dfile_io.c19 # include <poll.h>
79 IO_WAIT_TIMEOUT, // poll() timed out
177 /// or poll() is needed to avoid a busy-wait loop, and the same race condition
198 const int ret = poll(pfd, 2, timeout);
207 message_error(_("%s: poll() failed: %s"),
/freebsd-current/contrib/wpa/src/drivers/
H A Ddriver_ndis.c1467 int poll; local
1493 poll = drv->mode == IEEE80211_MODE_IBSS;
1496 poll = 1;
1500 if (poll) {
3233 wpa_driver_ndis_ops.poll = wpa_driver_ndis_poll;
/freebsd-current/sys/contrib/rdma/krping/
H A Dkrping.c99 {"poll", OPT_NOPARAM, 'P'},
232 int poll; /* poll or block for rlat test */ member in struct:krping_cb
439 printk(KERN_ERR PFX "poll error %d\n", ret);
925 if (!cb->poll) {
941 if (!cb->poll) {
962 printk(KERN_ERR PFX "poll CQ failed %d\n", ne);
965 if (cb->poll && wc.status != IB_WC_SUCCESS) {
1089 printk(KERN_ERR PFX "poll CQ failed %d\n", ne);
1220 printk(KERN_ERR PFX "poll C
[all...]
/freebsd-current/sys/dev/irdma/
H A Dirdma_utils.c1734 bool poll; local
1737 poll = true;
1739 poll = false;
1741 cqp_request = irdma_alloc_and_get_cqp_request(iwcqp, !poll);
1756 if (poll) {
/freebsd-current/sys/compat/linuxkpi/common/src/
H A Dlinux_compat.c92 #include <linux/poll.h>
978 * This function atomically updates the poll wakeup state and returns
1139 temp = OPW(filp->_file, td, fop->poll(filp, NULL));
1169 if (filp->f_op->poll == NULL)
1463 if (fop->poll != NULL) {
1464 revents = OPW(file, td, fop->poll(filp,
/freebsd-current/crypto/openssh/
H A Dmonitor.c51 #include <poll.h>
54 # include <sys/poll.h>
483 if (poll(pfd, pfd[1].fd == -1 ? 1 : 2, -1) == -1) {
486 fatal_f("poll: %s", strerror(errno));
/freebsd-current/contrib/ntp/include/
H A Dntp_request.h486 u_int32 poll; /* system poll interval */ member in struct:info_sys
586 u_int32 peeraddr; /* address to poll */
588 u_char version; /* version number to poll with */
589 u_char minpoll; /* min host poll interval */
590 u_char maxpoll; /* max host poll interval */
598 u_int32 peeraddr; /* address to poll */
600 u_char version; /* version number to poll with */
601 u_char minpoll; /* min host poll interval */
602 u_char maxpoll; /* max host poll interva
[all...]
/freebsd-current/contrib/netbsd-tests/fs/puffs/h_dtfs/
H A Ddtfs_vnops.c29 #include <sys/poll.h>
/freebsd-current/sys/dev/netmap/
H A Dnetmap_pipe.c38 #include <sys/poll.h>
/freebsd-current/sys/dev/evdev/
H A Duinput.c37 #include <sys/poll.h>
382 debugf(state, "poll by thread %d", td->td_tid);
/freebsd-current/sys/dev/firewire/
H A Dif_fwe.c109 fc->poll(fc, (cmd == POLL_AND_CHECK_STATUS)?0:1, count);
/freebsd-current/sys/compat/linux/
H A Dlinux_event.c41 #include <sys/poll.h>
/freebsd-current/sys/netpfil/ipfilter/netinet/
H A Dmlfk_ipl.c140 #include <sys/poll.h>
165 /* poll */ ipfpoll,
/freebsd-current/tests/atf_python/sys/net/
H A Dvnet.py498 if pipe.poll(timeout):

Completed in 289 milliseconds

1234567891011>>