Home
last modified time | relevance | path

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

12345678910>>...22

/freebsd-12.1/tools/regression/poll/
H A 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 …]
H A 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 …]
/freebsd-12.1/contrib/ldns/m4/
H A 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.1/sys/gnu/dts/arm/
H A 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.1/contrib/netbsd-tests/lib/libc/sys/
H A 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.1/contrib/openmp/runtime/src/
H A Dkmp_lock.h124 std::atomic<kmp_int32> poll; member
180 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)) { \
662 while (lck->tas.lk.poll != 0 || !__kmp_atomic_compare_store_acq( \
704 return ((lck->tas.lk.poll == 0) && in __kmp_test_user_lock_with_checks()
705 __kmp_atomic_compare_store_acq(&lck->tas.lk.poll, 0, gtid + 1)); in __kmp_test_user_lock_with_checks()
825 if (lck->tas.lk.poll - 1 == in __kmp_test_nested_user_lock_with_checks()
829 retval = ((lck->tas.lk.poll == 0) && in __kmp_test_nested_user_lock_with_checks()
[all …]
H A Dkmp_csupport.cpp1161 (sizeof(lck->tas.lk.poll) <= OMP_CRITICAL_SIZE)) { in __kmpc_critical()
1538 (sizeof(lck->tas.lk.poll) <= OMP_CRITICAL_SIZE)) { in __kmpc_end_critical()
2266 (sizeof(lck->tas.lk.poll) <= OMP_LOCK_T_SIZE)) { in __kmpc_init_lock()
2271 (sizeof(lck->futex.lk.poll) <= OMP_LOCK_T_SIZE)) { in __kmpc_init_lock()
2408 (sizeof(lck->tas.lk.poll) <= OMP_LOCK_T_SIZE)) { in __kmpc_destroy_lock()
2438 (sizeof(lck->tas.lk.poll) <= OMP_LOCK_T_SIZE)) { in __kmpc_destroy_lock()
2576 (sizeof(lck->tas.lk.poll) <= OMP_LOCK_T_SIZE)) { in __kmpc_set_lock()
2770 (sizeof(lck->tas.lk.poll) <= OMP_LOCK_T_SIZE)) { in __kmpc_unset_lock()
2777 TCW_4(((kmp_user_lock_p)user_lock)->tas.lk.poll, 0); in __kmpc_unset_lock()
2880 TCW_4(tl->lk.poll, 0); in __kmpc_unset_nest_lock()
[all …]
H A Dkmp_lock.cpp86 kmp_uint32 curr = KMP_LOCK_STRIP(lck->lk.poll); in __kmp_acquire_tas_lock_timed_template()
95 if (KMP_ATOMIC_LD_RLX(&lck->lk.poll) == tas_free && in __kmp_acquire_tas_lock_timed_template()
147 if (KMP_ATOMIC_LD_RLX(&lck->lk.poll) == tas_free && in __kmp_test_tas_lock()
197 lck->lk.poll = KMP_LOCK_FREE(tas); in __kmp_init_tas_lock()
345 lck, lck->lk.poll, gtid)); in __kmp_acquire_futex_lock_timed_template()
373 lck, lck->lk.poll, gtid)); in __kmp_acquire_futex_lock_timed_template()
380 lck->lk.poll, gtid)); in __kmp_acquire_futex_lock_timed_template()
408 lck->lk.poll, gtid)); in __kmp_acquire_futex_lock_timed_template()
454 lck, lck->lk.poll, gtid)); in __kmp_release_futex_lock()
476 lck->lk.poll, gtid)); in __kmp_release_futex_lock()
[all …]
/freebsd-12.1/contrib/netbsd-tests/libexec/ld.elf_so/helper_dso2/
H A Dh_helper_dso2.c44 poll(NULL, 0, -1); in init2()
56 poll(NULL, 0, -1); in fini2()
/freebsd-12.1/lib/libc/sys/
H A Dpoll.c42 #pragma weak poll macro
44 poll(struct pollfd pfd[], nfds_t nfds, int timeout) in poll() function
/freebsd-12.1/crypto/openssh/
H A D.depend3 …nbsd-compat/bsd-statvfs.h openbsd-compat/bsd-waitpid.h openbsd-compat/bsd-poll.h openbsd-compat/fa…
4 …nbsd-compat/bsd-statvfs.h openbsd-compat/bsd-waitpid.h openbsd-compat/bsd-poll.h openbsd-compat/fa…
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…
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…
15 …nbsd-compat/bsd-statvfs.h openbsd-compat/bsd-waitpid.h openbsd-compat/bsd-poll.h openbsd-compat/fa…
16 …nbsd-compat/bsd-statvfs.h openbsd-compat/bsd-waitpid.h openbsd-compat/bsd-poll.h openbsd-compat/fa…
[all …]
H A Datomicio.c72 (void)poll(&pfd, 1, -1); in atomicio6()
129 (void)poll(&pfd, 1, -1); in atomiciov6()
H A Dmonitor_fdpass.c93 (void)poll(&pfd, 1, -1); in mm_send_fd()
149 (void)poll(&pfd, 1, -1); in mm_receive_fd()
/freebsd-12.1/contrib/netbsd-tests/libexec/ld.elf_so/helper_dso1/
H A Dh_helper_dso1.c49 poll(NULL, 0, -1); in init1()
61 poll(NULL, 0, -1); in fini1()
/freebsd-12.1/contrib/netbsd-tests/lib/libevent/
H A Dt_event.sh44 atf_test_case poll
65 atf_add_test_case poll
/freebsd-12.1/contrib/netbsd-tests/lib/libc/gen/
H A 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.1/usr.bin/talk/
H A Dctl_transact.c82 nready = poll(pfd, 1, CTL_WAIT * 1000); in ctl_transact()
101 nready = poll(pfd, 1, 0); in ctl_transact()
/freebsd-12.1/sys/dev/intpm/
H A Dintpm.c60 int poll; member
198 sc->poll = 1; in sb8xx_attach()
273 sc->poll = (value & PCI_INTR_SMB_ENABLE) == 0; in intsmb_attach()
290 sc->poll == 0 ? "enabled" : "disabled"); in intsmb_attach()
293 if (!sc->poll && intr == PCI_INTR_SMB_SMI) { in intsmb_attach()
296 sc->poll = 1; in intsmb_attach()
299 if (sc->poll) in intsmb_attach()
518 if (!sc->poll && !cold && !nointr) in intsmb_start()
596 if (sc->poll || cold) in intsmb_stop()
/freebsd-12.1/contrib/apr/
H A Dbuild-outputs.mk79 poll/unix/epoll.lo: poll/unix/epoll.c .make.dirs include/apr_allocator.h include/apr_dso.h include/…
80 poll/unix/kqueue.lo: poll/unix/kqueue.c .make.dirs include/apr_allocator.h include/apr_dso.h includ…
81 poll/unix/poll.lo: poll/unix/poll.c .make.dirs include/apr_allocator.h include/apr_dso.h include/ap…
82 poll/unix/pollcb.lo: poll/unix/pollcb.c .make.dirs include/apr_allocator.h include/apr_dso.h includ…
83 poll/unix/pollset.lo: poll/unix/pollset.c .make.dirs include/apr_allocator.h include/apr_dso.h incl…
85 poll/unix/select.lo: poll/unix/select.c .make.dirs include/apr_allocator.h include/apr_dso.h includ…
88 …nix = poll/unix/epoll.lo poll/unix/kqueue.lo poll/unix/poll.lo poll/unix/pollcb.lo poll/unix/polls…
214 poll/os2/poll.lo: poll/os2/poll.c .make.dirs include/apr_allocator.h include/apr_errno.h include/ap…
215 poll/os2/pollset.lo: poll/os2/pollset.c .make.dirs include/apr_allocator.h include/apr_errno.h incl…
217 OBJECTS_poll_os2 = poll/os2/poll.lo poll/os2/pollset.lo
[all …]
/freebsd-12.1/contrib/ntp/scripts/stats/
H A 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.1/contrib/apr/include/arch/unix/
H A Dapr_arch_poll_private.h162 … apr_status_t (*poll)(apr_pollset_t *, apr_interval_time_t, apr_int32_t *, const apr_pollfd_t **); member
171 apr_status_t (*poll)(apr_pollcb_t *, apr_interval_time_t, apr_pollcb_cb_t, void *); member
/freebsd-12.1/sys/amd64/vmm/io/
H A 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.1/usr.bin/svn/lib/libapr/
H A DMakefile15 otherchild.c pipe.c poll.c pollcb.c pollset.c port.c \
26 ${APR}/poll/unix ${APR}/random/unix ${APR}/shmem/unix \
/freebsd-12.1/contrib/libpcap/
H A Dpcap-dag.c751 struct timeval poll; in dag_activate() local
811 &mindata, &maxwait, &poll) < 0) { in dag_activate()
821 pd->required_select_timeout = poll; in dag_activate()
855 mindata, &maxwait, &poll) < 0) { in dag_activate()
1202 struct timeval poll; in dag_setnonblock() local
1214 &mindata, &maxwait, &poll) < 0) { in dag_setnonblock()
1230 mindata, &maxwait, &poll) < 0) { in dag_setnonblock()
/freebsd-12.1/contrib/ntp/html/hints/
H A 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>>...22