Searched refs:poll (Results 26 - 50 of 360) sorted by relevance

1234567891011>>

/freebsd-current/sys/contrib/xen/io/
H A Dpvcalls.h105 } poll; member in union:xen_pvcalls_request::__anon73
140 } poll; member in union:xen_pvcalls_response::__anon74
/freebsd-current/tools/regression/netinet/tcpfullwindowrst/
H A Dtcpfullwindowrsttest.c33 #include <poll.h>
104 if (poll(pfd, 2, 1000) == 0) {
/freebsd-current/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_lock.h128 std::atomic<kmp_int32> poll; member in struct:kmp_base_tas_lock
130 std::atomic<kmp_int32> poll;
187 volatile kmp_int32 poll; // KMP_LOCK_FREE(futex) => unlocked member in struct:kmp_base_futex_lock
651 if ((gtid >= 0) && (lck->tas.lk.poll - 1 == gtid)) { \
655 if (lck->tas.lk.poll != 0 || \
656 !__kmp_atomic_compare_store_acq(&lck->tas.lk.poll, 0, gtid + 1)) { \
665 lck->tas.lk.poll != 0 || \
666 !__kmp_atomic_compare_store_acq(&lck->tas.lk.poll, 0, gtid + 1)); \
700 return ((lck->tas.lk.poll == 0) &&
701 __kmp_atomic_compare_store_acq(&lck->tas.lk.poll,
[all...]
/freebsd-current/contrib/netbsd-tests/lib/libc/gen/
H A Dt_sleep.c37 #include <poll.h>
221 ATF_TC(poll); variable
222 ATF_TC_HEAD(poll, tc)
225 atf_tc_set_md_var(tc, "descr", "Test poll(2) timing");
229 ATF_TC_BODY(poll, tc)
342 ATF_TP_ADD_TC(tp, poll);
/freebsd-current/contrib/netbsd-tests/net/fdpass/
H A Dfdpass.c41 #include <poll.h>
83 (void)poll(&pfd, 1, -1);
129 (void)poll(&pfd, 1, -1);
/freebsd-current/tools/test/stress2/misc/
H A Dmkfifo7.sh29 # mkfifo(2), poll(2) with tmpfs(5) scenario.
66 #include <poll.h>
96 if ((n = poll(&pfd, 1, 0)) == -1)
97 err(1, "poll()");
110 if ((n = poll(&pfd, 1, 7000)) == -1)
111 err(1, "poll()");
124 if ((n = poll(&pfd, 1, 7000)) == -1)
125 err(1, "poll()");
/freebsd-current/contrib/libarchive/libarchive/
H A Dfilter_fork_posix.c44 # include <poll.h>
46 # include <sys/poll.h>
217 poll(fds, idx, -1); /* -1 == INFTIM, wait forever */
/freebsd-current/tests/sys/netinet/
H A Dsocket_afinet.c32 #include <poll.h>
131 rc = poll(&pfd, 1, 0);
146 rc = poll(&pfd, 1, 60000);
195 rc = poll(&pfd, 1, 0);
208 rc = poll(&pfd, 1, 0);
229 rc = poll(&pfd, 1, 60000);
/freebsd-current/contrib/netbsd-tests/kernel/kqueue/read/
H A Dt_ttypty.c40 #include <poll.h>
89 RL(poll(&pfd, 1, INFTIM));
90 (void)printf("tty: returned from poll - %d\n", pfd.revents);
/freebsd-current/contrib/netbsd-tests/lib/librumphijack/
H A Dh_client.c31 #include <sys/poll.h>
110 if ((rv = poll(pfd, 2, INFTIM)) != 1)
111 errx(EXIT_FAILURE, "poll unexpected rv %d (%d)",
114 errx(EXIT_FAILURE, "poll unexpected revents");
/freebsd-current/usr.bin/talk/
H A Dio.c45 #include <poll.h>
111 nb = poll(fds, 2, INFTIM);
120 p_error("Unexpected error from poll");
/freebsd-current/lib/libusb/
H A Dlibusb_global_linux.h56 #include <sys/poll.h>
/freebsd-current/sys/sys/
H A Dpoll.h37 * This file is intended to be compatible with the traditional poll.h.
43 * This structure is passed as an array to poll(2).
46 int fd; /* which file descriptor to poll */
52 * Requestable events. If poll(2) finds any of these set, they are
58 * POLLIN includes all of normal, band and urgent data. Most poll handlers
79 #define POLLERR 0x0008 /* some poll error occurred */
89 * Request that poll() wait forever.
91 * by poll.h.
113 int poll(struct pollfd _pfd[], nfds_t _nfds, int _timeout);
/freebsd-current/contrib/libfido2/src/
H A Dhid_unix.c12 #include <poll.h>
/freebsd-current/sys/dev/ichiic/
H A Dig4_var.h96 bool poll: 1; member in struct:ig4iic_softc
/freebsd-current/contrib/bmake/
H A Djob.h85 * Emulate poll() in terms of select(). This is not a complete
89 #define poll emul_poll macro
106 * in poll before coming out to see if a child has finished.
/freebsd-current/lib/libsys/
H A Drecvmmsg.c33 #include <poll.h>
/freebsd-current/usr.sbin/ntp/libntpevent/
H A DMakefile13 evutil_rand.c evutil_time.c http.c kqueue.c listener.c log.c poll.c \
/freebsd-current/sys/compat/linuxkpi/common/src/
H A Dlinux_netdev.c97 * Check if a poll is running or can run and and if the latter
98 * make us as running. That way we ensure that only one poll
99 * can only ever run at the same time. Returns true if no poll
140 if (napi->poll != NULL)
141 rc = napi->poll(napi, napi->budget);
239 /* Someone tried to schedule while poll was running. Re-sched. */
302 KASSERT(napi->poll != NULL, ("%s: napi %p poll is NULL\n",
306 count = napi->poll(napi, napi->budget);
312 * when a driver may "poll" an
[all...]
/freebsd-current/contrib/ofed/librdmacm/examples/
H A Dcommon.h38 #include <poll.h>
59 #define rs_poll(f,n,t) use_rs ? rpoll(f,n,t) : poll(f,n,t)
/freebsd-current/lib/libdevdctl/
H A Dconsumer.cc38 #include <sys/poll.h>
236 result = poll(fds, NUM_ELEMENTS(fds), /*timeout*/0);
/freebsd-current/contrib/blocklist/test/
H A Dsrvtest.c48 #include <poll.h>
212 if (poll(pfd, __arraycount(pfd), INFTIM) == -1)
213 err(1, "poll");
/freebsd-current/contrib/ncurses/ncurses/
H A Dcurses.priv.h108 /* Some systems have a broken 'select()', but workable 'poll()'. Use that */
112 #include <poll.h>
114 #include <sys/poll.h>
/freebsd-current/crypto/openssh/regress/unittests/misc/
H A Dtest_ptimeout.c3 * Regress test for misc poll/ppoll timeout helpers.
18 # include <poll.h>
/freebsd-current/stand/userboot/
H A Duserboot.h73 int (*poll)(void *arg); member in struct:loader_callbacks

Completed in 327 milliseconds

1234567891011>>