Home
last modified time | relevance | path

Searched refs:poll (Results 1 – 25 of 571) sorted by relevance

12345678910>>...23

/freebsd-12-stable/tools/regression/poll/
Dsockpoll.c107 if (poll(&pfd0, 1, 0) == -1) in main()
110 if (poll(&pfd1, 1, 0) == -1) in main()
115 if (poll(&pfd0, 1, 0) == -1) in main()
118 if (poll(&pfd1, 1, 0) == -1) in main()
122 if (poll(&pfd1, 1, 0) == -1) in main()
127 if (poll(&pfd1, 1, 0) == -1) in main()
136 if (poll(&pfd0, 1, 0) == -1) in main()
139 if (poll(&pfd1, 1, 0) == -1) in main()
151 if (poll(&pfd1, 1, 0) == -1) in main()
156 if (poll(&pfd0, 1, 0) == -1) in main()
[all …]
Dpipepoll.c105 if ((res = poll(&pfd, 1, 0)) < 0) in child()
123 if ((res = poll(&pfd, 1, 0)) < 0) in child()
131 if ((res = poll(&pfd, 1, 0)) < 0) in child()
136 if ((res = poll(&pfd, 1, 0)) < 0) in child()
144 if ((res = poll(&pfd, 1, 0)) < 0) in child()
159 if ((res = poll(&pfd, 1, 0)) < 0) in child()
167 if ((res = poll(&pfd, 1, 0)) < 0) in child()
185 if ((res = poll(&pfd, 1, 0)) < 0) in child()
190 if ((res = poll(&pfd, 1, 0)) < 0) in child()
202 if ((res = poll(&pfd, 1, 0)) < 0) in child()
[all …]
DReadme1 $FreeBSD: stable/12/tools/regression/poll/Readme 195636 2009-07-12 12:50:43Z kib $
3 The directory contains poll(2) and select(2) compliance (and more) tests
/freebsd-12-stable/contrib/ldns/m4/
Dax_have_poll.m412 # This macro determines whether the system supports the poll I/O event
16 # [AX_CONFIG_FEATURE_ENABLE(poll)],
17 # [AX_CONFIG_FEATURE_DISABLE(poll)])
19 # [poll], [This platform supports poll(7)],
20 # [HAVE_POLL], [This platform supports poll(7).])
40 AC_MSG_CHECKING([for poll(2)])
44 [#include <poll.h>],
45 [int rc; rc = poll((struct pollfd *)(0), 0, 0);])],
60 #include <poll.h>
64 rc = poll((struct pollfd *)(0), 0, 0);
/freebsd-12-stable/sys/gnu/dts/arm/
Dat91-natte.dtsi74 poll-interval = <20000>;
90 poll-interval = <20000>;
106 poll-interval = <20000>;
122 poll-interval = <20000>;
138 poll-interval = <20000>;
154 poll-interval = <20000>;
170 poll-interval = <20000>;
186 poll-interval = <20000>;
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/sys/
Dt_poll.c54 (void)poll(&pfd, 1, 2000); in child1()
67 (void)poll(&pfd, 1, INFTIM); in child2()
81 (void)poll(&pfd, 1, INFTIM); in child3()
175 ATF_REQUIRE_EQ_MSG(ret = poll(&pfds[0], 1, 1), 0, in ATF_TC_BODY()
183 ATF_REQUIRE_EQ_MSG(ret = poll(&pfds[1], 1, 1), 1, in ATF_TC_BODY()
192 ATF_REQUIRE_EQ_MSG(ret = poll(pfds, 2, 1), 1, in ATF_TC_BODY()
204 ATF_REQUIRE_EQ_MSG(ret = poll(pfds, 2, 1), 2, in ATF_TC_BODY()
230 ATF_REQUIRE_ERRNO(EFAULT, poll((struct pollfd *)-1, 1, -1) == -1); in ATF_TC_BODY()
233 ATF_REQUIRE_ERRNO(EINVAL, poll(&pfd, 1, -2) == -1); in ATF_TC_BODY()
/freebsd-12-stable/contrib/llvm-project/openmp/runtime/src/
Dkmp_lock.h123 std::atomic<kmp_int32> poll; member
179 volatile kmp_int32 poll; // KMP_LOCK_FREE(futex) => unlocked member
647 if ((gtid >= 0) && (lck->tas.lk.poll - 1 == gtid)) { \
651 if (lck->tas.lk.poll != 0 || \
652 !__kmp_atomic_compare_store_acq(&lck->tas.lk.poll, 0, gtid + 1)) { \
658 } while (lck->tas.lk.poll != 0 || !__kmp_atomic_compare_store_acq( \
659 &lck->tas.lk.poll, 0, gtid + 1)); \
693 return ((lck->tas.lk.poll == 0) && in __kmp_test_user_lock_with_checks()
694 __kmp_atomic_compare_store_acq(&lck->tas.lk.poll, 0, gtid + 1)); in __kmp_test_user_lock_with_checks()
754 if (lck->tas.lk.poll - 1 == gtid) { \
[all …]
Dkmp_csupport.cpp1090 if (KMP_ATOMIC_LD_RLX(&l->lk.poll) != tas_free || \
1091 !__kmp_atomic_compare_store_acq(&l->lk.poll, tas_free, tas_busy)) { \
1105 KMP_ATOMIC_LD_RLX(&l->lk.poll) != tas_free || \
1106 !__kmp_atomic_compare_store_acq(&l->lk.poll, tas_free, tas_busy)); \
1117 rc = KMP_ATOMIC_LD_RLX(&l->lk.poll) == tas_free && \
1118 __kmp_atomic_compare_store_acq(&l->lk.poll, tas_free, tas_busy); \
1123 { KMP_ATOMIC_ST_REL(&((kmp_tas_lock_t *)lock)->lk.poll, KMP_LOCK_FREE(tas)); }
1145 &(ftx->lk.poll), KMP_LOCK_FREE(futex), \
1149 if (!KMP_COMPARE_AND_STORE_RET32(&(ftx->lk.poll), poll_val, \
1157 if ((rc = syscall(__NR_futex, &(ftx->lk.poll), FUTEX_WAIT, poll_val, \
[all …]
Dkmp_lock.cpp71 return KMP_LOCK_STRIP(KMP_ATOMIC_LD_RLX(&lck->lk.poll)) - 1; in __kmp_get_tas_lock_owner()
83 kmp_uint32 curr = KMP_LOCK_STRIP(lck->lk.poll); in __kmp_acquire_tas_lock_timed_template()
92 if (KMP_ATOMIC_LD_RLX(&lck->lk.poll) == tas_free && in __kmp_acquire_tas_lock_timed_template()
93 __kmp_atomic_compare_store_acq(&lck->lk.poll, tas_free, tas_busy)) { in __kmp_acquire_tas_lock_timed_template()
105 } while (KMP_ATOMIC_LD_RLX(&lck->lk.poll) != tas_free || in __kmp_acquire_tas_lock_timed_template()
106 !__kmp_atomic_compare_store_acq(&lck->lk.poll, tas_free, tas_busy)); in __kmp_acquire_tas_lock_timed_template()
132 if (KMP_ATOMIC_LD_RLX(&lck->lk.poll) == tas_free && in __kmp_test_tas_lock()
133 __kmp_atomic_compare_store_acq(&lck->lk.poll, tas_free, tas_busy)) { in __kmp_test_tas_lock()
154 KMP_ATOMIC_ST_REL(&lck->lk.poll, KMP_LOCK_FREE(tas)); in __kmp_release_tas_lock()
180 lck->lk.poll = KMP_LOCK_FREE(tas); in __kmp_init_tas_lock()
[all …]
/freebsd-12-stable/crypto/openssh/
D.depend5 …nbsd-compat/bsd-statvfs.h openbsd-compat/bsd-waitpid.h openbsd-compat/bsd-poll.h openbsd-compat/fa…
6 …nbsd-compat/bsd-statvfs.h openbsd-compat/bsd-waitpid.h openbsd-compat/bsd-poll.h openbsd-compat/fa…
7 …nbsd-compat/bsd-statvfs.h openbsd-compat/bsd-waitpid.h openbsd-compat/bsd-poll.h openbsd-compat/fa…
8 …nbsd-compat/bsd-statvfs.h openbsd-compat/bsd-waitpid.h openbsd-compat/bsd-poll.h openbsd-compat/fa…
9 …nbsd-compat/bsd-statvfs.h openbsd-compat/bsd-waitpid.h openbsd-compat/bsd-poll.h openbsd-compat/fa…
10 …nbsd-compat/bsd-statvfs.h openbsd-compat/bsd-waitpid.h openbsd-compat/bsd-poll.h openbsd-compat/fa…
11 …nbsd-compat/bsd-statvfs.h openbsd-compat/bsd-waitpid.h openbsd-compat/bsd-poll.h openbsd-compat/fa…
12 …nbsd-compat/bsd-statvfs.h openbsd-compat/bsd-waitpid.h openbsd-compat/bsd-poll.h openbsd-compat/fa…
13 …nbsd-compat/bsd-statvfs.h openbsd-compat/bsd-waitpid.h openbsd-compat/bsd-poll.h openbsd-compat/fa…
14 …nbsd-compat/bsd-statvfs.h openbsd-compat/bsd-waitpid.h openbsd-compat/bsd-poll.h openbsd-compat/fa…
[all …]
Dmonitor_fdpass.c93 (void)poll(&pfd, 1, -1); in mm_send_fd()
148 (void)poll(&pfd, 1, -1); in mm_receive_fd()
Datomicio.c77 (void)poll(&pfd, 1, -1); in atomicio6()
139 (void)poll(&pfd, 1, -1); in atomiciov6()
/freebsd-12-stable/contrib/netbsd-tests/libexec/ld.elf_so/helper_dso2/
Dh_helper_dso2.c44 poll(NULL, 0, -1); in init2()
56 poll(NULL, 0, -1); in fini2()
/freebsd-12-stable/lib/libc/sys/
Dpoll.c42 #pragma weak poll macro
44 poll(struct pollfd pfd[], nfds_t nfds, int timeout) in poll() function
/freebsd-12-stable/contrib/netbsd-tests/libexec/ld.elf_so/helper_dso1/
Dh_helper_dso1.c49 poll(NULL, 0, -1); in init1()
61 poll(NULL, 0, -1); in fini1()
/freebsd-12-stable/contrib/netbsd-tests/lib/libevent/
Dt_event.sh44 atf_test_case poll
65 atf_add_test_case poll
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/gen/
Dt_sleep.c221 ATF_TC(poll);
222 ATF_TC_HEAD(poll, tc) in ATF_TC_HEAD() argument
229 ATF_TC_BODY(poll, tc) in ATF_TC_BODY() argument
342 ATF_TP_ADD_TC(tp, poll); in ATF_TP_ADD_TCS()
/freebsd-12-stable/usr.bin/talk/
Dctl_transact.c82 nready = poll(pfd, 1, CTL_WAIT * 1000); in ctl_transact()
101 nready = poll(pfd, 1, 0); in ctl_transact()
/freebsd-12-stable/sys/dev/intpm/
Dintpm.c60 int poll; member
199 sc->poll = 1; in sb8xx_attach()
275 sc->poll = (value & PCI_INTR_SMB_ENABLE) == 0; in intsmb_attach()
292 sc->poll == 0 ? "enabled" : "disabled"); in intsmb_attach()
295 if (!sc->poll && intr == PCI_INTR_SMB_SMI) { in intsmb_attach()
298 sc->poll = 1; in intsmb_attach()
301 if (sc->poll) in intsmb_attach()
520 if (!sc->poll && !cold && !nointr) in intsmb_start()
598 if (sc->poll || cold) in intsmb_stop()
/freebsd-12-stable/contrib/ntp/scripts/stats/
DREADME.timecodes38 poll: ?; offsets: Y = none, D = 3, T = 7, A = 0, Q = none
56 poll: ?; offsets: Y = 2, D = 5, T = 9, A = 0, Q = 1
81 poll: none; offsets: Y = none, D = 0, T = 4, A = 12, Q = 12
98 poll: none; offsets: Y = none, D = 15, T = 0, A = 9, Q = none
116 poll: "QMQDQT"; offsets: Y = 0, D = 3 T = 1,, A = 11, Q = 13
/freebsd-12-stable/contrib/apr/
Dbuild-outputs.mk81 poll/unix/epoll.lo: poll/unix/epoll.c .make.dirs include/apr_allocator.h include/apr_dso.h include/…
82 poll/unix/kqueue.lo: poll/unix/kqueue.c .make.dirs include/apr_allocator.h include/apr_dso.h includ…
83 poll/unix/poll.lo: poll/unix/poll.c .make.dirs include/apr_allocator.h include/apr_dso.h include/ap…
84 poll/unix/pollcb.lo: poll/unix/pollcb.c .make.dirs include/apr_allocator.h include/apr_dso.h includ…
85 poll/unix/pollset.lo: poll/unix/pollset.c .make.dirs include/apr_allocator.h include/apr_dso.h incl…
86 poll/unix/port.lo: poll/unix/port.c .make.dirs include/apr_allocator.h include/apr_atomic.h include…
87 poll/unix/select.lo: poll/unix/select.c .make.dirs include/apr_allocator.h include/apr_dso.h includ…
88 poll/unix/wakeup.lo: poll/unix/wakeup.c .make.dirs include/apr_allocator.h include/apr_dso.h includ…
89 poll/unix/z_asio.lo: poll/unix/z_asio.c .make.dirs include/apr_allocator.h include/apr_dso.h includ…
91poll/unix/epoll.lo poll/unix/kqueue.lo poll/unix/poll.lo poll/unix/pollcb.lo poll/unix/pollset.lo
[all …]
/freebsd-12-stable/sys/amd64/vmm/io/
Dvatpic.c69 bool poll; member
283 atpic->poll = 0; in vatpic_icw1()
410 atpic->poll = ((val & OCW3_P) != 0); in vatpic_ocw3()
634 if (atpic->poll) { in vatpic_read()
635 atpic->poll = 0; in vatpic_read()
/freebsd-12-stable/contrib/apr/include/arch/unix/
Dapr_arch_poll_private.h166 … apr_status_t (*poll)(apr_pollset_t *, apr_interval_time_t, apr_int32_t *, const apr_pollfd_t **); member
175 apr_status_t (*poll)(apr_pollcb_t *, apr_interval_time_t, apr_pollcb_cb_t, void *); member
/freebsd-12-stable/usr.bin/svn/lib/libapr/
DMakefile53 poll.c \
101 ${APR}/poll/unix \
/freebsd-12-stable/contrib/ntp/html/hints/
Dnotes-xntp-v38 version is that the poll intervals for all polls, even selected
59 9. The clock-selection and poll-update procedures have been modified
99 The poll-interval randomization feature of poll_update (in
100 xntpd/ntp_proto.c) has been extended to apply when the poll interval is

12345678910>>...23