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

1234567891011>>

/freebsd-current/sys/fs/deadfs/
H A Ddead_vnops.c37 #include <sys/poll.h>
/freebsd-current/sys/kern/
H A Dsubr_smr.c62 * sequence number observed by any reader as of the last poll. Any
91 * poll for expiration until a later time when it is likely to
131 * In this example cpuA has the lowest sequence number and poll can
140 * poll in pathological cases.
191 * case poll needs to attempt to forward the sequence number if the goal is
202 static COUNTER_U64_DEFINE_EARLY(poll);
203 SYSCTL_COUNTER_U64(_debug_smr, OID_AUTO, poll, CTLFLAG_RW, &poll, "");
266 * write sequence is too far behind the read sequence we have to poll
429 * the start of the poll
[all...]
/freebsd-current/lib/libsys/
H A Dinterposing_table.c49 SLOT(poll, __sys_poll),
/freebsd-current/contrib/capsicum-test/
H A Dselect.cc5 #include <poll.h>
127 EXPECT_OK(poll(cap_fd, kCapCount + 1, 10));
129 EXPECT_OK(poll(cap_fd, kCapCount + 2, 10));
/freebsd-current/contrib/sendmail/libmilter/
H A Dlibmilter.h171 # include <poll.h>
172 # define MI_POLLSELECT "poll"
201 poll(&(wrs), 1, MI_MS(timeout))
204 poll(&(rds), 1, MI_MS(timeout))
/freebsd-current/tools/tools/netrate/netreceive/
H A Dnetreceive.c30 #include <sys/poll.h>
109 if (poll(&fds, 1, -1) < 0)
110 perror("poll on thread");
170 if (poll(NULL, 0, 500) < 0)
171 perror("poll");
/freebsd-current/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_csupport.cpp1120 if (KMP_ATOMIC_LD_RLX(&l->lk.poll) != tas_free || \
1121 !__kmp_atomic_compare_store_acq(&l->lk.poll, tas_free, tas_busy)) { \
1135 KMP_ATOMIC_LD_RLX(&l->lk.poll) != tas_free || \
1136 !__kmp_atomic_compare_store_acq(&l->lk.poll, tas_free, tas_busy)); \
1147 rc = KMP_ATOMIC_LD_RLX(&l->lk.poll) == tas_free && \
1148 __kmp_atomic_compare_store_acq(&l->lk.poll, tas_free, tas_busy); \
1153 { KMP_ATOMIC_ST_REL(&((kmp_tas_lock_t *)lock)->lk.poll, KMP_LOCK_FREE(tas)); }
1175 &(ftx->lk.poll), KMP_LOCK_FREE(futex), \
1179 if (!KMP_COMPARE_AND_STORE_RET32(&(ftx->lk.poll), poll_val, \
1187 if ((rc = syscall(__NR_futex, &(ftx->lk.poll), FUTEX_WAI
[all...]
H A Dkmp_lock.cpp71 return KMP_LOCK_STRIP(KMP_ATOMIC_LD_RLX(&lck->lk.poll)) - 1;
83 kmp_uint32 curr = KMP_LOCK_STRIP(lck->lk.poll);
92 if (KMP_ATOMIC_LD_RLX(&lck->lk.poll) == tas_free &&
93 __kmp_atomic_compare_store_acq(&lck->lk.poll, tas_free, tas_busy)) {
112 } while (KMP_ATOMIC_LD_RLX(&lck->lk.poll) != tas_free ||
113 !__kmp_atomic_compare_store_acq(&lck->lk.poll, tas_free, tas_busy));
139 if (KMP_ATOMIC_LD_RLX(&lck->lk.poll) == tas_free &&
140 __kmp_atomic_compare_store_acq(&lck->lk.poll, tas_free, tas_busy)) {
161 KMP_ATOMIC_ST_REL(&lck->lk.poll, KMP_LOCK_FREE(tas));
187 lck->lk.poll
[all...]
/freebsd-current/sys/amd64/vmm/io/
H A Dvatpic.c70 bool poll; member in struct:atpic
284 atpic->poll = 0;
411 atpic->poll = ((val & OCW3_P) != 0);
635 if (atpic->poll) {
636 atpic->poll = 0;
830 SNAPSHOT_VAR_OR_LEAVE(atpic->poll, meta, ret, done);
/freebsd-current/contrib/openpam/lib/libpam/
H A Dopenpam_ttyconv.c41 #include <sys/poll.h>
156 if ((ret = poll(&pfd, 1, remaining_ms)) < 0) {
160 openpam_log(PAM_LOG_ERROR, "poll(): %m");
254 if ((ret = poll(&pfd, 1, remaining_ms)) < 0) {
/freebsd-current/contrib/netbsd-tests/lib/libc/sys/
H A Dt_pipe.c39 #include <poll.h>
/freebsd-current/contrib/ofed/librdmacm/examples/
H A Dcommon.c162 ret = poll(fds, 1, timeout);
/freebsd-current/contrib/ofed/librdmacm/
H A Drsocket.h40 #include <poll.h>
/freebsd-current/contrib/ntp/scripts/lib/NTP/
H A DUtil.pm103 my @columns = qw(tally host refid st t when poll reach delay offset jitter);
/freebsd-current/crypto/openssh/openbsd-compat/
H A Dbsd-poll.c33 #include "bsd-poll.h"
80 /* scan through select results and set poll() flags */
100 poll(struct pollfd *fds, nfds_t nfds, int timeout) function
104 /* poll timeout is msec, ppoll is timespec (sec + nsec) */
/freebsd-current/sys/dev/netmap/
H A Dnetmap_null.c35 #include <sys/poll.h>
/freebsd-current/sys/dev/usb/
H A Dusb_dev.h34 #include <sys/poll.h>
/freebsd-current/tools/test/stress2/misc/
H A Dpoll2.sh40 # - Thread P poll()s the pipe for POLLIN.
43 # Thread P uses non-blocking poll() (timeout == 0). When thread P does
52 # writer, there is a window where poll() will return POLLIN even though
79 #include <poll.h>
151 if ((r = poll(&pfd, 1, 0)) == -1)
152 err(1, "poll");
H A Dsocketpair3.sh44 #include <poll.h>
137 poll(&pfd, 1, -1);
/freebsd-current/sys/dev/intpm/
H A Dintpm.c57 int poll; member in struct:intsmb_softc
196 sc->poll = 1;
272 sc->poll = (value & PCI_INTR_SMB_ENABLE) == 0;
289 sc->poll == 0 ? "enabled" : "disabled");
292 if (!sc->poll && intr == PCI_INTR_SMB_SMI) {
295 sc->poll = 1;
298 if (sc->poll)
517 if (!sc->poll && !cold && !nointr)
595 if (sc->poll || cold)
/freebsd-current/usr.sbin/ntp/doc/
H A DMakefile20 parsenew.html poll.html pps.html prefer.html quick.html rate.html \
/freebsd-current/tests/sys/aio/
H A Daio_test.c155 poll(struct aiocb *aio) function
481 aio_file_test(poll, NULL, false);
556 aio_fifo_test(poll, NULL);
624 aio_unix_socketpair_test(poll, NULL, false);
701 aio_pty_test(poll, NULL);
758 aio_pipe_test(poll, NULL);
903 aio_md_test(poll, NULL, false);
1874 len = poll(&aio);
1890 len = poll(&aio);
1910 aio_file_test(poll, NUL
[all...]
/freebsd-current/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-current/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-current/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 "

Completed in 270 milliseconds

1234567891011>>