/freebsd/tools/regression/poll/ |
H A D | sockpoll.c | 127 if (poll(&pfd0, 1, 0) == -1) in main() 130 if (poll(&pfd1, 1, 0) == -1) in main() 135 if (poll(&pfd0, 1, 0) == -1) in main() 138 if (poll(&pfd1, 1, 0) == -1) in main() 142 if (poll(&pfd1, 1, 0) == -1) in main() 147 if (poll(&pfd1, 1, 0) == -1) in main() 156 if (poll(&pfd0, 1, 0) == -1) in main() 159 if (poll(&pfd1, 1, 0) == -1) in main() 171 if (poll(&pfd1, 1, 0) == -1) in main() 176 if (poll(&pfd0, 1, 0) == -1) in main() [all …]
|
H A D | pipepoll.c | 104 if ((res = poll(&pfd, 1, 0)) < 0) in child() 122 if ((res = poll(&pfd, 1, 0)) < 0) in child() 130 if ((res = poll(&pfd, 1, 0)) < 0) in child() 135 if ((res = poll(&pfd, 1, 0)) < 0) in child() 143 if ((res = poll(&pfd, 1, 0)) < 0) in child() 158 if ((res = poll(&pfd, 1, 0)) < 0) in child() 166 if ((res = poll(&pfd, 1, 0)) < 0) in child() 184 if ((res = poll(&pfd, 1, 0)) < 0) in child() 189 if ((res = poll(&pfd, 1, 0)) < 0) in child() 201 if ((res = poll(&pfd, 1, 0)) < 0) in child() [all …]
|
/freebsd/contrib/ldns/m4/ |
H A D | ax_have_poll.m4 | 12 # 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/tools/test/stress2/misc/ |
H A D | poll.sh | 18 cat > /tmp/poll.py <<EOF 40 chmod +x /tmp/poll.py 42 log=/tmp/poll.log 44 cpuset -l 0 /tmp/poll.py > $log & 50 while pgrep -qf poll.py; do pkill -f poll.py; done 54 rm -f /tmp/poll.py $log
|
H A D | mkfifo7.sh | 96 if ((n = poll(&pfd, 1, 0)) == -1) 110 if ((n = poll(&pfd, 1, 7000)) == -1) 124 if ((n = poll(&pfd, 1, 7000)) == -1)
|
/freebsd/sys/contrib/device-tree/src/arm/microchip/ |
H A D | at91-natte.dtsi | 74 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/tests/sys/kern/ |
H A D | prace.c | 39 child(int rd, bool poll) in child() argument 58 ret = poll ? ppoll(NULL, 0, &timeout, &set0) : in child() 66 err(1, "p%s()", poll ? "poll" : "select"); in child() 84 prace(bool poll) in prace() argument 96 child(pd[1], poll); in prace()
|
/freebsd/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_poll.c | 54 (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/include/ssp/ |
H A D | poll.h | 36 __ssp_redirect_raw_impl(int, poll, poll, 42 return (__ssp_real(poll)(fds, nfds, timeout));
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_lock.h | 128 std::atomic<kmp_int32> poll; 130 std::atomic<kmp_int32> poll; 187 volatile kmp_int32 poll; // KMP_LOCK_FREE(futex) => unlocked 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) && in __kmp_test_user_lock_with_checks() 701 __kmp_atomic_compare_store_acq(&lck->tas.lk.poll, in __kmp_test_user_lock_with_checks() 123 std::atomic<kmp_int32> poll; global() member 179 volatile kmp_int32 poll; // KMP_LOCK_FREE(futex) => unlocked global() member [all...] |
H A D | kmp_csupport.cpp | 1176 if (KMP_ATOMIC_LD_RLX(&l->lk.poll) != tas_free || \ 1177 !__kmp_atomic_compare_store_acq(&l->lk.poll, tas_free, tas_busy)) { \ 1191 KMP_ATOMIC_LD_RLX(&l->lk.poll) != tas_free || \ 1192 !__kmp_atomic_compare_store_acq(&l->lk.poll, tas_free, tas_busy)); \ 1203 rc = KMP_ATOMIC_LD_RLX(&l->lk.poll) == tas_free && \ 1204 __kmp_atomic_compare_store_acq(&l->lk.poll, tas_free, tas_busy); \ 1209 { KMP_ATOMIC_ST_REL(&((kmp_tas_lock_t *)lock)->lk.poll, KMP_LOCK_FREE(tas)); } 1231 &(ftx->lk.poll), KMP_LOCK_FREE(futex), \ 1235 if (!KMP_COMPARE_AND_STORE_RET32(&(ftx->lk.poll), poll_val, \ 1243 if ((rc = syscall(__NR_futex, &(ftx->lk.poll), FUTEX_WAIT, poll_val, \ [all …]
|
H A D | kmp_lock.cpp | 71 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() 112 } while (KMP_ATOMIC_LD_RLX(&lck->lk.poll) != tas_free || in __kmp_acquire_tas_lock_timed_template() 113 !__kmp_atomic_compare_store_acq(&lck->lk.poll, tas_free, tas_busy)); in __kmp_acquire_tas_lock_timed_template() 139 if (KMP_ATOMIC_LD_RLX(&lck->lk.poll) == tas_free && in __kmp_test_tas_lock() 140 __kmp_atomic_compare_store_acq(&lck->lk.poll, tas_free, tas_busy)) { in __kmp_test_tas_lock() 161 KMP_ATOMIC_ST_REL(&lck->lk.poll, KMP_LOCK_FREE(tas)); in __kmp_release_tas_lock() 187 lck->lk.poll in __kmp_init_tas_lock() [all...] |
/freebsd/lib/libc/sys/ |
H A D | poll.c | 40 __ssp_real(poll)(struct pollfd pfd[], nfds_t nfds, int timeout) in __ssp_real() argument 42 return (INTERPOS_SYS(poll, pfd, nfds, timeout)); in __ssp_real()
|
/freebsd/contrib/netbsd-tests/libexec/ld.elf_so/helper_dso2/ |
H A D | h_helper_dso2.c | 44 poll(NULL, 0, -1); in init2() 56 poll(NULL, 0, -1); in fini2()
|
/freebsd/contrib/netbsd-tests/libexec/ld.elf_so/helper_dso1/ |
H A D | h_helper_dso1.c | 49 poll(NULL, 0, -1); in init1() 61 poll(NULL, 0, -1); in fini1()
|
/freebsd/crypto/openssh/ |
H A D | .depend | 5 …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 …]
|
/freebsd/contrib/netbsd-tests/lib/libevent/ |
H A D | t_event.sh | 44 atf_test_case poll 65 atf_add_test_case poll
|
/freebsd/sys/contrib/device-tree/Bindings/power/supply/ |
H A D | charger-manager.txt | 21 - cm-poll-mode : polling mode - 0 for disabled, 1 for always, 2 for when 24 - cm-poll-interval : polling interval (in ms) 51 cm-poll-mode = <1>; 52 cm-poll-interval = <30000>;
|
/freebsd/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_sleep.c | 221 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/sys/compat/linuxkpi/common/src/ |
H A D | linux_netdev.c | 140 if (napi->poll != NULL) in lkpi___napi_schedule_dd() 141 rc = napi->poll(napi, napi->budget); in lkpi___napi_schedule_dd() 302 KASSERT(napi->poll != NULL, ("%s: napi %p poll is NULL\n", in lkpi_napi_task() 306 count = napi->poll(napi, napi->budget); in lkpi_napi_task() 334 napi->poll = napi_poll; in linuxkpi_netif_napi_add()
|
/freebsd/sys/contrib/device-tree/Bindings/input/ |
H A D | clps711x-keypad.txt | 6 - poll-interval: Poll interval time in milliseconds. 17 poll-interval = <120>;
|
/freebsd/usr.bin/talk/ |
H A D | ctl_transact.c | 76 nready = poll(pfd, 1, CTL_WAIT * 1000); in ctl_transact() 95 nready = poll(pfd, 1, 0); in ctl_transact()
|
/freebsd/sys/dev/intpm/ |
H A D | intpm.c | 57 int poll; member 217 sc->poll = 1; in sb8xx_attach() 293 sc->poll = (value & PCI_INTR_SMB_ENABLE) == 0; in intsmb_attach() 310 sc->poll == 0 ? "enabled" : "disabled"); in intsmb_attach() 313 if (!sc->poll && intr == PCI_INTR_SMB_SMI) { in intsmb_attach() 316 sc->poll = 1; in intsmb_attach() 319 if (sc->poll) in intsmb_attach() 538 if (!sc->poll && !cold && !nointr) in intsmb_start() 616 if (sc->poll || cold) in intsmb_stop()
|
/freebsd/sys/kern/ |
H A D | subr_smr.c | 202 static COUNTER_U64_DEFINE_EARLY(poll); 203 SYSCTL_COUNTER_U64(_debug_smr, OID_AUTO, poll, CTLFLAG_RW, &poll, ""); 502 counter_u64_add_protected(poll, 1); in smr_poll()
|
/freebsd/lib/libc/tests/secure/ |
H A D | fortify_poll_test.c | 182 poll(__stack.__buf, __len, 0); in ATF_TC_BODY() 204 poll(__stack.__buf, __len, 0); in ATF_TC_BODY() 235 poll(__stack.__buf, __len, 0); in ATF_TC_BODY() 280 poll(__stack.__buf, __len, 0); in ATF_TC_BODY() 303 poll(__stack.__buf, __len, 0); in ATF_TC_BODY() 335 poll(__stack.__buf, __len, 0); in ATF_TC_BODY()
|