Searched refs:poll (Results 151 - 175 of 360) sorted by relevance

1234567891011>>

/freebsd-current/tools/regression/sockets/udp_pingpong/
H A Dudp_pingpong.c44 #include <poll.h>
439 pr = poll(&tcp->pfds[fdidx], 1, tout);
441 err(1, "%s: %s: poll(%d)", tcp->name, face, tcp->fds[fdidx]);
447 errx(1, "%s: %s: poll(%d): unexpected result", tcp->name, face,
/freebsd-current/tools/regression/security/cap_test/
H A Dcap_test_capabilities.c46 #include <poll.h>
395 ret = poll(&pollfd, 1, 0);
/freebsd-current/lib/libpam/modules/pam_exec/
H A Dpam_exec.c40 #include <sys/poll.h>
337 /* use poll() to watch the process and stdin / stdout / stderr */
369 if (poll(pfd, nfds, INFTIM) < 0) {
370 openpam_log(PAM_LOG_ERROR, "%s: poll(): %m", func);
/freebsd-current/contrib/telnet/telnet/
H A Dsys_bsd.c838 * The parameter specifies whether this is a poll operation,
845 process_rings(int netin, int netout, int netex, int ttyin, int ttyout, int poll)
892 (poll == 0)? (struct timeval *)0 : &TimeValue)) < 0) {
843 process_rings(int netin, int netout, int netex, int ttyin, int ttyout, int poll) argument
/freebsd-current/usr.sbin/bhyve/
H A Dnet_backend_slirp.c44 * which uses poll() and slirp_pollfds_poll() to drive libslirp events; this
54 #include <poll.h>
345 error = poll(pollfds, npollfds, timeout);
348 EPRINTLN("poll: %s", strerror(errno));
H A Dnet_backends.c53 #include <poll.h>
/freebsd-current/sys/dev/nmdm/
H A Dnmdm.c47 #include <sys/poll.h>
/freebsd-current/usr.sbin/rpcbind/
H A Dutil.c42 #include <sys/poll.h>
/freebsd-current/contrib/netcat/
H A Dnetcat.c63 #include <poll.h>
756 if ((ret = poll(&pfd, 1, timeout)) == 1) {
767 err(1, "poll failed");
910 /* poll */
911 num_fds = poll(pfd, 4, timeout);
913 /* treat poll errors */
968 /* read something - poll net out */
984 /* buffer no longer full - poll stdin again */
999 /* read something - poll stdout */
1019 /* buffer no longer full - poll ne
[all...]
/freebsd-current/sys/dev/filemon/
H A Dfilemon.c44 #include <sys/poll.h>
/freebsd-current/sys/cddl/dev/systrace/
H A Dsystrace.c46 #include <sys/poll.h>
/freebsd-current/sys/arm/broadcom/bcm2835/
H A Dbcm2835_ft5406.c40 #include <sys/poll.h>
/freebsd-current/lib/libnetgraph/
H A Dmsg.c238 n = poll(&rfds, 1, INFTIM);
242 NGLOG("poll");
/freebsd-current/sys/compat/linuxkpi/common/include/linux/
H A Dfs.h140 unsigned int (*poll) (struct linux_file *, struct poll_table_struct *); member in struct:file_operations
/freebsd-current/sys/dev/random/
H A Drandomdev.c40 #include <sys/poll.h>
/freebsd-current/sys/kern/
H A Dsys_eventfd.c44 #include <sys/poll.h>
/freebsd-current/contrib/hyperv/tools/
H A Dhv_kvp_daemon.c29 #include <sys/poll.h>
49 #include <poll.h>
1446 r = poll (hv_kvp_poll_fd, 1, INFTIM);
1448 KVP_LOG(LOG_DEBUG, "poll returned r = %d, revent = 0x%x\n",
1463 perror("poll");
/freebsd-current/sys/net/
H A Dnetmap_user.h60 * an ioctl()/select()/poll() being issued to refill rings or push
398 * In windows we do not have yet native poll support, so we keep track
399 * of file descriptors associated to netmap ports to emulate poll on
400 * them and fall back on regular poll on other file descriptors.
556 #include <sys/poll.h> /* XXX needed to use the structure pollfd */
564 return poll(fds, nfds, timeout);
579 #define poll win_nm_poll macro
/freebsd-current/sys/powerpc/powermac/
H A Dpmu.c94 u_char *data, u_char poll);
755 u_char poll)
774 if (poll)
754 pmu_adb_send(device_t dev, u_char command_byte, int len, u_char *data, u_char poll) argument
/freebsd-current/tests/sys/file/
H A Dpath_test.c53 #include <poll.h>
487 /* poll(2) never returns an event for path fds, but kevent(2) does. */
501 /* poll(2) should return POLLNVAL. */
505 ATF_REQUIRE_MSG(poll(&pollfd, 1, 0) == 1, FMT_ERR("poll"));
510 ATF_REQUIRE_MSG(poll(&pollfd, 1, 0) == 1, FMT_ERR("poll"));
/freebsd-current/sys/dev/ichiic/
H A Dig4_iic.c75 #define DO_POLL(sc) (cold || kdb_active || SCHEDULER_STOPPED() || sc->poll)
724 sc->poll = true;
730 sc->poll = false;
/freebsd-current/tools/tools/netmap/
H A Dpkt-gen.c62 #include <sys/poll.h>
1372 poll(NULL, 0, 1);
1474 if ( (rv = poll(&pfd, 1, 3000)) <= 0) {
1475 D("poll error on queue %d: %s", targ->me,
1610 if ( (rv = poll(&pfd, 1, 1000)) <= 0) {
1611 D("poll error on queue %d: %s", targ->me,
1793 if ( (rv = poll(&pfd, 1, 2000)) <= 0) {
1796 D("poll error on queue %d: %s", targ->me,
1801 D("poll error on %d ring %d-%d", pfd.fd,
1942 i = poll(
[all...]
/freebsd-current/contrib/ntp/ntpdate/
H A Dntpdate.c37 # include <poll.h>
160 int sys_numservers = 0; /* number of servers to poll */
164 int sys_version = NTP_VERSION; /* version to poll with */
266 sys_numservers = 0; /* number of servers to poll */
270 sys_version = NTP_VERSION; /* version to poll with */
573 nfound = poll(rdfdes, (unsigned int)nbsock, timeout.tv_sec * 1000);
590 "poll() error: %m"
599 "poll(): nfound = %d, error: %m",
1670 * handler we poll to see if the socket is ready and read the
1909 * Do a poll t
[all...]
/freebsd-current/contrib/wpa/wpa_supplicant/examples/
H A Ddpp-nfc.py303 if not self.socket.poll('recv', poll_timeout):
539 while socket.poll("recv"):
541 while socket.poll("recv"):
/freebsd-current/sys/dev/qlxgbe/
H A Dql_hw.c5423 * Handling rd poll entry.
5433 uint32_t read_addr, poll, mask, data; local
5441 poll = entry->poll;
5451 while (wait_count < poll) {
5464 if (wait_count == poll) {
5468 "%s: wait_count <0x%x> poll <0x%x>\n",
5469 __func__, wait_count, poll);
5489 * Handling rd modify write poll entry.
5499 uint32_t poll, mas local
[all...]

Completed in 374 milliseconds

1234567891011>>