Symbol: poll
bin/sh/miscbltin.c
239
status = poll(&pfd, 1, 0);
cddl/usr.sbin/zfsd/zfsd.cc
349
result = poll(fds, NUM_ELEMENTS(fds), /*timeout*/INFTIM);
crypto/heimdal/appl/telnet/telnet/externs.h
269
int poll);
crypto/heimdal/appl/telnet/telnet/sys_bsd.c
768
int poll) /* If 0, then block until something to do */
crypto/heimdal/appl/telnet/telnet/sys_bsd.c
802
(poll == 0)? (struct timeval *)0 : &TimeValue)) < 0) {
crypto/heimdal/lib/ipc/server.c
1002
poll(fds, num_fds, -1);
crypto/heimdal/lib/roken/getifaddrs.c
408
status = poll(&pfd, 1, 1000);
crypto/krb5/src/lib/krb5/os/sendto_kdc.c
365
*sret = poll(out->fds, out->nfds, interval);
crypto/krb5/src/util/verto/ev_poll.c
95
res = poll (polls, pollcnt, timeout * 1e3);
crypto/openssh/atomicio.c
139
(void)poll(&pfd, 1, -1);
crypto/openssh/atomicio.c
77
(void)poll(&pfd, 1, -1);
crypto/openssh/monitor.c
506
if (poll(pfd, pfd[1].fd == -1 ? 1 : 2, -1) == -1) {
crypto/openssh/monitor_fdpass.c
148
(void)poll(&pfd, 1, -1);
crypto/openssh/monitor_fdpass.c
93
(void)poll(&pfd, 1, -1);
crypto/openssh/mux.c
1534
(void)poll(&pfd, 1, -1);
crypto/openssh/openbsd-compat/bsd-poll.h
83
int poll(struct pollfd *, nfds_t, int);
crypto/openssh/regress/netcat.c
1048
if (poll(&pfd, 1, -1) == -1)
crypto/openssh/regress/netcat.c
691
if ((ret = poll(&pfd, 1, timeout)) == 1) {
crypto/openssh/regress/netcat.c
840
num_fds = poll(pfd, 4, timeout);
crypto/openssh/sftp-client.c
2406
if ((r = poll(&pfd, 1, 0)) == -1) {
crypto/openssh/sftp-server.c
2062
if (poll(pfd, 2, -1) == -1) {
crypto/openssh/ssh-pkcs11-helper.c
402
if ((r = poll(pfd, 2, -1 /* INFTIM */)) <= 0) {
crypto/openssl/crypto/bio/bio_sock.c
473
return poll(&confds, 1, (int)(max_time - now) * 1000);
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking-threads.c
302
if (poll(&pfd, 1, timeout) == 0) {
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking-threads.c
320
if (poll(&pfd, 1, timeout) == 0) {
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
379
if (poll(&pfd, 1, timeval_to_ms(&t)) == 0)
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
381
if (poll(&pfd, 1, timeout) == 0)
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
423
if (poll(&pfd, 1, timeval_to_ms(&t)) == 0)
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
425
if (poll(&pfd, 1, timeout) == 0)
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
394
if (poll(&pfd, 1, timeval_to_ms(&t)) == 0)
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
396
if (poll(&pfd, 1, timeout) == 0)
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
438
if (poll(&pfd, 1, timeval_to_ms(&t)) == 0)
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
440
if (poll(&pfd, 1, timeout) == 0)
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
314
if (poll(&pfd, 1, timeout) == 0)
crypto/openssl/ssl/quic/quic_reactor.c
391
pres = poll(pfds, npfd, timeout_ms);
crypto/openssl/ssl/rio/poll_builder.c
173
rc = poll(rpb->pfd_heap != NULL ? rpb->pfd_heap : rpb->pfds,
crypto/openssl/ssl/rio/poll_builder.h
37
#error Unknown RIO poll method
include/ssp/poll.h
36
__ssp_redirect_raw_impl(int, poll, poll,
include/ssp/poll.h
42
return (__ssp_real(poll)(fds, nfds, timeout));
lib/libc/sys/poll.c
38
__ssp_real(poll)(struct pollfd pfd[], nfds_t nfds, int timeout)
lib/libc/sys/poll.c
40
return (INTERPOS_SYS(poll, pfd, nfds, timeout));
lib/libc/tests/secure/fortify_poll_test.c
186
poll(__stack.__buf, __len, 0);
lib/libc/tests/secure/fortify_poll_test.c
211
poll(__stack.__buf, __len, 0);
lib/libc/tests/secure/fortify_poll_test.c
245
poll(__stack.__buf, __len, 0);
lib/libc/tests/secure/fortify_poll_test.c
293
poll(__stack.__buf, __len, 0);
lib/libc/tests/secure/fortify_poll_test.c
319
poll(__stack.__buf, __len, 0);
lib/libc/tests/secure/fortify_poll_test.c
354
poll(__stack.__buf, __len, 0);
lib/libc/tests/stdtime/detect_tz_changes_test.c
250
ATF_REQUIRE(poll(fds, 1, 100) >= 0);
lib/libc/tests/stdtime/detect_tz_changes_test.c
279
ATF_REQUIRE(poll(fds, 3, 1000) >= 0);
lib/libdevdctl/consumer.cc
236
result = poll(fds, NUM_ELEMENTS(fds), /*timeout*/0);
lib/libfetch/common.c
1365
if (poll(&pfd, 1, deltams) < 0) {
lib/libfetch/common.c
1472
if (poll(&pfd, 1, deltams) < 0) {
lib/libnetgraph/msg.c
238
n = poll(&rfds, 1, INFTIM);
lib/libpam/modules/pam_exec/pam_exec.c
369
if (poll(pfd, nfds, INFTIM) < 0) {
lib/libsys/interposing_table.c
49
SLOT(poll, __sys_poll),
lib/libthr/thread/thr_syscalls.c
675
SLOT(poll);
lib/libusb/libusb10_hotplug.c
243
if (poll(&pfd, nfds, timeout) > 0) {
lib/libusb/libusb10_io.c
142
err = poll(fds, nfds, timeout);
lib/libusb/libusb20.c
1104
if (poll(pfd, 1, timeout)) {
lib/virtual_oss/oss/oss.c
156
err = poll(&fds, 1, 2000);
libexec/getty/subr.c
644
if (poll(set, 1, 5000) <= 0)
libexec/tftpd/tftp-io.c
395
if (poll(&pfd, 1, 1000 * (timeout < 0 ? -timeout : timeout)) < 1) {
sbin/devd/devd.cc
997
s = poll(&pfd, 1, 0);
sbin/dhclient/dhclient.c
2875
if ((nfds = poll(pfd, 1, INFTIM)) == -1)
sbin/dhclient/dispatch.c
221
count = poll(fds, nfds, to_msec);
share/examples/sound/poll.c
50
if (poll(pfds, sizeof(pfds) / sizeof(struct pollfd), -1) < 0)
stand/userboot/test/test.c
533
.poll = test_poll,
stand/userboot/userboot.h
73
int (*poll)(void *arg);
stand/userboot/userboot/userboot_cons.c
125
return (CALLBACK(poll));
sys/amd64/vmm/io/vatpic.c
284
atpic->poll = 0;
sys/amd64/vmm/io/vatpic.c
411
atpic->poll = ((val & OCW3_P) != 0);
sys/amd64/vmm/io/vatpic.c
635
if (atpic->poll) {
sys/amd64/vmm/io/vatpic.c
636
atpic->poll = 0;
sys/amd64/vmm/io/vatpic.c
70
bool poll;
sys/amd64/vmm/io/vatpic.c
830
SNAPSHOT_VAR_OR_LEAVE(atpic->poll, meta, ret, done);
sys/compat/linuxkpi/common/include/linux/fs.h
140
unsigned int (*poll) (struct linux_file *, struct poll_table_struct *);
sys/compat/linuxkpi/common/include/linux/netdevice.h
244
int (*poll)(struct napi_struct *, int);
sys/compat/linuxkpi/common/src/linux_compat.c
1199
temp = OPW(filp->_file, td, fop->poll(filp, NULL));
sys/compat/linuxkpi/common/src/linux_compat.c
1229
if (filp->f_op->poll == NULL)
sys/compat/linuxkpi/common/src/linux_compat.c
1523
if (fop->poll != NULL) {
sys/compat/linuxkpi/common/src/linux_compat.c
1524
revents = OPW(file, td, fop->poll(filp,
sys/compat/linuxkpi/common/src/linux_netdev.c
140
if (napi->poll != NULL)
sys/compat/linuxkpi/common/src/linux_netdev.c
141
rc = napi->poll(napi, napi->budget);
sys/compat/linuxkpi/common/src/linux_netdev.c
302
KASSERT(napi->poll != NULL, ("%s: napi %p poll is NULL\n",
sys/compat/linuxkpi/common/src/linux_netdev.c
306
count = napi->poll(napi, napi->budget);
sys/compat/linuxkpi/common/src/linux_netdev.c
334
napi->poll = napi_poll;
sys/dev/acpica/acpi_apei.c
489
callout_schedule_sbt(&pges->poll, pges->interval, pges->interval, 0);
sys/dev/acpica/acpi_apei.c
688
callout_init(&pges->poll, 1);
sys/dev/acpica/acpi_apei.c
720
callout_reset_sbt(&pges->poll, pges->interval, pges->interval,
sys/dev/acpica/acpi_apei.c
764
callout_drain(&sc->pges[i].poll);
sys/dev/acpica/acpi_apei.c
84
struct callout poll;
sys/dev/adb/adb_kbd.c
211
.poll = akbd_poll,
sys/dev/atkbdc/atkbd.c
255
.poll = atkbd_poll,
sys/dev/dcons/dcons_crom.c
181
sc->fd.fc->poll(sc->fd.fc, -1, -1);
sys/dev/drm2/drm_crtc_helper.c
1038
bool poll = false;
sys/dev/drm2/drm_crtc_helper.c
1047
poll = true;
sys/dev/drm2/drm_crtc_helper.c
1050
if (poll)
sys/dev/drm2/drm_crtc_helper.c
70
module_param_named(poll, drm_kms_helper_poll, bool, 0600);
sys/dev/firewire/firewirereg.h
153
void (*poll) (struct firewire_comm *, int, int);
sys/dev/firewire/fwohci.c
752
sc->fc.poll = fwohci_poll;
sys/dev/firewire/if_fwe.c
109
fc->poll(fc, (cmd == POLL_AND_CHECK_STATUS)?0:1, count);
sys/dev/firewire/if_fwip.c
120
fc->poll(fc, (cmd == POLL_AND_CHECK_STATUS)?0:1, count);
sys/dev/firewire/sbp.c
2634
fc->poll(fc, 0, -1);
sys/dev/gpio/gpiokeys.c
1022
.poll = &gpiokeys_poll,
sys/dev/hid/hkbd.c
2071
.poll = &hkbd_poll,
sys/dev/hyperv/input/hv_kbd.c
735
.poll = hvkbd_poll,
sys/dev/intpm/intpm.c
217
sc->poll = 1;
sys/dev/intpm/intpm.c
293
sc->poll = (value & PCI_INTR_SMB_ENABLE) == 0;
sys/dev/intpm/intpm.c
310
sc->poll == 0 ? "enabled" : "disabled");
sys/dev/intpm/intpm.c
313
if (!sc->poll && intr == PCI_INTR_SMB_SMI) {
sys/dev/intpm/intpm.c
316
sc->poll = 1;
sys/dev/intpm/intpm.c
319
if (sc->poll)
sys/dev/intpm/intpm.c
538
if (!sc->poll && !cold && !nointr)
sys/dev/intpm/intpm.c
57
int poll;
sys/dev/intpm/intpm.c
616
if (sc->poll || cold)
sys/dev/irdma/irdma_utils.c
1769
bool poll;
sys/dev/irdma/irdma_utils.c
1772
poll = true;
sys/dev/irdma/irdma_utils.c
1774
poll = false;
sys/dev/irdma/irdma_utils.c
1776
cqp_request = irdma_alloc_and_get_cqp_request(iwcqp, !poll);
sys/dev/irdma/irdma_utils.c
1791
if (poll) {
sys/dev/ixgbe/ixgbe_common.c
3231
u32 i, poll;
sys/dev/ixgbe/ixgbe_common.c
3269
poll = ixgbe_pcie_timeout_poll(hw);
sys/dev/ixgbe/ixgbe_common.c
3270
for (i = 0; i < poll; i++) {
sys/dev/ixgbe/ixgbe_common.c
4889
u32 gcr_ext, hlreg0, i, poll;
sys/dev/ixgbe/ixgbe_common.c
4915
poll = ixgbe_pcie_timeout_poll(hw);
sys/dev/ixgbe/ixgbe_common.c
4916
for (i = 0; i < poll; i++) {
sys/dev/kbd/kbdreg.h
318
return ((*kbd->kb_drv->kbdsw->poll)(kbd, on));
sys/dev/kbd/kbdreg.h
97
kbd_poll_mode_t *poll;
sys/dev/kbdmux/kbdmux.c
347
.poll = kbdmux_poll,
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
2506
.poll = devx_async_cmd_event_poll,
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
2621
.poll = devx_async_event_poll,
sys/dev/mvs/mvs.c
78
static void mvs_legacy_intr(device_t dev, int poll);
sys/dev/mvs/mvs.c
836
mvs_legacy_intr(device_t dev, int poll)
sys/dev/mvs/mvs.c
852
if (poll)
sys/dev/netmap/netmap_kloop.c
785
mask = filp->f_op->poll(filp,
sys/dev/qlnx/qlnxe/ecore_init_ops.c
392
u32 data, addr, poll;
sys/dev/qlnx/qlnxe/ecore_init_ops.c
397
poll = GET_FIELD(data, INIT_READ_OP_POLL_TYPE);
sys/dev/qlnx/qlnxe/ecore_init_ops.c
406
if (poll == INIT_POLL_NONE)
sys/dev/qlnx/qlnxe/ecore_init_ops.c
409
switch (poll) {
sys/dev/qlxgbe/ql_hw.c
5433
uint32_t read_addr, poll, mask, data;
sys/dev/qlxgbe/ql_hw.c
5441
poll = entry->poll;
sys/dev/qlxgbe/ql_hw.c
5451
while (wait_count < poll) {
sys/dev/qlxgbe/ql_hw.c
5464
if (wait_count == poll) {
sys/dev/qlxgbe/ql_hw.c
5469
__func__, wait_count, poll);
sys/dev/qlxgbe/ql_hw.c
5499
uint32_t poll, mask, modify_mask;
sys/dev/qlxgbe/ql_hw.c
5507
poll = entry->poll;
sys/dev/qlxgbe/ql_hw.c
5516
while (wait_count < poll) {
sys/dev/qlxgbe/ql_hw.c
5529
if (wait_count == poll) {
sys/dev/qlxgbe/ql_hw.c
5549
while (wait_count < poll) {
sys/dev/qlxgbe/ql_minidump.h
439
uint32_t poll;
sys/dev/qlxgbe/ql_minidump.h
458
uint32_t poll;
sys/dev/sound/pci/hda/hdaa.c
774
int i, poll = 0;
sys/dev/sound/pci/hda/hdaa.c
799
poll = 1;
sys/dev/sound/pci/hda/hdaa.c
816
if (poll) {
sys/dev/tpm/tpm_tis_core.c
100
int poll = 0;
sys/dev/tpm/tpm_tis_core.c
108
resource_int_value("tpm", device_get_unit(dev), "use_polling", &poll);
sys/dev/tpm/tpm_tis_core.c
109
if (poll != 0) {
sys/dev/usb/input/ukbd.c
2294
.poll = &ukbd_poll,
sys/dev/vkbd/vkbd.c
583
.poll = vkbd_poll,
sys/kern/subr_smr.c
202
static COUNTER_U64_DEFINE_EARLY(poll);
sys/kern/subr_smr.c
203
SYSCTL_COUNTER_U64(_debug_smr, OID_AUTO, poll, CTLFLAG_RW, &poll, "");
sys/kern/subr_smr.c
502
counter_u64_add_protected(poll, 1);
sys/net/netmap_user.h
564
return poll(fds, nfds, timeout);
sys/ofed/drivers/infiniband/core/ib_ucm.c
1219
.poll = ib_ucm_poll,
sys/ofed/drivers/infiniband/core/ib_ucma.c
1747
.poll = ucma_poll,
sys/ofed/drivers/infiniband/core/ib_user_mad.c
1018
.poll = ib_umad_poll,
sys/ofed/drivers/infiniband/core/ib_uverbs_main.c
338
.poll = ib_uverbs_comp_event_poll,
sys/ofed/drivers/infiniband/core/ib_uverbs_main.c
347
.poll = ib_uverbs_async_event_poll,
sys/powerpc/powermac/cuda.c
366
cuda_send(void *cookie, int poll, int length, uint8_t *msg)
sys/powerpc/powermac/cuda.c
403
if (sc->sc_polling || poll || cold)
sys/powerpc/powermac/cuda.c
712
u_char poll)
sys/powerpc/powermac/cuda.c
724
cuda_send(sc, poll, len + 2, packet);
sys/powerpc/powermac/cuda.c
73
u_char *data, u_char poll);
sys/powerpc/powermac/pmu.c
761
u_char poll)
sys/powerpc/powermac/pmu.c
780
if (poll)
sys/powerpc/powermac/pmu.c
94
u_char *data, u_char poll);
sys/sys/poll.h
117
int poll(struct pollfd _pfd[], nfds_t _nfds, int _timeout);
tests/sys/aio/aio_test.c
1849
len = poll(&aio);
tests/sys/aio/aio_test.c
1867
len = poll(&aio);
tests/sys/aio/aio_test.c
1887
aio_file_test(poll, NULL, true);
tests/sys/aio/aio_test.c
1903
aio_md_test(poll, NULL, true);
tests/sys/aio/aio_test.c
1913
aio_unix_socketpair_test(poll, NULL, true);
tests/sys/aio/aio_test.c
1970
len = poll(&aio);
tests/sys/aio/aio_test.c
1985
len = poll(&aio);
tests/sys/aio/aio_test.c
2031
aio_zvol_test(poll, NULL, true, atf_tc_get_ident(tc));
tests/sys/aio/aio_test.c
480
aio_file_test(poll, NULL, false);
tests/sys/aio/aio_test.c
554
aio_fifo_test(poll, NULL);
tests/sys/aio/aio_test.c
620
aio_unix_socketpair_test(poll, NULL, false);
tests/sys/aio/aio_test.c
696
aio_pty_test(poll, NULL);
tests/sys/aio/aio_test.c
752
aio_pipe_test(poll, NULL);
tests/sys/aio/aio_test.c
895
aio_md_test(poll, NULL, false);
tests/sys/capsicum/capability-fd.cc
550
int ret = poll(&pollfd, 1, 0);
tests/sys/capsicum/linux.cc
176
EXPECT_OK(poll(&poll_fd, 1, 400));
tests/sys/capsicum/linux.cc
181
EXPECT_OK(poll(&poll_fd, 1, 400));
tests/sys/capsicum/linux.cc
227
EXPECT_OK(poll(&poll_fd, 1, 400));
tests/sys/capsicum/linux.cc
232
EXPECT_OK(poll(&poll_fd, 1, 400));
tests/sys/capsicum/linux.cc
466
EXPECT_OK(poll(&poll_fd, 1, 1400));
tests/sys/capsicum/linux.cc
471
EXPECT_OK(poll(&poll_fd, 1, 1400));
tests/sys/capsicum/linux.cc
476
EXPECT_OK(poll(&poll_fd, 1, 1400));
tests/sys/capsicum/linux.cc
84
EXPECT_OK(poll(&poll_fd, 1, 400));
tests/sys/capsicum/linux.cc
90
EXPECT_OK(poll(&poll_fd, 1, 400));
tests/sys/capsicum/procdesc.cc
360
EXPECT_EQ(0, poll(&fdp, 1, 0));
tests/sys/capsicum/procdesc.cc
365
EXPECT_EQ(1, poll(&fdp, 1, 2000));
tests/sys/capsicum/procdesc.cc
370
EXPECT_EQ(1, poll(&fdp, 1, 0));
tests/sys/capsicum/procdesc.cc
412
EXPECT_EQ(0, poll(&fdp, 1, 0));
tests/sys/capsicum/procdesc.cc
426
EXPECT_EQ(1, poll(&fdp, 1, 2000));
tests/sys/capsicum/select.cc
125
EXPECT_OK(poll(cap_fd, kCapCount + 1, 10));
tests/sys/capsicum/select.cc
127
EXPECT_OK(poll(cap_fd, kCapCount + 2, 10));
tests/sys/fifo/fifo_io.c
871
if (poll(fds, 1, 0) < 0) {
tests/sys/file/path_test.c
505
ATF_REQUIRE_MSG(poll(&pollfd, 1, 0) == 1, FMT_ERR("poll"));
tests/sys/file/path_test.c
510
ATF_REQUIRE_MSG(poll(&pollfd, 1, 0) == 1, FMT_ERR("poll"));
tests/sys/fs/fusefs/mockfs.cc
1048
nready = poll(fds, 1, INFTIM);
tests/sys/fs/fusefs/mockfs.cc
974
nready = poll(fds, 1, timeout_int);
tests/sys/kern/ktls_test.c
210
ATF_REQUIRE_INTEQ(1, poll(&pfd, 1, INFTIM));
tests/sys/kern/listener_wakeup.c
173
rv = poll(&fds, 1, INFTIM);
tests/sys/kern/prace.c
39
child(int rd, bool poll)
tests/sys/kern/prace.c
58
ret = poll ? ppoll(NULL, 0, &timeout, &set0) :
tests/sys/kern/prace.c
66
err(1, "p%s()", poll ? "poll" : "select");
tests/sys/kern/prace.c
84
prace(bool poll)
tests/sys/kern/prace.c
96
child(pd[1], poll);
tests/sys/kern/ssl_sendfile.c
282
ATF_REQUIRE(poll(&(struct pollfd){ .fd = fd, .events = POLLIN },
tests/sys/kern/ssl_sendfile.c
368
while (poll(&(struct pollfd){ .fd = c.ss, .events = POLLOUT }, 1, 1)
tests/sys/kern/ssl_sendfile.c
403
while (poll(&(struct pollfd){ .fd = c.ss, .events = POLLOUT }, 1, 1)
tests/sys/kern/timerfd.c
1020
poll(&(struct pollfd) { .fd = tfd, .events = POLLIN }, 1, -1) == 1);
tests/sys/kern/timerfd.c
1043
ATF_REQUIRE(poll(&(struct pollfd) { .fd = tfd, .events = POLLIN }, 1,
tests/sys/kern/timerfd.c
1070
poll(&(struct pollfd) { .fd = tfd, .events = POLLIN }, 1, -1) == 1);
tests/sys/kern/timerfd.c
1108
poll(&(struct pollfd) { .fd = tfd, .events = POLLIN }, 1, -1) == 1);
tests/sys/kern/timerfd.c
1123
ATF_REQUIRE(poll(&(struct pollfd) { .fd = tfd, .events = POLLIN }, 1,
tests/sys/kern/timerfd.c
1146
poll(&(struct pollfd) { .fd = tfd, .events = POLLIN }, 1, -1) == 1);
tests/sys/kern/timerfd.c
1173
r = poll(&(struct pollfd) { .fd = tfd, .events = POLLIN }, 1, 3000);
tests/sys/kern/timerfd.c
1301
int r = poll(&(struct pollfd) { .fd = tfd, .events = POLLIN },
tests/sys/kern/timerfd.c
266
ATF_REQUIRE(poll(&pfd, 1, 250) == 0);
tests/sys/kern/timerfd.c
583
ATF_REQUIRE(poll(&pfd, 1, -1) == 1);
tests/sys/kern/timerfd.c
606
ATF_REQUIRE(poll(&pfd, 1, 0) == 0);
tests/sys/kern/timerfd.c
634
ATF_REQUIRE(poll(&pfd, 1, 1000) == 1);
tests/sys/kern/timerfd.c
649
ATF_REQUIRE(poll(&pfd, 1, -1) == 1);
tests/sys/kern/timerfd.c
682
ATF_REQUIRE(poll(&pfd, 1, 100) == 0);
tests/sys/kern/timerfd.c
699
ATF_REQUIRE(poll(&pfd, 1, 1000) == 1);
tests/sys/kern/timerfd.c
71
ATF_REQUIRE(poll(&pfd, 1, -1) == 1);
tests/sys/kern/timerfd.c
735
ATF_REQUIRE(poll(&pfd, 1, -1) == 1);
tests/sys/kern/timerfd.c
763
ATF_REQUIRE(poll(&pfd, 1, -1) == 1);
tests/sys/kern/timerfd.c
782
ATF_REQUIRE(poll(&pfd, 1, 500) == 0);
tests/sys/kern/timerfd.c
943
ATF_REQUIRE(poll(&pfd, 1, 500) == 0);
tests/sys/kern/unix_stream.c
152
nfds = poll(pfd, 1, ctx->timeout ? 1 : INFTIM);
tests/sys/net/routing/rtsock_common.h
682
if (poll(&pfd, 1, poll_delay) == 0)
tests/sys/netinet/socket_afinet.c
138
rc = poll(&pfd, 1, 0);
tests/sys/netinet/socket_afinet.c
153
rc = poll(&pfd, 1, 60000);
tests/sys/netinet/socket_afinet.c
202
rc = poll(&pfd, 1, 0);
tests/sys/netinet/socket_afinet.c
215
rc = poll(&pfd, 1, 0);
tests/sys/netinet/socket_afinet.c
236
rc = poll(&pfd, 1, 60000);
tests/sys/sound/polling.c
143
ATF_REQUIRE_MSG(poll(pfd, sizeof(pfd) / sizeof(struct pollfd),
tools/regression/netinet/tcpfullwindowrst/tcpfullwindowrsttest.c
104
if (poll(pfd, 2, 1000) == 0) {
tools/regression/poll/pipepoll.c
104
if ((res = poll(&pfd, 1, 0)) < 0)
tools/regression/poll/pipepoll.c
122
if ((res = poll(&pfd, 1, 0)) < 0)
tools/regression/poll/pipepoll.c
130
if ((res = poll(&pfd, 1, 0)) < 0)
tools/regression/poll/pipepoll.c
135
if ((res = poll(&pfd, 1, 0)) < 0)
tools/regression/poll/pipepoll.c
143
if ((res = poll(&pfd, 1, 0)) < 0)
tools/regression/poll/pipepoll.c
158
if ((res = poll(&pfd, 1, 0)) < 0)
tools/regression/poll/pipepoll.c
166
if ((res = poll(&pfd, 1, 0)) < 0)
tools/regression/poll/pipepoll.c
184
if ((res = poll(&pfd, 1, 0)) < 0)
tools/regression/poll/pipepoll.c
189
if ((res = poll(&pfd, 1, 0)) < 0)
tools/regression/poll/pipepoll.c
201
if ((res = poll(&pfd, 1, 0)) < 0)
tools/regression/poll/pipepoll.c
205
if ((res = poll(&pfd, 1, 0)) < 0)
tools/regression/poll/pipepoll.c
209
if ((res = poll(&pfd, 1, 0)) < 0)
tools/regression/poll/sockpoll.c
127
if (poll(&pfd0, 1, 0) == -1)
tools/regression/poll/sockpoll.c
130
if (poll(&pfd1, 1, 0) == -1)
tools/regression/poll/sockpoll.c
135
if (poll(&pfd0, 1, 0) == -1)
tools/regression/poll/sockpoll.c
138
if (poll(&pfd1, 1, 0) == -1)
tools/regression/poll/sockpoll.c
142
if (poll(&pfd1, 1, 0) == -1)
tools/regression/poll/sockpoll.c
147
if (poll(&pfd1, 1, 0) == -1)
tools/regression/poll/sockpoll.c
156
if (poll(&pfd0, 1, 0) == -1)
tools/regression/poll/sockpoll.c
159
if (poll(&pfd1, 1, 0) == -1)
tools/regression/poll/sockpoll.c
171
if (poll(&pfd1, 1, 0) == -1)
tools/regression/poll/sockpoll.c
176
if (poll(&pfd0, 1, 0) == -1)
tools/regression/poll/sockpoll.c
179
if (poll(&pfd1, 1, 0) == -1)
tools/regression/poll/sockpoll.c
184
if (poll(&pfd0, 1, 0) == -1)
tools/regression/poll/sockpoll.c
187
if (poll(&pfd1, 1, 0) == -1)
tools/regression/poll/sockpoll.c
191
if (poll(&pfd1, 1, 0) == -1)
tools/regression/poll/sockpoll.c
204
if (poll(&pfd0, 1, 0) == -1)
tools/regression/poll/sockpoll.c
207
if (poll(&pfd1, 1, 0) == -1)
tools/regression/poll/sockpoll.c
212
if (poll(&pfd0, 1, 0) == -1)
tools/regression/poll/sockpoll.c
215
if (poll(&pfd1, 1, 0) == -1)
tools/regression/poll/sockpoll.c
226
if (poll(&pfd1, 1, 0) == -1)
tools/regression/poll/sockpoll.c
231
if (poll(&pfd1, 1, 0) == -1)
tools/regression/poll/sockpoll.c
236
if (poll(&pfd1, 1, 0) == -1)
tools/regression/security/cap_test/cap_test_capabilities.c
395
ret = poll(&pollfd, 1, 0);
tools/regression/sockets/udp_pingpong/udp_pingpong.c
439
pr = poll(&tcp->pfds[fdidx], 1, tout);
tools/test/gpioevents/gpioevents.c
269
res = poll(&fds, 1, timeout);
tools/tools/netmap/bridge.c
347
ret = poll(pollfd, 2, 2500);
tools/tools/netmap/lb.c
925
rv = poll(pollfd, polli, poll_timeout);
tools/tools/netmap/pkt-gen.c
1372
poll(NULL, 0, 1);
tools/tools/netmap/pkt-gen.c
1474
if ( (rv = poll(&pfd, 1, 3000)) <= 0) {
tools/tools/netmap/pkt-gen.c
1610
if ( (rv = poll(&pfd, 1, 1000)) <= 0) {
tools/tools/netmap/pkt-gen.c
1793
if ( (rv = poll(&pfd, 1, 2000)) <= 0) {
tools/tools/netmap/pkt-gen.c
1942
i = poll(&pfd, 1, 1000);
tools/tools/netmap/pkt-gen.c
1992
if (poll(&pfd, 1, 1 * 1000) <= 0 && !targ->g->forever) {
tools/tools/netmap/pkt-gen.c
2114
if ( (rv = poll(&pfd, 1, 2000)) <= 0) {
tools/tools/netmap/pkt-gen.c
2284
i = poll(&pfd, 1, 1000);
tools/tools/netmap/pkt-gen.c
2305
if (poll(&pfd, 1, 1 * 1000) <= 0 && !targ->g->forever) {
tools/tools/netrate/netreceive/netreceive.c
109
if (poll(&fds, 1, -1) < 0)
tools/tools/netrate/netreceive/netreceive.c
170
if (poll(NULL, 0, 500) < 0)
usr.bin/genl/genl.c
373
if (poll(&pfd, 1, -1) == -1) {
usr.bin/mail/tests/mailx_signal_test.c
106
ATF_REQUIRE(poll(fds, 2, 1000) >= 0);
usr.bin/mail/tests/mailx_signal_test.c
95
poll(NULL, 0, 2000);
usr.bin/talk/ctl_transact.c
76
nready = poll(pfd, 1, CTL_WAIT * 1000);
usr.bin/talk/ctl_transact.c
95
nready = poll(pfd, 1, 0);
usr.bin/talk/io.c
111
nb = poll(fds, 2, INFTIM);
usr.bin/whois/whois.c
373
n = poll(fds, i, timeout);
usr.sbin/bhyve/slirp/slirp-helper.c
260
error = poll(pollfds, npollfds, timeout);
usr.sbin/bhyveload/bhyveload.c
647
.poll = cb_poll,
usr.sbin/fifolog/fifolog_writer/fifolog_writer.c
99
i = poll(pfd, 1, 1000);
usr.sbin/ngctl/main.c
290
if (poll(pfds, 2, INFTIM) <= 0) {
usr.sbin/ngctl/main.c
394
if (poll(pfds, 2, 0) <= 0) {
usr.sbin/ngctl/main.c
398
if (poll(pfds, 3, INFTIM) < 0 && errno != EINTR)
usr.sbin/ngctl/msg.c
100
switch (poll(pfds, 1, 0)) {
usr.sbin/ntp/ntpdc/nl.c
316
(int) offsetof(struct info_sys, poll));
usr.sbin/route6d/route6d.c
484
switch (poll(set, 2, INFTIM))
usr.sbin/rpcbind/rpcb_svc_com.c
1114
poll_ret = poll(pollfds, nfds, 30 * 1000);
usr.sbin/rtadvd/control.c
134
i = poll(pfds, nitems(pfds),
usr.sbin/rtadvd/control.c
78
i = poll(pfds, nitems(pfds),
usr.sbin/rtadvd/rtadvd.c
333
if ((i = poll(set, nitems(set),
usr.sbin/syslogd/syslogd.c
3383
events = poll(&pollfd, 1, maxwait * 1000);
usr.sbin/traceroute6/traceroute6.c
1062
if (poll(pfd, 1, waittime * 1000) > 0 &&
usr.sbin/virtual_oss/virtual_bt_speaker/bt_speaker.c
288
if (poll(pfd, np, INFTIM) < 0)
usr.sbin/virtual_oss/virtual_oss/httpd.c
694
if (poll(fds, ns, -1) < 0)