Searched refs:poll (Results 51 - 75 of 242) sorted by relevance

12345678910

/freebsd-9.3-release/contrib/nvi/ex/
H A Dex_script.c379 struct timeval poll; local
387 poll.tv_sec = 0;
388 poll.tv_usec = 0;
399 switch (select(maxfd + 1, &rdfd, NULL, NULL, &poll)) {
/freebsd-9.3-release/crypto/openssh/
H A Dsandbox-seccomp-filter.c105 SC_ALLOW(poll),
/freebsd-9.3-release/lib/libc/rpc/
H A Dpmap_rmt.c49 #include <sys/poll.h>
/freebsd-9.3-release/share/examples/drivers/
H A Dmake_pseudo_driver.sh152 static d_poll_t ${1}poll;
162 .d_poll = ${1}poll,
325 ${1}poll(struct cdev *dev, int which, struct thread *td)
/freebsd-9.3-release/sys/ofed/include/linux/
H A Dfs.h103 unsigned int (*poll) (struct file *, struct poll_table_struct *); member in struct:file_operations
H A Dlinux_compat.c388 if (filp->f_op->poll)
389 revents = filp->f_op->poll(filp, NULL) & events;
502 if (filp->f_op->poll)
503 revents = filp->f_op->poll(filp, NULL) & events;
/freebsd-9.3-release/contrib/ntp/sntp/libopts/compat/
H A Dcompat.h92 # include <sys/poll.h>
/freebsd-9.3-release/contrib/pf/libevent/
H A Dpoll.c1 /* $OpenBSD: poll.c,v 1.2 2002/06/25 15:50:15 mickey Exp $ */
41 #include <poll.h>
79 "poll",
93 /* Disable poll when this environment variable is set */
159 res = poll(pop->event_set, nfds, sec);
163 event_warn("poll");
172 event_debug(("%s: poll reports %d", __func__, res));
/freebsd-9.3-release/contrib/tnftp/
H A Dtnftp.h27 # include <poll.h>
29 # include <sys/poll.h>
113 /* we use poll */
117 # error "no poll() or select() found"
/freebsd-9.3-release/sys/dev/kbd/
H A Dkbdreg.h160 kbd_poll_mode_t *poll; member in struct:keyboard_switch
204 (*kbdsw[(kbd)->kb_index]->poll)((kbd), (on))
/freebsd-9.3-release/sys/dev/random/
H A Drandomdev_soft.c42 #include <sys/poll.h>
73 .poll = random_yarrow_poll,
/freebsd-9.3-release/tools/regression/security/cap_test/
H A Dcap_test_capabilities.c45 #include <poll.h>
200 ret = poll(&pollfd, 1, 0);
/freebsd-9.3-release/tools/tools/netmap/
H A Dbridge.c15 #include <sys/poll.h>
246 /* setup poll(2) variables. */
273 ret = poll(pollfd, 2, 2500);
275 D("poll %s [0] ev %x %x rx %d@%d tx %d,"
/freebsd-9.3-release/contrib/libpcap/
H A Dpcap-dag.c598 struct timeval poll; local
652 /* Set up default poll parameters for stream
656 &mindata, &maxwait, &poll) < 0) {
674 mindata, &maxwait, &poll) < 0) {
784 * "select()" and "poll()" don't work on DAG device descriptors.
1003 struct timeval poll; local
1006 &mindata, &maxwait, &poll) < 0) {
1021 mindata, &maxwait, &poll) < 0) {
/freebsd-9.3-release/contrib/wpa/wpa_supplicant/
H A Ddriver_i.h179 if (wpa_s->driver->poll) {
180 wpa_s->driver->poll(wpa_s->drv_priv);
/freebsd-9.3-release/lib/libkse/
H A Dkse.map21 poll;
/freebsd-9.3-release/lib/libthr/
H A Dpthread.map23 poll;
/freebsd-9.3-release/sbin/dhclient/
H A Ddispatch.c51 #include <poll.h>
139 * Wait for packets to come in using poll(). When a packet comes in,
157 error("Can't allocate poll structures.");
180 * int for poll, while not polling with a
205 error("No live interfaces to poll on - exiting.");
208 count = poll(fds, nfds, to_msec);
216 error("poll: %m");
/freebsd-9.3-release/share/examples/autofs/driver/
H A Dautodriver.c42 #include <sys/poll.h>
497 x = poll(pfd, cnt, 10000);
/freebsd-9.3-release/sys/dev/drm2/radeon/
H A Dradeon_drv.c226 .poll = drm_poll,
337 .poll = drm_poll,
/freebsd-9.3-release/sys/mips/cavium/octe/
H A Docte.c374 if (priv->poll == NULL)
376 priv->poll(ifp);
/freebsd-9.3-release/sys/sys/
H A Dsyscall.mk150 poll.o \
/freebsd-9.3-release/contrib/ntp/sntp/libevent/
H A DMakefile.am168 SYS_SRC += poll.c
/freebsd-9.3-release/contrib/netcat/
H A Dnetcat.c57 #include <poll.h>
703 if ((ret = poll(&pfd, 1, timeout)) == 1) {
714 err(1, "poll failed");
818 if ((n = poll(pfd, 2 - dflag, timeout)) < 0) {
904 if (poll(&pfd, 1, -1) == -1)
905 err(1, "poll");
/freebsd-9.3-release/contrib/ofed/management/infiniband-diags/src/
H A Dibstat.c56 #include <sys/poll.h>

Completed in 337 milliseconds

12345678910