| /freebsd-13.1/tools/regression/poll/ |
| H A D | sockpoll.c | 107 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 …]
|
| H A D | pipepoll.c | 105 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 …]
|
| /freebsd-13.1/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-13.1/sys/contrib/device-tree/Bindings/serial/ |
| H A D | pl011.yaml | 82 auto-poll: 87 poll-rate-ms: 89 Rate at which poll occurs when auto-poll is set. 94 poll-timeout-ms: 96 Poll timeout when auto-poll is set, default 107 poll-rate-ms: [ auto-poll ] 108 poll-timeout-ms: [ auto-poll ]
|
| /freebsd-13.1/sys/contrib/device-tree/src/arm/ |
| 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-13.1/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-13.1/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_lock.h | 123 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( \ 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() 803 if (lck->tas.lk.poll - 1 == in __kmp_test_nested_user_lock_with_checks() 807 retval = ((lck->tas.lk.poll == 0) && in __kmp_test_nested_user_lock_with_checks() [all …]
|
| H A D | kmp_csupport.cpp | 1281 (sizeof(lck->tas.lk.poll) <= OMP_CRITICAL_SIZE)) { in __kmpc_critical() 1662 (sizeof(lck->tas.lk.poll) <= OMP_CRITICAL_SIZE)) { in __kmpc_end_critical() 2395 (sizeof(lck->tas.lk.poll) <= OMP_LOCK_T_SIZE)) { in __kmpc_init_lock() 2400 (sizeof(lck->futex.lk.poll) <= OMP_LOCK_T_SIZE)) { in __kmpc_init_lock() 2531 (sizeof(lck->tas.lk.poll) <= OMP_LOCK_T_SIZE)) { in __kmpc_destroy_lock() 2561 (sizeof(lck->tas.lk.poll) <= OMP_LOCK_T_SIZE)) { in __kmpc_destroy_lock() 2699 (sizeof(lck->tas.lk.poll) <= OMP_LOCK_T_SIZE)) { in __kmpc_set_lock() 2893 (sizeof(lck->tas.lk.poll) <= OMP_LOCK_T_SIZE)) { in __kmpc_unset_lock() 2900 TCW_4(((kmp_user_lock_p)user_lock)->tas.lk.poll, 0); in __kmpc_unset_lock() 3003 TCW_4(tl->lk.poll, 0); in __kmpc_unset_nest_lock() [all …]
|
| H A D | kmp_lock.cpp | 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() 180 lck->lk.poll = KMP_LOCK_FREE(tas); in __kmp_init_tas_lock() 327 lck, lck->lk.poll, gtid)); in __kmp_acquire_futex_lock_timed_template() 355 lck, lck->lk.poll, gtid)); in __kmp_acquire_futex_lock_timed_template() 362 lck->lk.poll, gtid)); in __kmp_acquire_futex_lock_timed_template() 390 lck->lk.poll, gtid)); in __kmp_acquire_futex_lock_timed_template() 435 lck, lck->lk.poll, gtid)); in __kmp_release_futex_lock() 456 lck->lk.poll, gtid)); in __kmp_release_futex_lock() 481 TCW_4(lck->lk.poll, KMP_LOCK_FREE(futex)); in __kmp_init_futex_lock() [all …]
|
| /freebsd-13.1/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-13.1/lib/libc/sys/ |
| H A D | poll.c | 42 #pragma weak poll macro 44 poll(struct pollfd pfd[], nfds_t nfds, int timeout) in poll() function
|
| /freebsd-13.1/sys/contrib/device-tree/Bindings/power/supply/ |
| H A D | charger-manager.txt | 20 - cm-poll-mode : polling mode (enum polling_modes) 21 - cm-poll-interval : polling interval 39 cm-poll-mode = <1>; 40 cm-poll-interval = <30000>;
|
| /freebsd-13.1/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-13.1/contrib/netbsd-tests/lib/libevent/ |
| H A D | t_event.sh | 44 atf_test_case poll 65 atf_add_test_case poll
|
| /freebsd-13.1/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… 14 …nbsd-compat/bsd-statvfs.h openbsd-compat/bsd-waitpid.h openbsd-compat/bsd-poll.h openbsd-compat/fa… 17 …nbsd-compat/bsd-statvfs.h openbsd-compat/bsd-waitpid.h openbsd-compat/bsd-poll.h openbsd-compat/fa… 18 …nbsd-compat/bsd-statvfs.h openbsd-compat/bsd-waitpid.h openbsd-compat/bsd-poll.h openbsd-compat/fa… [all …]
|
| /freebsd-13.1/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-13.1/sys/compat/linuxkpi/common/src/ |
| H A D | linux_netdev.c | 150 if (napi->poll != NULL) in lkpi___napi_schedule_dd() 151 rc = napi->poll(napi, napi->budget); in lkpi___napi_schedule_dd() 308 KASSERT(napi->poll != NULL, ("%s: napi %p poll is NULL\n", in lkpi_napi_task() 312 count = napi->poll(napi, napi->budget); in lkpi_napi_task() 340 napi->poll = napi_poll; in linuxkpi_netif_napi_add()
|
| /freebsd-13.1/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-13.1/usr.bin/talk/ |
| H A D | ctl_transact.c | 82 nready = poll(pfd, 1, CTL_WAIT * 1000); in ctl_transact() 101 nready = poll(pfd, 1, 0); in ctl_transact()
|
| /freebsd-13.1/sys/kern/ |
| H A D | subr_smr.c | 205 static COUNTER_U64_DEFINE_EARLY(poll); 206 SYSCTL_COUNTER_U64(_debug_smr, OID_AUTO, poll, CTLFLAG_RW, &poll, ""); 505 counter_u64_add_protected(poll, 1); in smr_poll()
|
| /freebsd-13.1/sys/dev/intpm/ |
| H A D | intpm.c | 60 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-13.1/tests/sys/aio/ |
| H A D | aio_test.c | 155 poll(struct aiocb *aio) in poll() function 434 aio_file_test(poll, NULL, false); in ATF_TC_BODY() 503 aio_fifo_test(poll, NULL); in ATF_TC_BODY() 636 aio_pty_test(poll, NULL); in ATF_TC_BODY() 687 aio_pipe_test(poll, NULL); in ATF_TC_BODY() 817 aio_md_test(poll, NULL, false); in ATF_TC_BODY() 1591 len = poll(&aio); in ATF_TC_BODY() 1607 len = poll(&aio); in ATF_TC_BODY() 1637 aio_md_test(poll, NULL, true); in ATF_TC_BODY() 1704 len = poll(&aio); in ATF_TC_BODY() [all …]
|
| /freebsd-13.1/sys/xen/interface/io/ |
| H A D | pvcalls.h | 105 } poll; member 140 } poll; member
|
| /freebsd-13.1/contrib/ntp/scripts/stats/ |
| H A D | README.timecodes | 38 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-13.1/sys/amd64/vmm/io/ |
| H A D | vatpic.c | 72 bool poll; member 286 atpic->poll = 0; in vatpic_icw1() 413 atpic->poll = ((val & OCW3_P) != 0); in vatpic_ocw3() 637 if (atpic->poll) { in vatpic_read() 638 atpic->poll = 0; in vatpic_read() 831 SNAPSHOT_VAR_OR_LEAVE(atpic->poll, meta, ret, done); in vatpic_snapshot()
|