Home
last modified time | relevance | path

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

12345678910>>...13

/freebsd-10-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/10/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-10-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-10-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-10-stable/lib/libc/sys/
Dpoll.c42 #pragma weak poll macro
44 poll(struct pollfd pfd[], nfds_t nfds, int timeout) in poll() function
/freebsd-10-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-10-stable/contrib/netbsd-tests/lib/libevent/
Dt_event.sh44 atf_test_case poll
65 atf_add_test_case poll
/freebsd-10-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-10-stable/sys/pci/
Dintpm.c60 int poll; member
194 sc->poll = 1; in sb8xx_attach()
269 sc->poll = (value & PCI_INTR_SMB_ENABLE) == 0; in intsmb_attach()
286 sc->poll == 0 ? "enabled" : "disabled"); in intsmb_attach()
289 if (!sc->poll && intr == PCI_INTR_SMB_SMI) { in intsmb_attach()
292 sc->poll = 1; in intsmb_attach()
295 if (sc->poll) in intsmb_attach()
514 if (!sc->poll && !cold && !nointr) in intsmb_start()
585 if (sc->poll || cold) in intsmb_stop()
/freebsd-10-stable/contrib/apr/
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…
84 poll/unix/port.lo: poll/unix/port.c .make.dirs include/apr_allocator.h include/apr_atomic.h include…
85 poll/unix/select.lo: poll/unix/select.c .make.dirs include/apr_allocator.h include/apr_dso.h includ…
86 poll/unix/z_asio.lo: poll/unix/z_asio.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…
[all …]
/freebsd-10-stable/contrib/tcpdump/
Dprint-pgm.c292 struct pgm_poll *poll; in pgm_print() local
294 poll = (struct pgm_poll *)(pgm + 1); in pgm_print()
295 TCHECK(*poll); in pgm_print()
297 EXTRACT_32BITS(&poll->pgmp_seq), in pgm_print()
298 EXTRACT_16BITS(&poll->pgmp_round)); in pgm_print()
299 bp = (u_char *) (poll + 1); in pgm_print()
/freebsd-10-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-10-stable/contrib/apr/include/arch/unix/
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-10-stable/crypto/openssh/
Datomicio.c72 (void)poll(&pfd, 1, -1); in atomicio6()
129 (void)poll(&pfd, 1, -1); in atomiciov6()
Dmonitor_fdpass.c93 (void)poll(&pfd, 1, -1); in mm_send_fd()
149 (void)poll(&pfd, 1, -1); in mm_receive_fd()
/freebsd-10-stable/sys/amd64/vmm/io/
Dvatpic.c67 bool poll; member
281 atpic->poll = 0; in vatpic_icw1()
408 atpic->poll = ((val & OCW3_P) != 0); in vatpic_ocw3()
632 if (atpic->poll) { in vatpic_read()
633 atpic->poll = 0; in vatpic_read()
/freebsd-10-stable/usr.bin/svn/lib/libapr/
DMakefile15 otherchild.c pipe.c poll.c pollcb.c pollset.c port.c \
28 ${APR}/poll/unix ${APR}/random/unix ${APR}/shmem/unix \
/freebsd-10-stable/sys/dev/random/
Drandomdev_soft.c84 .poll = randomdev_poll,
100 .poll = randomdev_poll,
/freebsd-10-stable/sys/powerpc/powermac/
Dcuda.c71 u_char *data, u_char poll);
356 cuda_send(void *cookie, int poll, int length, uint8_t *msg) in cuda_send() argument
393 if (sc->sc_polling || poll || cold) in cuda_send()
704 u_char poll) in cuda_adb_send() argument
716 cuda_send(sc, poll, len + 2, packet); in cuda_adb_send()
/freebsd-10-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
/freebsd-10-stable/contrib/netbsd-tests/net/fdpass/
Dfdpass.c83 (void)poll(&pfd, 1, -1); in send_fd()
129 (void)poll(&pfd, 1, -1); in recv_fd()
/freebsd-10-stable/contrib/nvi/ex/
Dex_script.c377 struct timeval poll; in sscr_input() local
385 poll.tv_sec = 0; in sscr_input()
386 poll.tv_usec = 0; in sscr_input()
397 switch (select(maxfd + 1, &rdfd, NULL, NULL, &poll)) { in sscr_input()
/freebsd-10-stable/contrib/libpcap/
Dpcap-dag.c598 struct timeval poll; in dag_activate() local
656 &mindata, &maxwait, &poll) < 0) { in dag_activate()
674 mindata, &maxwait, &poll) < 0) { in dag_activate()
1003 struct timeval poll; in dag_setnonblock() local
1006 &mindata, &maxwait, &poll) < 0) { in dag_setnonblock()
1021 mindata, &maxwait, &poll) < 0) { in dag_setnonblock()
/freebsd-10-stable/lib/libkse/thread/
Dthr_poll.c49 __weak_reference(__poll, poll);

12345678910>>...13