/freebsd-current/tools/regression/sockets/udp_pingpong/ |
H A D | udp_pingpong.c | 44 #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 D | cap_test_capabilities.c | 46 #include <poll.h> 395 ret = poll(&pollfd, 1, 0);
|
/freebsd-current/lib/libpam/modules/pam_exec/ |
H A D | pam_exec.c | 40 #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 D | sys_bsd.c | 838 * 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 D | net_backend_slirp.c | 44 * 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 D | net_backends.c | 53 #include <poll.h>
|
/freebsd-current/sys/dev/nmdm/ |
H A D | nmdm.c | 47 #include <sys/poll.h>
|
/freebsd-current/usr.sbin/rpcbind/ |
H A D | util.c | 42 #include <sys/poll.h>
|
/freebsd-current/contrib/netcat/ |
H A D | netcat.c | 63 #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 D | filemon.c | 44 #include <sys/poll.h>
|
/freebsd-current/sys/cddl/dev/systrace/ |
H A D | systrace.c | 46 #include <sys/poll.h>
|
/freebsd-current/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_ft5406.c | 40 #include <sys/poll.h>
|
/freebsd-current/lib/libnetgraph/ |
H A D | msg.c | 238 n = poll(&rfds, 1, INFTIM); 242 NGLOG("poll");
|
/freebsd-current/sys/compat/linuxkpi/common/include/linux/ |
H A D | fs.h | 140 unsigned int (*poll) (struct linux_file *, struct poll_table_struct *); member in struct:file_operations
|
/freebsd-current/sys/dev/random/ |
H A D | randomdev.c | 40 #include <sys/poll.h>
|
/freebsd-current/sys/kern/ |
H A D | sys_eventfd.c | 44 #include <sys/poll.h>
|
/freebsd-current/contrib/hyperv/tools/ |
H A D | hv_kvp_daemon.c | 29 #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 D | netmap_user.h | 60 * 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 D | pmu.c | 94 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 D | path_test.c | 53 #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 D | ig4_iic.c | 75 #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 D | pkt-gen.c | 62 #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 D | ntpdate.c | 37 # 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 D | dpp-nfc.py | 303 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 D | ql_hw.c | 5423 * 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...] |