Home
last modified time | relevance | path

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

12345678910>>...22

/src/tools/regression/poll/ !
H A Dsockpoll.c127 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 Dpipepoll.c104 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 …]
/src/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);
/src/tools/test/stress2/misc/ !
H A Dpoll.sh18 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 Dmkfifo7.sh96 if ((n = poll(&pfd, 1, 0)) == -1)
110 if ((n = poll(&pfd, 1, 7000)) == -1)
124 if ((n = poll(&pfd, 1, 7000)) == -1)
/src/crypto/openssl/doc/designs/quic-design/server/ !
H A Dquic-polling.md11 * [Use of Poll Descriptors](#use-of-poll-descriptors)
25 + [Internal Polling — Default Poll Method](#internal-polling---default-poll-method)
26 + [Internal Polling — Custom Poll Method](#internal-polling---custom-poll-method)
43 pair. Therefore an application needs to be able to poll:
57 - There are a large number of event types an application might want to poll on.
59 - There are different object types we might want to poll on.
65 poll (i.e., block) on all desired objects in a single call. i.e., polling
73 - **Universal cross-pollability.** Ability to poll on any combination of the above
78 or poll(2)-style calls; the application handles all poll(2)-like calls to the
82 - **Support internal polling.** Support a blocking poll(2)-like call provided
[all …]
/src/crypto/openssl/doc/man3/ !
H A DBIO_get_rpoll_descriptor.pod27 I<*desc> with a poll descriptor. A poll descriptor is a tagged union structure
40 resource which might be represented by a poll descriptor is an OS file
43 The kinds of poll descriptor defined by OpenSSL are:
49 Represents the absence of a valid poll descriptor. It may be used by
58 The poll descriptor represents an OS socket resource. The field I<value.fd>
65 Where a poll descriptor of this type is output by BIO_get_rpoll_descriptor(), it
67 successfully complete a BIO_read() operation; likewise, where a poll descriptor
75 allocation for custom poll descriptor types. Any of the definitions in the union
80 Because poll descriptors are a tagged union structure, they can represent
81 different kinds of information. New types of poll descriptor may be defined,
[all …]
H A DSSL_get_rpoll_descriptor.pod25 On success, these functions output poll descriptors. For more information on
26 poll descriptors, see L<BIO_get_rpoll_descriptor(3)>.
53 whenever the poll descriptor output by SSL_get_rpoll_descriptor() becomes
59 whenever the poll descriptor output by SSL_get_wpoll_descriptor() becomes
/src/sys/contrib/device-tree/src/arm/microchip/ !
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>;
/src/tests/sys/kern/ !
H A Dprace.c39 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()
/src/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()
/src/contrib/llvm-project/openmp/runtime/src/ !
H A Dkmp_lock.h128 std::atomic<kmp_int32> poll; member
130 std::atomic<kmp_int32> poll;
187 volatile kmp_int32 poll; // KMP_LOCK_FREE(futex) => unlocked member
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, 0, gtid + 1)); in __kmp_test_user_lock_with_checks()
[all …]
H A Dkmp_csupport.cpp1176 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 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()
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 = KMP_LOCK_FREE(tas); in __kmp_init_tas_lock()
[all …]
/src/include/ssp/ !
H A Dpoll.h36 __ssp_redirect_raw_impl(int, poll, poll,
42 return (__ssp_real(poll)(fds, nfds, timeout));
/src/lib/libc/sys/ !
H A Dpoll.c38 __ssp_real(poll)(struct pollfd pfd[], nfds_t nfds, int timeout) in poll() function
40 return (INTERPOS_SYS(poll, pfd, nfds, timeout)); in poll()
/src/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()
/src/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()
/src/contrib/netbsd-tests/lib/libevent/ !
H A Dt_event.sh44 atf_test_case poll
65 atf_add_test_case poll
/src/crypto/openssh/ !
H A 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 …]
/src/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()
/src/sys/contrib/device-tree/Bindings/power/supply/ !
H A Dcharger-manager.txt21 - 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>;
/src/sys/compat/linuxkpi/common/src/ !
H A Dlinux_netdev.c140 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()
/src/sys/contrib/device-tree/Bindings/input/ !
H A Dclps711x-keypad.txt6 - poll-interval: Poll interval time in milliseconds.
17 poll-interval = <120>;
/src/usr.bin/talk/ !
H A Dctl_transact.c76 nready = poll(pfd, 1, CTL_WAIT * 1000); in ctl_transact()
95 nready = poll(pfd, 1, 0); in ctl_transact()

12345678910>>...22