Home
last modified time | relevance | path

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

12345678910>>...22

/netbsd-src/tests/lib/libc/sys/
H A Dt_poll.c56 (void)poll(&pfd, 1, 2000); in child1()
69 (void)poll(&pfd, 1, INFTIM); in child2()
83 (void)poll(&pfd, 1, INFTIM); in child3()
177 ATF_REQUIRE_EQ_MSG(ret = poll(&pfds[0], 1, 1), 0, in ATF_TC_BODY()
185 ATF_REQUIRE_EQ_MSG(ret = poll(&pfds[1], 1, 1), 1, in ATF_TC_BODY()
194 ATF_REQUIRE_EQ_MSG(ret = poll(pfds, 2, 1), 1, in ATF_TC_BODY()
206 ATF_REQUIRE_EQ_MSG(ret = poll(pfds, 2, 1), 2, in ATF_TC_BODY()
232 ATF_REQUIRE_ERRNO(EFAULT, poll((struct pollfd *)-1, 1, -1) == -1); in ATF_TC_BODY()
235 ATF_REQUIRE_ERRNO(EINVAL, poll(&pfd, 1, -2) == -1); in ATF_TC_BODY()
290 ATF_REQUIRE(poll(pfd, 2, 0) == 1); in ATF_TC_BODY()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/
H A Dpoll.d15 module core.sys.posix.poll;
61 int poll(pollfd*, nfds_t, int); in version()
74 int poll(pollfd*, nfds_t, int); in version()
87 int poll(pollfd*, nfds_t, int); in version()
100 int poll(pollfd*, nfds_t, int); in version()
113 int poll(pollfd*, nfds_t, int); in version()
126 int poll(pollfd*, nfds_t, int); in version()
139 int poll(pollfd*, nfds_t, int); in version()
152 int poll(pollfd*, nfds_t, c_long); in version()
165 int poll(pollfd*, nfds_t, c_long); in version()
[all …]
/netbsd-src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
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>;
/netbsd-src/sys/arch/pmax/tc/
H A Ddt.c168 #define DT_RX_AVAIL(poll) ((*(poll) & 1) != 0) argument
169 #define DT_TX_AVAIL(poll) ((*(poll) & 2) != 0) argument
381 volatile u_int *poll, *data; in dt_msg_get() local
385 poll = dt_state.ds_poll; in dt_msg_get()
400 while (!DT_RX_AVAIL(poll)) { in dt_msg_get()
/netbsd-src/tests/net/net/
H A Dt_socket_afinet.c54 #define poll rump_sys_poll macro
166 rc = poll(&pfd, 1, 0); in ATF_TC_BODY()
181 rc = poll(&pfd, 1, 60000); in ATF_TC_BODY()
228 rc = poll(&pfd, 1, 0); in ATF_TC_BODY()
241 rc = poll(&pfd, 1, 0); in ATF_TC_BODY()
262 rc = poll(&pfd, 1, 60000); in ATF_TC_BODY()
/netbsd-src/sys/arch/hp300/stand/common/
H A Dhpib.c121 int (*poll)(int); in hpibswait() local
125 poll = fhpibppoll; in hpibswait()
127 poll = nhpibppoll; in hpibswait()
128 while (((*poll)(unit) & slave) == 0) in hpibswait()
/netbsd-src/external/mit/libuv/dist/docs/src/
H A Dpoll.rst8 writability and disconnection similar to the purpose of :man:`poll(2)`.
10 The purpose of poll handles is to enable integrating external libraries that
17 It is possible that poll handles occasionally signal that a file descriptor is
22 It is not okay to have multiple active poll handles for the same socket, this
26 active poll handle. This can cause the handle to report an error,
31 On windows only sockets can be polled with poll handles. On Unix any file
32 descriptor that would be accepted by :man:`poll(2)` can be used.
128 :c:func:`uv_poll_start` on a poll handle associated with this socket,
139 .. c:function:: int uv_poll_stop(uv_poll_t* poll)
/netbsd-src/external/mit/libuv/dist/
H A DMakefile.am32 libuv_la_SOURCES = src/fs-poll.c \
77 src/win/poll.c \
109 src/unix/poll.c \
173 test/test-fs-poll.c \
227 test/test-poll.c \
228 test/test-poll-close.c \
229 test/test-poll-close-doesnt-corrupt-stack.c \
230 test/test-poll-closesocket.c \
231 test/test-poll-multiple-handles.c \
232 test/test-poll-oob.c \
[all …]
/netbsd-src/sys/arch/hpcsh/dev/
H A Dpfckbd.c443 } poll = PD(1); in pfckbd_poll_hitachi_power() local
458 _reg_write_2(SH7709_PCCR, cc | poll.cc); in pfckbd_poll_hitachi_power()
459 _reg_write_2(SH7709_PDCR, dc | poll.dc); in pfckbd_poll_hitachi_power()
460 _reg_write_2(SH7709_PECR, ec | poll.ec); in pfckbd_poll_hitachi_power()
468 _reg_write_1(SH7709_PCDR, cd | poll.c); in pfckbd_poll_hitachi_power()
469 _reg_write_1(SH7709_PDDR, dd | poll.d); in pfckbd_poll_hitachi_power()
470 _reg_write_1(SH7709_PEDR, ed | poll.e); in pfckbd_poll_hitachi_power()
/netbsd-src/sys/dev/mca/
H A Dedc_mca.c549 edc_cmd_wait(struct edc_mca_softc *sc, int secs, int poll) in edc_cmd_wait() argument
553 if (!poll) { in edc_cmd_wait()
568 if (poll && (val & BSR_INTR)) in edc_cmd_wait()
578 u_int16_t cmd_args[], int cmd_len, int poll) in edc_run_cmd() argument
621 delay(poll ? 1000 : 1); in edc_run_cmd()
634 edc_cmd_wait(sc, 15, poll); in edc_run_cmd()
855 size_t bcount, daddr_t rawblkno, int isread, int poll) in edc_bio() argument
867 fl = ((poll) ? BUS_DMA_NOWAIT : BUS_DMA_WAITOK) in edc_bio()
893 ed->sc_devno, cmd_args, 4, poll); in edc_bio()
/netbsd-src/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()
/netbsd-src/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()
/netbsd-src/external/bsd/nvi/dist/cl/
H A Dcl_read.c158 struct timeval poll; in cl_read() local
193 poll.tv_sec = 0; in cl_read()
194 poll.tv_usec = 0; in cl_read()
198 &rdfd, NULL, NULL, tp == NULL ? &poll : tp)) { in cl_read()
/netbsd-src/sys/dev/ic/
H A Dld_nvme.c184 ld_nvme_flush(struct ld_softc *ld, bool poll) in ld_nvme_flush() argument
189 poll ? NVME_NS_CTX_F_POLL : 0); in ld_nvme_flush()
209 ld_nvme_ioctl(struct ld_softc *ld, u_long cmd, void *addr, int32_t flag, bool poll) in ld_nvme_ioctl() argument
215 error = ld_nvme_flush(ld, poll); in ld_nvme_ioctl()
/netbsd-src/tests/lib/libc/gen/
H A Dt_sleep.c216 ATF_TC(poll);
217 ATF_TC_HEAD(poll, tc) in ATF_TC_HEAD() argument
224 ATF_TC_BODY(poll, tc) in ATF_TC_BODY() argument
335 ATF_TP_ADD_TC(tp, poll); in ATF_TP_ADD_TCS()
/netbsd-src/tests/lib/libevent/
H A Dt_event.sh44 atf_test_case poll
65 atf_add_test_case poll
/netbsd-src/sys/arch/macppc/dev/
H A Dcuda.c236 sc->sc_adbops.poll = cuda_adb_poll; in cuda_attach()
254 caa.poll = cuda_poll; in cuda_attach()
373 cuda_send(void *cookie, int poll, int length, uint8_t *msg) in cuda_send() argument
414 if (sc->sc_polling || poll || cold) { in cuda_send()
851 cuda0->poll(sc); in cuda_poweroff()
866 cuda0->poll(sc); in cuda_restart()
909 cuda_adb_send(void *cookie, int poll, int command, int len, uint8_t *data) in cuda_adb_send() argument
920 if (poll || cold) { in cuda_adb_send()
924 cuda_send(sc, poll, len + 2, packet); in cuda_adb_send()
925 if (poll || cold) { in cuda_adb_send()
/netbsd-src/external/mpl/bind/dist/bin/tests/system/shutdown/
H A Dtests_shutdown.py146 if proc.poll() is not None:
152 if proc.poll() is not None:
/netbsd-src/sys/arch/dreamcast/dev/g1/
H A Dwdc_g1.c173 wdc_g1_do_reset(struct ata_channel *chp, int poll) in wdc_g1_do_reset() argument
179 if (poll != 0) in wdc_g1_do_reset()
202 if (poll != 0) in wdc_g1_do_reset()
/netbsd-src/usr.bin/talk/
H A Dctl_transact.c82 nready = poll(set, 1, CTL_WAIT * 1000); in ctl_transact()
102 nready = poll(set, 1, 0); in ctl_transact()
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/therm/
H A Dnouveau_nvkm_subdev_therm_base.c117 bool poll = true; in nvkm_therm_update() local
131 poll = false; in nvkm_therm_update()
144 poll = false; in nvkm_therm_update()
155 poll = false; in nvkm_therm_update()
158 if (poll) in nvkm_therm_update()
/netbsd-src/sys/dev/pci/
H A Dld_twe.c270 ld_twe_flush(struct ld_softc *ld, bool poll) in ld_twe_flush() argument
290 if (poll) { in ld_twe_flush()
320 ld_twe_ioctl(struct ld_softc *ld, u_long cmd, void *addr, int32_t flag, bool poll) in ld_twe_ioctl() argument
326 error = ld_twe_flush(ld, poll); in ld_twe_ioctl()
H A Dpuc.c151 bool poll = false; in puc_attach() local
219 poll = true; in puc_attach()
291 paa.poll = poll; in puc_attach()
/netbsd-src/lib/librefuse/refuse/
H A DMakefile.inc9 SRCS+= poll.c
23 INCS+= refuse/poll.h
/netbsd-src/sys/external/bsd/drm2/dist/drm/
H A Ddrm_probe_helper.c73 module_param_named(poll, drm_kms_helper_poll, bool, 0600);
232 bool poll = false; in drm_kms_helper_poll_enable() local
244 poll = true; in drm_kms_helper_poll_enable()
259 poll = true; in drm_kms_helper_poll_enable()
263 if (poll) in drm_kms_helper_poll_enable()

12345678910>>...22