Searched refs:poll (Results 76 - 100 of 324) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/less/
H A Dos.c45 #include <poll.h>
83 int n = poll(&poller, 1, 0);
/freebsd-11-stable/sys/powerpc/powermac/
H A Dcuda.c71 u_char *data, u_char poll);
356 cuda_send(void *cookie, int poll, int length, uint8_t *msg) argument
393 if (sc->sc_polling || poll || cold)
704 u_char poll)
716 cuda_send(sc, poll, len + 2, packet);
703 cuda_adb_send(device_t dev, u_char command_byte, int len, u_char *data, u_char poll) argument
/freebsd-11-stable/sys/amd64/vmm/io/
H A Dvatpic.c69 bool poll; member in struct:atpic
283 atpic->poll = 0;
410 atpic->poll = ((val & OCW3_P) != 0);
634 if (atpic->poll) {
635 atpic->poll = 0;
/freebsd-11-stable/contrib/apr/
H A Dapr.mak92 -@erase "$(INTDIR)\poll.obj"
186 "$(INTDIR)\poll.obj" \
278 -@erase "$(INTDIR)\poll.obj"
372 "$(INTDIR)\poll.obj" \
464 -@erase "$(INTDIR)\poll.obj"
558 "$(INTDIR)\poll.obj" \
650 -@erase "$(INTDIR)\poll.obj"
745 "$(INTDIR)\poll.obj" \
1116 SOURCE=.\poll\unix\poll
[all...]
/freebsd-11-stable/tests/sys/aio/
H A Daio_test.c155 poll(struct aiocb *aio) function
351 aio_file_test(poll, NULL);
420 aio_fifo_test(poll, NULL);
480 aio_unix_socketpair_test(poll, NULL);
551 aio_pty_test(poll, NULL);
602 aio_pipe_test(poll, NULL);
714 aio_md_test(poll, NULL);
/freebsd-11-stable/contrib/libpcap/
H A Dpcap-dag.c750 struct timeval poll; local
829 /* Set up default poll parameters for stream
833 &mindata, &maxwait, &poll) < 0) {
840 /* Use the poll time as the required select timeout for callers
844 pd->required_select_timeout = poll;
878 mindata, &maxwait, &poll) < 0) {
976 * "select()" and "poll()" don't work on DAG device descriptors.
1239 struct timeval poll; local
1251 &mindata, &maxwait, &poll) < 0) {
1267 mindata, &maxwait, &poll) <
[all...]
/freebsd-11-stable/contrib/netbsd-tests/net/mcast/
H A Dmcast.c55 #include <poll.h>
248 /* We use poll to avoid lock up when the peer died unexpectedly */
249 r = poll(&pfd, 1, 10000);
251 ERRX(EXIT_FAILURE, "poll (%s)", strerror(errno));
328 if (poll(&pfd, 1, 10000) == -1)
329 ERRX(EXIT_FAILURE, "poll (%s)", strerror(errno));
/freebsd-11-stable/usr.sbin/rtadvd/
H A Dcontrol.c46 #include <poll.h>
80 i = poll(pfds, sizeof(pfds)/sizeof(pfds[0]),
87 syslog(LOG_ERR, "<%s> poll error: %s",
136 i = poll(pfds, sizeof(pfds)/sizeof(pfds[0]),
143 syslog(LOG_ERR, "<%s> poll error: %s",
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_lock.cpp73 return KMP_LOCK_STRIP(KMP_ATOMIC_LD_RLX(&lck->lk.poll)) - 1;
85 kmp_uint32 curr = KMP_LOCK_STRIP(lck->lk.poll);
94 if (KMP_ATOMIC_LD_RLX(&lck->lk.poll) == tas_free &&
95 __kmp_atomic_compare_store_acq(&lck->lk.poll, tas_free, tas_busy)) {
107 } while (KMP_ATOMIC_LD_RLX(&lck->lk.poll) != tas_free ||
108 !__kmp_atomic_compare_store_acq(&lck->lk.poll, tas_free, tas_busy));
135 if (KMP_ATOMIC_LD_RLX(&lck->lk.poll) == tas_free &&
136 __kmp_atomic_compare_store_acq(&lck->lk.poll, tas_free, tas_busy)) {
158 KMP_ATOMIC_ST_REL(&lck->lk.poll, KMP_LOCK_FREE(tas));
184 lck->lk.poll
[all...]
/freebsd-11-stable/contrib/apr/poll/unix/
H A Dpoll.c120 i = poll(pollset, num_to_poll, timeout);
123 if (i > 0) { /* poll() sets revents only if an event was signalled;
263 ret = poll(pollset->p->pollset, pollset->nelts, timeout);
308 "poll"
418 ret = poll(pollcb->pollset.ps, pollcb->nelts, timeout);
455 "poll"
H A Dpollset.c246 return (*pollset->provider->poll)(pollset, timeout, num, descriptors);
H A Dpollcb.c210 return (*pollcb->provider->poll)(pollcb, timeout, func, baton);
/freebsd-11-stable/contrib/gdb/gdb/
H A Devent-loop.c28 #include <poll.h>
30 #include <sys/poll.h>
126 /* Do we use poll or select ? */
144 /* Timeout in milliseconds for calls to poll(). */
155 /* Number of file descriptors to monitor. (for poll) */
433 doesn't have to know implementation details about the use of poll
445 /* Check to see if poll () is usable. If not, we'll switch to
447 m68k-motorola-sys, `poll' cannot be used to wait for `stdin'.
449 `poll'able. */
452 if (poll (
[all...]
/freebsd-11-stable/lib/libc/rpc/
H A Dpmap_rmt.c49 #include <sys/poll.h>
/freebsd-11-stable/contrib/ntp/sntp/libopts/compat/
H A Dcompat.h92 # include <sys/poll.h>
/freebsd-11-stable/contrib/nvi/ex/
H A Dex_script.c377 struct timeval poll; local
385 poll.tv_sec = 0;
386 poll.tv_usec = 0;
397 switch (select(maxfd + 1, &rdfd, NULL, NULL, &poll)) {
/freebsd-11-stable/sys/dev/qlnx/qlnxe/
H A Decore_init_ops.c389 /* init_ops read/poll commands */
396 u32 data, addr, poll; local
401 poll = GET_FIELD(data, INIT_READ_OP_POLL_TYPE);
410 if (poll == INIT_POLL_NONE)
413 switch (poll) {
424 DP_ERR(p_hwfn, "Invalid poll comparison type %08x\n",
603 /* initialize PTT/GTT (poll for completion) */
/freebsd-11-stable/contrib/netbsd-tests/fs/puffs/
H A Dt_fuzz.c41 #include <sys/poll.h>
/freebsd-11-stable/share/examples/drivers/
H A Dmake_pseudo_driver.sh151 static d_poll_t ${1}poll;
161 .d_poll = ${1}poll,
324 ${1}poll(struct cdev *dev, int which, struct thread *td)
/freebsd-11-stable/contrib/pf/libevent/
H A Dpoll.c1 /* $OpenBSD: poll.c,v 1.2 2002/06/25 15:50:15 mickey Exp $ */
41 #include <poll.h>
79 "poll",
93 /* Disable poll when this environment variable is set */
159 res = poll(pop->event_set, nfds, sec);
163 event_warn("poll");
172 event_debug(("%s: poll reports %d", __func__, res));
/freebsd-11-stable/contrib/tnftp/
H A Dtnftp.h27 # include <poll.h>
29 # include <sys/poll.h>
113 /* we use poll */
117 # error "no poll() or select() found"
/freebsd-11-stable/tools/tools/netmap/
H A Dbridge.c15 #include <sys/poll.h>
270 /* setup poll(2) array */
313 /* poll() also cause kernel to txsync/rxsync the NICs */
314 ret = poll(pollfd, 2, 2500);
317 D("poll %s [0] ev %x %x rx %d@%d tx %d,"
350 * kernel will txsync on next poll(). */
/freebsd-11-stable/sys/dev/kbd/
H A Dkbdreg.h160 kbd_poll_mode_t *poll; member in struct:keyboard_switch
204 (*kbdsw[(kbd)->kb_index]->poll)((kbd), (on))
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/common/
H A DMainLoop.cpp34 #include <poll.h>
40 #define POLL poll
/freebsd-11-stable/lib/libc/sys/
H A DMakefile.inc49 poll \
244 poll.2 \
418 MLINKS+=poll.2 ppoll.2

Completed in 307 milliseconds

1234567891011>>