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

1234567891011>>

/freebsd-11-stable/contrib/openpam/lib/libpam/
H A Dopenpam_ttyconv.c43 #include <sys/poll.h>
158 if ((ret = poll(&pfd, 1, remaining_ms)) < 0) {
162 openpam_log(PAM_LOG_ERROR, "poll(): %m");
256 if ((ret = poll(&pfd, 1, remaining_ms)) < 0) {
/freebsd-11-stable/sys/dev/intpm/
H A Dintpm.c60 int poll; member in struct:intsmb_softc
194 sc->poll = 1;
269 sc->poll = (value & PCI_INTR_SMB_ENABLE) == 0;
286 sc->poll == 0 ? "enabled" : "disabled");
289 if (!sc->poll && intr == PCI_INTR_SMB_SMI) {
292 sc->poll = 1;
295 if (sc->poll)
514 if (!sc->poll && !cold && !nointr)
592 if (sc->poll || cold)
/freebsd-11-stable/contrib/ntp/scripts/lib/NTP/
H A DUtil.pm103 my @columns = qw(tally host refid st t when poll reach delay offset jitter);
/freebsd-11-stable/sys/dev/usb/
H A Dusb_dev.h33 #include <sys/poll.h>
/freebsd-11-stable/contrib/ofed/librdmacm/examples/
H A Dcommon.c162 ret = poll(fds, 1, timeout);
/freebsd-11-stable/contrib/ofed/librdmacm/
H A Drsocket.h40 #include <poll.h>
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dbsd-poll.c29 #include "bsd-poll.h"
32 * A minimal implementation of poll(2), built on top of select(2).
41 poll(struct pollfd *fds, nfds_t nfds, int timeout) function
82 /* poll timeout is msec, select is timeval (sec + usec) */
92 /* scan through select results and set poll() flags */
H A DMakefile.in21 COMPAT=arc4random.o bsd-asprintf.o bsd-closefrom.o bsd-cray.o bsd-cygwin_util.o bsd-getpeereid.o getrrsetbyname-ldns.o bsd-err.o bsd-misc.o bsd-nextstep.o bsd-openpty.o bsd-poll.o bsd-setres_id.o bsd-snprintf.o bsd-statvfs.o bsd-waitpid.o fake-rfc2553.o openssl-compat.o xcrypt.o kludge-fd_set.o
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_pipe.c39 #include <poll.h>
/freebsd-11-stable/usr.sbin/ntp/doc/
H A DMakefile20 parsenew.html poll.html pps.html prefer.html quick.html rate.html \
/freebsd-11-stable/sys/dev/netmap/
H A Dnetmap_null.c36 #include <sys/poll.h>
/freebsd-11-stable/contrib/apr/
H A Dbuild-outputs.mk81 poll/unix/epoll.lo: poll/unix/epoll.c .make.dirs include/apr_allocator.h include/apr_dso.h include/apr_errno.h include/apr_file_info.h include/apr_file_io.h include/apr_general.h include/apr_global_mutex.h include/apr_inherit.h include/apr_network_io.h include/apr_perms_set.h include/apr_poll.h include/apr_pools.h include/apr_portable.h include/apr_proc_mutex.h include/apr_shm.h include/apr_tables.h include/apr_thread_mutex.h include/apr_thread_proc.h include/apr_time.h include/apr_user.h include/apr_want.h
82 poll/unix/kqueue.lo: poll/unix/kqueue.c .make.dirs include/apr_allocator.h include/apr_dso.h include/apr_errno.h include/apr_file_info.h include/apr_file_io.h include/apr_general.h include/apr_global_mutex.h include/apr_inherit.h include/apr_network_io.h include/apr_perms_set.h include/apr_poll.h include/apr_pools.h include/apr_portable.h include/apr_proc_mutex.h include/apr_shm.h include/apr_tables.h include/apr_thread_mutex.h include/apr_thread_proc.h include/apr_time.h include/apr_user.h include/apr_want.h
83 poll/unix/poll.lo: poll/unix/poll.c .make.dirs include/apr_allocator.h include/apr_dso.h include/apr_errno.h include/apr_file_info.h include/apr_file_io.h include/apr_general.h include/apr_global_mutex.h include/apr_inherit.h include/apr_network_io.h include/apr_perms_set.h include/apr_poll.h include/apr_pools.h include/apr_portable.h include/apr_proc_mutex.h include/apr_shm.h include/apr_tables.h include/apr_thread_mutex.h include/apr_thread_proc.h include/apr_time.h include/apr_user.h include/apr_want.h
84 poll/unix/pollcb.lo: poll/uni
[all...]
/freebsd-11-stable/contrib/ntp/sntp/libevent/
H A Dpoll.c1 /* $OpenBSD: poll.c,v 1.2 2002/06/25 15:50:15 mickey Exp $ */
39 #include <poll.h>
76 "poll",
171 res = poll(event_set, nfds, msec);
177 event_warn("poll");
184 event_debug(("%s: poll reports %d", __func__, res));
/freebsd-11-stable/contrib/libstdc++/config/io/
H A Dbasic_file_stdio.cc40 #include <poll.h>
355 if (poll(__pfd, 1, 0) <= 0)
/freebsd-11-stable/sys/mips/cavium/octe/
H A Dethernet-common.c273 * If there is a device-specific poll method, use it.
275 if (priv->poll != NULL) {
276 priv->poll(ifp);
/freebsd-11-stable/sys/dev/qlxgbe/
H A Dql_minidump.h426 * Read with poll.
443 uint32_t poll; member in struct:ql_minidump_entry_rdcrb_with_poll_s
452 * Read_Modify_Write with poll.
462 uint32_t poll; member in struct:ql_minidump_entry_rd_modify_wr_with_poll_s
/freebsd-11-stable/contrib/hyperv/tools/
H A Dhv_vss_daemon.c11 #include <poll.h>
204 r = poll(hv_vss_poll_fd, 1, INFTIM);
206 VSS_LOG(LOG_DEBUG, "poll returned r = %d, revent = 0x%x\n",
217 * For poll return failure other than EAGAIN,
221 perror("poll");
/freebsd-11-stable/cddl/usr.sbin/zfsd/
H A Dzfsd.cc51 #include <poll.h>
350 result = poll(fds, NUM_ELEMENTS(fds), /*timeout*/INFTIM);
357 errx(1, "Unexpected result of 0 from poll. Exiting");
/freebsd-11-stable/contrib/ofed/infiniband-diags/src/
H A Drdma-ndd.c38 #include <poll.h>
334 rc = poll(fds, numfds, -1);
392 "when attempting to poll and or read the hostname "
/freebsd-11-stable/sys/kern/
H A Dcapabilities.conf468 ## Allow poll(2), which will be scoped by capability rights.
490 ## Allow poll(2), which will be scoped by capability rights.
493 poll
/freebsd-11-stable/crypto/openssl/crypto/rand/
H A Drand_unix.c130 # include <poll.h>
319 /* use poll() */
326 if (poll(&pset, 1, usec / 1000) < 0)
/freebsd-11-stable/sys/compat/freebsd32/
H A Dcapabilities.conf199 poll
/freebsd-11-stable/contrib/netbsd-tests/kernel/
H A Dt_pty.c17 #include <poll.h>
215 if ((ret = poll(&pfd, 1, 2000)) == -1)
216 err(EXIT_FAILURE, "child: poll()");
/freebsd-11-stable/contrib/libpcap/
H A Dpcap-netmap.c31 #include <poll.h>
112 ret = poll(&pfd, 1, p->opt.timeout);
118 /* XXX need to check the NIOCTXSYNC/poll */
/freebsd-11-stable/contrib/libpcap/testprogs/
H A Dselpolltest.c31 * Tests how select() and poll() behave on the selectable file descriptor
51 #include <poll.h>
108 mechanism = "poll() and pcap_dispatch()";
126 fprintf(stderr, "selpolltest: choose select (-s) or poll (-p), but not both\n");
130 fprintf(stderr, "selpolltest: timeout (-t) requires select (-s) or poll (-p)\n");
161 * We need either an FD on which to do select()/poll()
163 * poll().
171 error("select()/poll() isn't supported on %s, even with a timeout",
175 * As we won't be notified by select() or poll()
278 status = poll(
[all...]

Completed in 313 milliseconds

1234567891011>>