bin/sh/miscbltin.c
231
pfd.events = POLLIN;
cddl/usr.sbin/zfsd/case_file.cc
924
CaseFile::SerializeEvList(const EventList events, int fd,
cddl/usr.sbin/zfsd/case_file.cc
927
if (events.empty())
cddl/usr.sbin/zfsd/case_file.cc
929
for (EventList::const_iterator curEvent = events.begin();
cddl/usr.sbin/zfsd/case_file.cc
930
curEvent != events.end(); curEvent++) {
cddl/usr.sbin/zfsd/case_file.h
329
void SerializeEvList(const DevdCtl::EventList events, int fd,
cddl/usr.sbin/zfsd/zfsd.cc
344
fds[0].events = POLLIN;
cddl/usr.sbin/zfsd/zfsd.cc
347
fds[1].events = POLLIN;
crypto/heimdal/lib/ipc/server.c
993
fds[n].events = 0;
crypto/heimdal/lib/ipc/server.c
995
fds[n].events |= POLLIN;
crypto/heimdal/lib/ipc/server.c
997
fds[n].events |= POLLOUT;
crypto/heimdal/lib/roken/getifaddrs.c
406
pfd.events = POLLIN | POLLPRI;
crypto/krb5/src/lib/apputils/net-server.c
1064
FOREACH_ELT(events, i, ev)
crypto/krb5/src/lib/apputils/net-server.c
1066
events.n = 0;
crypto/krb5/src/lib/apputils/net-server.c
1074
krb5_klog_syslog (LOG_INFO, _("set up %d sockets"), (int) events.n);
crypto/krb5/src/lib/apputils/net-server.c
1075
if (events.n == 0) {
crypto/krb5/src/lib/apputils/net-server.c
1200
FOREACH_ELT (events, i, ev) {
crypto/krb5/src/lib/apputils/net-server.c
1509
FREE_SET_DATA(events);
crypto/krb5/src/lib/apputils/net-server.c
1518
FOREACH_ELT(events, i, ev) {
crypto/krb5/src/lib/apputils/net-server.c
221
static SET(verto_ev *) events;
crypto/krb5/src/lib/apputils/net-server.c
497
FOREACH_ELT(events, i, tmp)
crypto/krb5/src/lib/apputils/net-server.c
499
DEL(events, i);
crypto/krb5/src/lib/apputils/net-server.c
562
if (!ADD(events, ev, tmp)) {
crypto/krb5/src/lib/krad/t_client.c
108
insist(record.events[0].error == FALSE);
crypto/krb5/src/lib/krad/t_client.c
109
insist(record.events[0].result.code == KRAD_CODE_ACCESS_ACCEPT);
crypto/krb5/src/lib/krad/t_client.c
110
insist(record.events[1].error == FALSE);
crypto/krb5/src/lib/krad/t_client.c
111
insist(record.events[1].result.code == KRAD_CODE_ACCESS_REJECT);
crypto/krb5/src/lib/krad/t_client.c
112
insist(record.events[2].error == TRUE);
crypto/krb5/src/lib/krad/t_client.c
113
insist(record.events[2].result.retval == ETIMEDOUT);
crypto/krb5/src/lib/krad/t_client.c
114
insist(record.events[3].error == TRUE);
crypto/krb5/src/lib/krad/t_client.c
115
insist(record.events[3].result.retval == ECANCELED);
crypto/krb5/src/lib/krad/t_client.c
37
struct event events[EVENT_COUNT];
crypto/krb5/src/lib/krad/t_client.c
48
evt = &record.events[record.count++];
crypto/krb5/src/lib/krad/t_remote.c
152
insist(record.events[0].error == FALSE);
crypto/krb5/src/lib/krad/t_remote.c
153
insist(record.events[0].result.code == KRAD_CODE_ACCESS_ACCEPT);
crypto/krb5/src/lib/krad/t_remote.c
154
insist(record.events[1].error == FALSE);
crypto/krb5/src/lib/krad/t_remote.c
155
insist(record.events[1].result.code == KRAD_CODE_ACCESS_REJECT);
crypto/krb5/src/lib/krad/t_remote.c
156
insist(record.events[2].error == TRUE);
crypto/krb5/src/lib/krad/t_remote.c
157
insist(record.events[2].result.retval == ECANCELED);
crypto/krb5/src/lib/krad/t_remote.c
158
insist(record.events[3].error == TRUE);
crypto/krb5/src/lib/krad/t_remote.c
159
insist(record.events[3].result.retval == ETIMEDOUT);
crypto/krb5/src/lib/krad/t_remote.c
160
insist(record.events[4].error == TRUE);
crypto/krb5/src/lib/krad/t_remote.c
161
insist(record.events[4].result.retval == ECANCELED);
crypto/krb5/src/lib/krad/t_remote.c
162
insist(record.events[5].error == TRUE);
crypto/krb5/src/lib/krad/t_remote.c
163
insist(record.events[5].result.retval == ECANCELED);
crypto/krb5/src/lib/krad/t_remote.c
37
struct event events[EVENT_COUNT];
crypto/krb5/src/lib/krad/t_remote.c
50
evt = &record.events[record.count++];
crypto/krb5/src/lib/krb5/os/sendto_kdc.c
224
selstate->fds[selstate->nfds].events = 0;
crypto/krb5/src/lib/krb5/os/sendto_kdc.c
242
find_pollfd(selstate, fd)->events = POLLIN;
crypto/krb5/src/lib/krb5/os/sendto_kdc.c
249
find_pollfd(selstate, fd)->events = POLLOUT;
crypto/krb5/src/util/verto/ev.c
1769
unsigned char events; /* the events watched for */
crypto/krb5/src/util/verto/ev.c
1788
int events; /* the pending event set for the given watcher */
crypto/krb5/src/util/verto/ev.c
1999
pendings [pri][w_->pending - 1].events |= revents;
crypto/krb5/src/util/verto/ev.c
2005
pendings [pri][w_->pending - 1].events = revents;
crypto/krb5/src/util/verto/ev.c
2027
queue_events (EV_P_ W *events, int eventcnt, int type)
crypto/krb5/src/util/verto/ev.c
2032
ev_feed_event (EV_A_ events [i], type);
crypto/krb5/src/util/verto/ev.c
2045
int ev = w->events & revents;
crypto/krb5/src/util/verto/ev.c
2094
backend_modify (EV_A_ fd, anfd->events, 0);
crypto/krb5/src/util/verto/ev.c
2095
anfd->events = 0;
crypto/krb5/src/util/verto/ev.c
2108
unsigned char o_events = anfd->events;
crypto/krb5/src/util/verto/ev.c
2115
anfd->events = 0;
crypto/krb5/src/util/verto/ev.c
2118
anfd->events |= (unsigned char)w->events;
crypto/krb5/src/util/verto/ev.c
2120
if (o_events != anfd->events)
crypto/krb5/src/util/verto/ev.c
2125
backend_modify (EV_A_ fd, o_events, anfd->events);
crypto/krb5/src/util/verto/ev.c
2177
if (anfds [fd].events)
crypto/krb5/src/util/verto/ev.c
2189
if (anfds [fd].events)
crypto/krb5/src/util/verto/ev.c
2203
if (anfds [fd].events)
crypto/krb5/src/util/verto/ev.c
2205
anfds [fd].events = 0;
crypto/krb5/src/util/verto/ev.c
3295
EV_CB_INVOKE (p->w, p->events);
crypto/krb5/src/util/verto/ev.c
3803
return p->events;
crypto/krb5/src/util/verto/ev.c
3844
assert (("libev: ev_io_start called with illegal event mask", !(w->events & ~(EV__IOFDSET | EV_READ | EV_WRITE))));
crypto/krb5/src/util/verto/ev.c
3855
fd_change (EV_A_ fd, w->events & EV__IOFDSET | EV_ANFD_REIFY);
crypto/krb5/src/util/verto/ev.c
3856
w->events &= ~EV__IOFDSET;
crypto/krb5/src/util/verto/ev.c
4957
ev_once (EV_P_ int fd, int events, ev_tstamp timeout, void (*cb)(int revents, void *arg), void *arg) EV_THROW
crypto/krb5/src/util/verto/ev.c
4973
ev_io_set (&once->io, fd, events);
crypto/krb5/src/util/verto/ev.h
322
int events; /* ro */
crypto/krb5/src/util/verto/ev.h
654
EV_API_DECL void ev_once (EV_P_ int fd, int events, ev_tstamp timeout, void (*cb)(int revents, void *arg), void *arg) EV_THROW;
crypto/krb5/src/util/verto/ev.h
693
#define ev_io_set(ev,fd_,events_) do { (ev)->fd = (fd_); (ev)->events = (events_) | EV__IOFDSET; } while (0)
crypto/krb5/src/util/verto/ev.h
707
#define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0)
crypto/krb5/src/util/verto/ev_poll.c
73
polls [idx].events =
crypto/krb5/src/util/verto/ev_select.c
224
if (anfds [fd].events)
crypto/krb5/src/util/verto/ev_select.c
226
int events = 0;
crypto/krb5/src/util/verto/ev_select.c
233
if (FD_ISSET (handle, (fd_set *)vec_ro)) events |= EV_READ;
crypto/krb5/src/util/verto/ev_select.c
234
if (FD_ISSET (handle, (fd_set *)vec_wo)) events |= EV_WRITE;
crypto/krb5/src/util/verto/ev_select.c
236
if (FD_ISSET (handle, (fd_set *)vec_eo)) events |= EV_WRITE;
crypto/krb5/src/util/verto/ev_select.c
239
if (expect_true (events))
crypto/krb5/src/util/verto/ev_select.c
240
fd_event (EV_A_ fd, events);
crypto/krb5/src/util/verto/ev_select.c
260
int events = 0;
crypto/krb5/src/util/verto/ev_select.c
262
events |= word_r & mask ? EV_READ : 0;
crypto/krb5/src/util/verto/ev_select.c
263
events |= word_w & mask ? EV_WRITE : 0;
crypto/krb5/src/util/verto/ev_select.c
265
if (expect_true (events))
crypto/krb5/src/util/verto/ev_select.c
266
fd_event (EV_A_ word * NFDBITS + bit, events);
crypto/krb5/src/util/verto/verto-k5ev.c
141
int events = EV_NONE;
crypto/krb5/src/util/verto/verto-k5ev.c
144
events |= EV_READ;
crypto/krb5/src/util/verto/verto-k5ev.c
146
events |= EV_WRITE;
crypto/krb5/src/util/verto/verto-k5ev.c
149
ev_io_set(((ev_io*) evpriv), verto_get_fd(ev), events);
crypto/krb5/src/util/verto/verto-libev.c
107
int events = EV_NONE;
crypto/krb5/src/util/verto/verto-libev.c
110
events |= EV_READ;
crypto/krb5/src/util/verto/verto-libev.c
112
events |= EV_WRITE;
crypto/krb5/src/util/verto/verto-libev.c
115
ev_io_set(((ev_io*) evpriv), verto_get_fd(ev), events);
crypto/krb5/src/util/verto/verto.c
511
tmp = ctx->events;
crypto/krb5/src/util/verto/verto.c
512
ctx->events = ev;
crypto/krb5/src/util/verto/verto.c
513
ctx->events->next = tmp;
crypto/krb5/src/util/verto/verto.c
55
verto_ev *events;
crypto/krb5/src/util/verto/verto.c
594
while (ctx->events)
crypto/krb5/src/util/verto/verto.c
595
verto_del(ctx->events);
crypto/krb5/src/util/verto/verto.c
668
for (tmp = ctx->events; tmp; tmp = next) {
crypto/krb5/src/util/verto/verto.c
682
for (tmp = ctx->events; tmp; tmp = tmp->next) {
crypto/krb5/src/util/verto/verto.c
898
remove_ev(&(ev->ctx->events), ev);
crypto/openssh/atomicio.c
123
pfd.events = f == readv ? POLLIN : POLLOUT;
crypto/openssh/atomicio.c
125
pfd.events = POLLIN|POLLOUT;
crypto/openssh/atomicio.c
61
pfd.events = f == read ? POLLIN : POLLOUT;
crypto/openssh/atomicio.c
63
pfd.events = POLLIN|POLLOUT;
crypto/openssh/channels.c
2687
pollfd_offset, pfd->fd, pfd->events, pfd->revents);
crypto/openssh/channels.c
2740
pfd[p].events = ev;
crypto/openssh/channels.c
2754
pfd[p].events = ev;
crypto/openssh/channels.c
2770
pfd[p].events = ev;
crypto/openssh/channels.c
2786
pfd[p].events = 0;
crypto/openssh/clientloop.c
713
(*pfdp)[0].events = POLLIN;
crypto/openssh/clientloop.c
715
(*pfdp)[1].events = (oready && ssh_packet_have_data_to_write(ssh)) ?
crypto/openssh/misc.c
337
waitfd(int fd, int *timeoutp, short events, volatile sig_atomic_t *stop)
crypto/openssh/misc.c
347
pfd.events = events;
crypto/openssh/monitor.c
503
pfd[0].events = POLLIN;
crypto/openssh/monitor.c
505
pfd[1].events = pfd[1].fd == -1 ? 0 : POLLIN;
crypto/openssh/monitor_fdpass.c
144
pfd.events = POLLIN;
crypto/openssh/monitor_fdpass.c
89
pfd.events = POLLOUT;
crypto/openssh/mux.c
1512
pfd.events = POLLOUT;
crypto/openssh/openbsd-compat/bsd-poll.c
70
if (fds[i].events & POLLIN)
crypto/openssh/openbsd-compat/bsd-poll.c
72
if (fds[i].events & POLLOUT)
crypto/openssh/openbsd-compat/bsd-poll.c
74
if (fds[i].events & POLLPRI)
crypto/openssh/openbsd-compat/bsd-poll.c
86
if ((fds[i].events & POLLIN) && FD_ISSET(fd, &readfds))
crypto/openssh/openbsd-compat/bsd-poll.c
88
if ((fds[i].events & POLLOUT) && FD_ISSET(fd, &writefds))
crypto/openssh/openbsd-compat/bsd-poll.c
90
if ((fds[i].events & POLLPRI) && FD_ISSET(fd, &exceptfds))
crypto/openssh/openbsd-compat/bsd-poll.h
43
short events;
crypto/openssh/packet.c
1458
pfd.events = POLLIN;
crypto/openssh/packet.c
2146
pfd.events = POLLOUT;
crypto/openssh/regress/netcat.c
1043
pfd.events = POLLOUT;
crypto/openssh/regress/netcat.c
690
pfd.events = POLLOUT;
crypto/openssh/regress/netcat.c
800
pfd[POLL_STDIN].events = POLLIN;
crypto/openssh/regress/netcat.c
804
pfd[POLL_NETOUT].events = 0;
crypto/openssh/regress/netcat.c
808
pfd[POLL_NETIN].events = POLLIN;
crypto/openssh/regress/netcat.c
812
pfd[POLL_STDOUT].events = 0;
crypto/openssh/regress/netcat.c
859
if (pfd[POLL_STDIN].events & POLLIN &&
crypto/openssh/regress/netcat.c
864
if (pfd[POLL_NETIN].events & POLLIN &&
crypto/openssh/regress/netcat.c
896
pfd[POLL_NETOUT].events = POLLOUT;
crypto/openssh/regress/netcat.c
899
pfd[POLL_STDIN].events = 0;
crypto/openssh/regress/netcat.c
909
pfd[POLL_NETOUT].events = 0;
crypto/openssh/regress/netcat.c
912
pfd[POLL_STDIN].events = POLLIN;
crypto/openssh/regress/netcat.c
927
pfd[POLL_STDOUT].events = POLLOUT;
crypto/openssh/regress/netcat.c
930
pfd[POLL_NETIN].events = 0;
crypto/openssh/regress/netcat.c
944
pfd[POLL_STDOUT].events = 0;
crypto/openssh/regress/netcat.c
947
pfd[POLL_NETIN].events = POLLIN;
crypto/openssh/serverloop.c
206
(*pfdp)[0].events = POLLIN;
crypto/openssh/serverloop.c
208
(*pfdp)[1].events = ssh_packet_have_data_to_write(ssh) ? POLLOUT : 0;
crypto/openssh/sftp-client.c
2405
pfd.events = POLLIN;
crypto/openssh/sftp-server.c
2051
pfd[0].events = POLLIN;
crypto/openssh/sftp-server.c
2059
pfd[1].events = POLLOUT;
crypto/openssh/ssh-agent.c
2147
pfd[j].events = POLLIN;
crypto/openssh/ssh-agent.c
2161
pfd[j].events = POLLIN;
crypto/openssh/ssh-agent.c
2165
pfd[j].events |= POLLOUT;
crypto/openssh/ssh-keyscan.c
428
read_wait[s].events = POLLIN;
crypto/openssh/ssh-keyscan.c
450
read_wait[s].events = 0;
crypto/openssh/ssh-pkcs11-helper.c
395
pfd[0].events = POLLIN;
crypto/openssh/ssh-pkcs11-helper.c
400
pfd[1].events = POLLOUT;
crypto/openssh/sshd.c
1022
pfd[i].events = POLLIN;
crypto/openssh/sshd.c
1029
pfd[npfd].events = POLLIN;
crypto/openssh/sshd.c
1032
pfd[npfd].events |= POLLOUT;
crypto/openssl/apps/lib/apps.c
3263
DWORD events = 0;
crypto/openssl/apps/lib/apps.c
3272
peeked = PeekConsoleInput(inhand, &inputrec, insize, &events);
crypto/openssl/crypto/bio/bio_sock.c
472
confds.events = for_read ? POLLIN : POLLOUT;
crypto/openssl/demos/http3/ossl-nghttp3-demo-server.c
482
item->events = UINT64_MAX; /* TODO adjust to the event we need process */
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking-threads.c
301
pfd.events = get_conn_pending_tx(conn);
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking-threads.c
319
pfd.events = get_conn_pending_rx(conn);
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
377
pfd.events = get_conn_pending_tx(conn);
crypto/openssl/doc/designs/ddd/ddd-02-conn-nonblocking.c
421
pfd.events = get_conn_pending_rx(conn);
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
392
pfd.events = get_conn_pending_tx(conn);
crypto/openssl/doc/designs/ddd/ddd-04-fd-nonblocking.c
436
pfd.events = get_conn_pending_rx(conn);
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
297
static int pump(APP_CONN *conn, int fd, int events, int timeout)
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
305
pfd.events = (events & (POLLIN | POLLERR));
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
307
pfd.events &= ~POLLIN;
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
309
pfd.events |= POLLOUT;
crypto/openssl/doc/designs/ddd/ddd-05-mem-nonblocking.c
311
if ((pfd.events & (POLLIN | POLLOUT)) == 0)
crypto/openssl/engines/e_afalg.c
135
struct io_event *events,
crypto/openssl/engines/e_afalg.c
141
int ret = syscall(__NR_io_pgetevents_time64, ctx, min, max, events,
crypto/openssl/engines/e_afalg.c
154
return syscall(__NR_io_getevents, ctx, min, max, events, timeout);
crypto/openssl/engines/e_afalg.c
168
return syscall(__NR_io_getevents, ctx, min, max, events, &ts32);
crypto/openssl/engines/e_afalg.c
170
return syscall(__NR_io_getevents, ctx, min, max, events, NULL);
crypto/openssl/engines/e_afalg.c
272
struct io_event events[MAX_INFLIGHTS];
crypto/openssl/engines/e_afalg.c
333
memset(events, 0, sizeof(events));
crypto/openssl/engines/e_afalg.c
338
events, &timeout);
crypto/openssl/engines/e_afalg.c
344
if (events[0].res < 0) {
crypto/openssl/engines/e_afalg.c
349
if (events[0].res == -EBUSY && retry++ < 3) {
crypto/openssl/engines/e_afalg.c
368
long long int op_ret = events[0].res;
crypto/openssl/engines/e_afalg.c
375
__FILE__, __LINE__, events[0].res);
crypto/openssl/engines/e_afalg.c
377
switch (events[0].res) {
crypto/openssl/engines/e_afalg.h
72
struct io_event events[MAX_INFLIGHTS];
crypto/openssl/include/internal/quic_ssl.h
177
int ossl_quic_conn_poll_events(SSL *ssl, uint64_t events, int do_tick,
crypto/openssl/include/openssl/ssl.h
2572
uint64_t events, revents;
crypto/openssl/ssl/quic/quic_impl.c
5252
int ossl_quic_conn_poll_events(SSL *ssl, uint64_t events, int do_tick,
crypto/openssl/ssl/quic/quic_impl.c
5265
if ((events & SSL_POLL_EVENT_W) != 0)
crypto/openssl/ssl/quic/quic_impl.c
5276
if ((events & SSL_POLL_EVENT_R) != 0
crypto/openssl/ssl/quic/quic_impl.c
5280
if ((events & SSL_POLL_EVENT_ER) != 0
crypto/openssl/ssl/quic/quic_impl.c
5284
if ((events & SSL_POLL_EVENT_W) != 0
crypto/openssl/ssl/quic/quic_impl.c
5288
if ((events & SSL_POLL_EVENT_EW) != 0
crypto/openssl/ssl/quic/quic_impl.c
5294
if ((events & SSL_POLL_EVENT_EC) != 0
crypto/openssl/ssl/quic/quic_impl.c
5298
if ((events & SSL_POLL_EVENT_ECD) != 0
crypto/openssl/ssl/quic/quic_impl.c
5302
if ((events & SSL_POLL_EVENT_ISB) != 0
crypto/openssl/ssl/quic/quic_impl.c
5306
if ((events & SSL_POLL_EVENT_ISU) != 0
crypto/openssl/ssl/quic/quic_impl.c
5310
if ((events & SSL_POLL_EVENT_OSB) != 0
crypto/openssl/ssl/quic/quic_impl.c
5314
if ((events & SSL_POLL_EVENT_OSU) != 0
crypto/openssl/ssl/quic/quic_impl.c
5320
if ((events & SSL_POLL_EVENT_EL) != 0
crypto/openssl/ssl/quic/quic_impl.c
5324
if ((events & SSL_POLL_EVENT_IC) != 0
crypto/openssl/ssl/quic/quic_reactor.c
351
pfds[npfd].events = (rfd_want_read ? POLLIN : 0)
crypto/openssl/ssl/quic/quic_reactor.c
353
if (rfd >= 0 && pfds[npfd].events != 0)
crypto/openssl/ssl/quic/quic_reactor.c
357
pfds[npfd].events = (rfd_want_read ? POLLIN : 0);
crypto/openssl/ssl/quic/quic_reactor.c
358
if (rfd >= 0 && pfds[npfd].events != 0)
crypto/openssl/ssl/quic/quic_reactor.c
362
pfds[npfd].events = (wfd_want_write ? POLLOUT : 0);
crypto/openssl/ssl/quic/quic_reactor.c
363
if (wfd >= 0 && pfds[npfd].events != 0)
crypto/openssl/ssl/quic/quic_reactor.c
369
pfds[npfd].events = POLLIN;
crypto/openssl/ssl/rio/poll_builder.c
124
pfds[i].events = 0;
crypto/openssl/ssl/rio/poll_builder.c
127
pfds[i].events |= POLLIN;
crypto/openssl/ssl/rio/poll_builder.c
129
pfds[i].events |= POLLOUT;
crypto/openssl/ssl/rio/poll_immediate.c
140
if (!ossl_quic_conn_poll_events(ssl, events, /*do_tick = */ 0, &revents)) {
crypto/openssl/ssl/rio/poll_immediate.c
231
if (!poll_translate_ssl_quic(ssl, wctx, rpb, item->events,
crypto/openssl/ssl/rio/poll_immediate.c
351
uint64_t events;
crypto/openssl/ssl/rio/poll_immediate.c
358
events = item->events;
crypto/openssl/ssl/rio/poll_immediate.c
374
if (!ossl_quic_conn_poll_events(ssl, events, do_tick, &revents))
crypto/openssl/ssl/rio/poll_immediate.c
55
uint64_t events,
crypto/openssl/test/quic-openssl-docker/hq-interop/quic-hq-interop.c
647
poll_list[poll_idx].events = SSL_POLL_EVENT_R;
crypto/openssl/test/quic-openssl-docker/hq-interop/quic-hq-interop.c
993
poll_list[poll_idx].events = 0;
crypto/openssl/test/quic_multistream_test.c
5584
item->events = UINT64_MAX;
crypto/openssl/test/quic_multistream_test.c
5589
item->events = UINT64_MAX;
crypto/openssl/test/quic_multistream_test.c
5594
item->events = UINT64_MAX;
crypto/openssl/test/quic_multistream_test.c
5599
item->events = UINT64_MAX;
crypto/openssl/test/quic_multistream_test.c
5604
item->events = UINT64_MAX;
crypto/openssl/test/radix/quic_tests.c
102
items[i + 1].events = SSL_POLL_EVENT_R | SSL_POLL_EVENT_I;
crypto/openssl/test/radix/quic_tests.c
115
items[0].events = SSL_POLL_EVENT_OS;
crypto/openssl/test/radix/quic_tests.c
121
items[i + 1].events |= SSL_POLL_EVENT_W;
crypto/openssl/test/radix/quic_tests.c
136
items[5].events = SSL_POLL_EVENT_IC;
crypto/openssl/test/radix/quic_tests.c
258
item.events = SSL_POLL_EVENT_W;
crypto/openssl/test/radix/quic_tests.c
97
items[0].events = 0;
lib/libc/resolv/res_send.c
953
pollfd.events = POLLRDNORM;
lib/libc/rpc/clnt_bcast.c
331
pfd[fdlistno].events = POLLIN | POLLPRI |
lib/libc/rpc/clnt_vc.c
675
fd.events = POLLIN;
lib/libc/rpc/svc_vc.c
476
pollfd.events = POLLIN;
lib/libc/tests/stdtime/detect_tz_changes_test.c
248
fds[0].events = POLLIN;
lib/libc/tests/stdtime/detect_tz_changes_test.c
272
fds[0].events = POLLIN;
lib/libc/tests/stdtime/detect_tz_changes_test.c
274
fds[1].events = POLLIN;
lib/libc/tests/stdtime/detect_tz_changes_test.c
276
fds[2].events = POLLIN;
lib/libcuse/cuse.h
42
typedef int (cuse_poll_t)(struct cuse_dev *, int fflags, int events);
lib/libdevdctl/consumer.cc
234
fds->events = POLLIN;
lib/libfetch/common.c
1317
pfd.events = POLLIN | POLLERR;
lib/libfetch/common.c
1453
pfd.events = POLLOUT | POLLERR;
lib/libnetgraph/msg.c
236
rfds.events = POLLIN;
lib/libpam/modules/pam_exec/pam_exec.c
346
pfd[0].events = POLLHUP;
lib/libpam/modules/pam_exec/pam_exec.c
351
pfd[nfds].events = POLLIN|POLLERR|POLLHUP;
lib/libpam/modules/pam_exec/pam_exec.c
357
pfd[nfds].events = POLLIN|POLLERR|POLLHUP;
lib/libpam/modules/pam_exec/pam_exec.c
363
pfd[nfds].events = POLLOUT|POLLERR|POLLHUP;
lib/libsys/recvmmsg.c
51
pfd[0].events = ev = POLLIN | POLLRDNORM | POLLRDBAND |
lib/libthread_db/libpthread_db.c
417
td_thr_events_t *events __unused)
lib/libthread_db/libpthread_db.c
425
td_thr_events_t *events __unused)
lib/libthread_db/libthr_db.c
331
pt_ta_set_event(const td_thragent_t *ta, td_thr_events_t *events)
lib/libthread_db/libthr_db.c
341
mask |= *events;
lib/libthread_db/libthr_db.c
348
pt_ta_clear_event(const td_thragent_t *ta, td_thr_events_t *events)
lib/libthread_db/libthr_db.c
358
mask &= ~*events;
lib/libthread_db/thread_db.c
122
td_ta_set_event(const td_thragent_t *ta, td_thr_events_t *events)
lib/libthread_db/thread_db.c
124
return (ta->ta_ops->to_ta_set_event(ta, events));
lib/libthread_db/thread_db.c
144
td_thr_clear_event(const td_thrhandle_t *th, td_thr_events_t *events)
lib/libthread_db/thread_db.c
147
return (ta->ta_ops->to_thr_clear_event(th, events));
lib/libthread_db/thread_db.c
218
td_thr_set_event(const td_thrhandle_t *th, td_thr_events_t *events)
lib/libthread_db/thread_db.c
221
return (ta->ta_ops->to_thr_set_event(th, events));
lib/libthread_db/thread_db.c
69
td_ta_clear_event(const td_thragent_t *ta, td_thr_events_t *events)
lib/libthread_db/thread_db.c
71
return (ta->ta_ops->to_ta_clear_event(ta, events));
lib/libusb/libusb.h
293
short events;
lib/libusb/libusb.h
316
typedef void (*libusb_pollfd_added_cb) (int fd, short events, void *user_data);
lib/libusb/libusb.h
627
int libusb_hotplug_register_callback(libusb_context *ctx, libusb_hotplug_event events, libusb_hotplug_flag flags, int vendor_id, int product_id, int dev_class, libusb_hotplug_callback_fn cb_fn, void *user_data, libusb_hotplug_callback_handle *handle);
lib/libusb/libusb10.h
150
void libusb10_add_pollfd(libusb_context *ctx, struct libusb_super_pollfd *pollfd, struct libusb20_device *pdev, int fd, short events);
lib/libusb/libusb10.h
77
int events;
lib/libusb/libusb10_hotplug.c
182
if (!(pcbh->events & event))
lib/libusb/libusb10_hotplug.c
231
pfd.events = POLLIN | POLLERR;
lib/libusb/libusb10_hotplug.c
235
pfd.events = POLLIN | POLLERR;
lib/libusb/libusb10_hotplug.c
341
libusb_hotplug_event events, libusb_hotplug_flag flags,
lib/libusb/libusb10_hotplug.c
358
if (ctx == NULL || cb_fn == NULL || events == 0 ||
lib/libusb/libusb10_hotplug.c
376
handle->events = events;
lib/libusb/libusb10_io.c
128
fds[i].events = pfd->pollfd.events;
lib/libusb/libusb10_io.c
54
struct libusb20_device *pdev, int fd, short events)
lib/libusb/libusb10_io.c
67
pollfd->pollfd.events = events;
lib/libusb/libusb10_io.c
74
ctx->fd_added_cb(fd, events, ctx->fd_cb_user_data);
lib/libusb/libusb20.c
1101
pfd[0].events = (POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM);
lib/virtual_oss/oss/oss.c
152
struct pollfd fds = { .fd = pbe->fd, .events = POLLIN | POLLRDNORM };
libexec/getty/subr.c
643
set[0].events = POLLIN;
libexec/tftpd/tftp-io.c
394
pfd.events = POLLIN;
sbin/devd/devd.cc
994
pfd.events = 0;
sbin/dhclient/dhclient.c
2874
pfd[0].events = POLLIN;
sbin/dhclient/dispatch.c
211
fds[i].events = POLLIN;
share/examples/scsi_target/scsi_target.c
404
struct kevent events[MAX_EVENTS];
share/examples/scsi_target/scsi_target.c
413
EV_SET(&events[0], SIGHUP, EVFILT_SIGNAL, EV_ADD|EV_ENABLE, 0, 0, 0);
share/examples/scsi_target/scsi_target.c
414
EV_SET(&events[1], SIGINT, EVFILT_SIGNAL, EV_ADD|EV_ENABLE, 0, 0, 0);
share/examples/scsi_target/scsi_target.c
415
EV_SET(&events[2], SIGTERM, EVFILT_SIGNAL, EV_ADD|EV_ENABLE, 0, 0, 0);
share/examples/scsi_target/scsi_target.c
416
EV_SET(&events[3], targ_fd, EVFILT_READ, EV_ADD|EV_ENABLE, 0, 0, 0);
share/examples/scsi_target/scsi_target.c
417
if (kevent(kq_fd, events, 4, NULL, 0, NULL) < 0)
share/examples/scsi_target/scsi_target.c
431
retval = kevent(kq_fd, NULL, 0, events, MAX_EVENTS, tptr);
share/examples/scsi_target/scsi_target.c
447
if ((events[i].flags & EV_ERROR) != 0)
share/examples/scsi_target/scsi_target.c
450
switch (events[i].filter) {
share/examples/scsi_target/scsi_target.c
463
ctio = (struct ccb_scsiio *)events[i].udata;
share/examples/scsi_target/scsi_target.c
479
warnx("unknown event %d", events[i].filter);
share/examples/scsi_target/scsi_target.c
484
warnx("event %d done", events[i].filter);
share/examples/sound/poll.c
49
pfds[0].events = POLLOUT;
sys/amd64/linux/linux_proto.h
1060
char events_l_[PADL_(struct epoll_event *)]; struct epoll_event * events; char events_r_[PADR_(struct epoll_event *)];
sys/amd64/linux/linux_proto.h
1401
char events_l_[PADL_(struct epoll_event *)]; struct epoll_event * events; char events_r_[PADR_(struct epoll_event *)];
sys/amd64/linux/linux_proto.h
825
char events_l_[PADL_(struct epoll_event *)]; struct epoll_event * events; char events_r_[PADR_(struct epoll_event *)];
sys/amd64/linux/linux_systrace_args.c
1762
uarg[a++] = (intptr_t)p->events; /* struct epoll_event * */
sys/amd64/linux/linux_systrace_args.c
2163
uarg[a++] = (intptr_t)p->events; /* struct epoll_event * */
sys/amd64/linux/linux_systrace_args.c
2748
uarg[a++] = (intptr_t)p->events; /* struct epoll_event * */
sys/amd64/linux32/linux32_proto.h
1130
char events_l_[PADL_(struct epoll_event *)]; struct epoll_event * events; char events_r_[PADR_(struct epoll_event *)];
sys/amd64/linux32/linux32_proto.h
1702
char events_l_[PADL_(struct epoll_event *)]; struct epoll_event * events; char events_r_[PADR_(struct epoll_event *)];
sys/amd64/linux32/linux32_proto.h
837
char events_l_[PADL_(struct epoll_event *)]; struct epoll_event * events; char events_r_[PADR_(struct epoll_event *)];
sys/amd64/linux32/linux32_systrace_args.c
1773
uarg[a++] = (intptr_t)p->events; /* struct epoll_event * */
sys/amd64/linux32/linux32_systrace_args.c
2282
uarg[a++] = (intptr_t)p->events; /* struct epoll_event * */
sys/amd64/linux32/linux32_systrace_args.c
3264
uarg[a++] = (intptr_t)p->events; /* struct epoll_event * */
sys/arm/ti/ti_i2c.c
303
uint16_t events, status;
sys/arm/ti/ti_i2c.c
316
events = ti_i2c_read_2(sc, I2C_REG_IRQENABLE_SET);
sys/arm/ti/ti_i2c.c
319
status &= events;
sys/arm/ti/ti_pruss.c
200
ti_pruss_irq_poll(struct cdev *dev, int events, struct thread *td)
sys/arm/ti/ti_pruss.c
208
if (events & (POLLIN | POLLRDNORM)) {
sys/arm/ti/ti_pruss.c
210
return events & (POLLIN | POLLRDNORM);
sys/arm64/iommu/smmu.c
171
static struct smmu_event events[] = {
sys/arm64/iommu/smmu.c
444
for (i = 0; events[i].ident != 0; i++) {
sys/arm64/iommu/smmu.c
445
if (events[i].ident == event_id) {
sys/arm64/iommu/smmu.c
446
ev = &events[i];
sys/arm64/linux/linux_proto.h
1211
char events_l_[PADL_(struct epoll_event *)]; struct epoll_event * events; char events_r_[PADR_(struct epoll_event *)];
sys/arm64/linux/linux_proto.h
124
char events_l_[PADL_(struct epoll_event *)]; struct epoll_event * events; char events_r_[PADR_(struct epoll_event *)];
sys/arm64/linux/linux_systrace_args.c
171
uarg[a++] = (intptr_t)p->events; /* struct epoll_event * */
sys/arm64/linux/linux_systrace_args.c
2370
uarg[a++] = (intptr_t)p->events; /* struct epoll_event * */
sys/cam/ata/ata_pmp.c
103
int events;
sys/cam/ata/ata_pmp.c
305
softc->events |= PMP_EV_RESCAN;
sys/cam/ata/ata_pmp.c
307
softc->events |= PMP_EV_RESET;
sys/cam/ata/ata_pmp.c
411
softc->events = PMP_EV_RESCAN;
sys/cam/ata/ata_pmp.c
836
if (softc->events & PMP_EV_RESCAN) {
sys/cam/ata/ata_pmp.c
854
softc->events = 0;
sys/compat/linux/linux_event.c
146
uint32_t levents = l_event->events;
sys/compat/linux/linux_event.c
212
l_event->events = LINUX_EPOLLERR;
sys/compat/linux/linux_event.c
219
l_event->events = LINUX_EPOLLIN;
sys/compat/linux/linux_event.c
221
l_event->events |= LINUX_EPOLLRDHUP;
sys/compat/linux/linux_event.c
224
l_event->events = LINUX_EPOLLOUT;
sys/compat/linux/linux_event.c
370
linux_epoll_wait_ts(struct thread *td, int epfd, struct epoll_event *events,
sys/compat/linux/linux_event.c
407
coargs.leventlist = events;
sys/compat/linux/linux_event.c
432
linux_epoll_wait_common(struct thread *td, int epfd, struct epoll_event *events,
sys/compat/linux/linux_event.c
450
return (linux_epoll_wait_ts(td, epfd, events, maxevents, tsp, uset));
sys/compat/linux/linux_event.c
459
return (linux_epoll_wait_common(td, args->epfd, args->events,
sys/compat/linux/linux_event.c
475
return (linux_epoll_wait_common(td, args->epfd, args->events,
sys/compat/linux/linux_event.c
500
return (linux_epoll_wait_ts(td, args->epfd, args->events,
sys/compat/linux/linux_event.c
524
return (linux_epoll_wait_ts(td, args->epfd, args->events,
sys/compat/linux/linux_event.c
69
uint32_t events;
sys/compat/linux/linux_misc.c
2287
if (fds->events != 0)
sys/compat/linux/linux_misc.c
2289
fds->events, &fds->events);
sys/compat/linuxkpi/common/src/linux_compat.c
1511
linux_file_poll(struct file *file, int events, struct ucred *active_cred,
sys/compat/linuxkpi/common/src/linux_compat.c
1525
LINUX_POLL_TABLE_NORMAL)) & events;
sys/dev/adb/adb_mouse.c
460
ams_poll(struct cdev *dev, int events, struct thread *p)
sys/dev/adb/adb_mouse.c
468
if (events & (POLLIN | POLLRDNORM)) {
sys/dev/adb/adb_mouse.c
475
events = 0;
sys/dev/adb/adb_mouse.c
477
events &= (POLLIN | POLLRDNORM);
sys/dev/adb/adb_mouse.c
483
return events;
sys/dev/atkbdc/psm.c
5264
psmpoll(struct cdev *dev, int events, struct thread *td)
sys/dev/atkbdc/psm.c
5272
if (events & (POLLIN | POLLRDNORM)) {
sys/dev/atkbdc/psm.c
5274
revents |= events & (POLLIN | POLLRDNORM);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1028
u32 *events = (u32 *)async_events_bmap;
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1081
req.async_event_fwd[i] |= htole32(events[i]);
sys/dev/cyapa/cyapa.c
1151
cyapapoll(struct cdev *dev, int events, struct thread *td)
sys/dev/cyapa/cyapa.c
1160
if (events & (POLLIN | POLLRDNORM)) {
sys/dev/cyapa/cyapa.c
1162
revents = events & (POLLIN | POLLRDNORM);
sys/dev/drm2/drm_fops.c
550
drm_poll(struct cdev *kdev, int events, struct thread *td)
sys/dev/drm2/drm_fops.c
566
if ((events & (POLLIN | POLLRDNORM)) != 0) {
sys/dev/drm2/drm_fops.c
571
revents |= events & (POLLIN | POLLRDNORM);
sys/dev/evdev/cdev.c
307
evdev_poll(struct cdev *dev, int events, struct thread *td)
sys/dev/evdev/cdev.c
322
if (events & (POLLIN | POLLRDNORM)) {
sys/dev/evdev/cdev.c
325
revents = events & (POLLIN | POLLRDNORM);
sys/dev/evdev/uinput.c
375
uinput_poll(struct cdev *dev, int events, struct thread *td)
sys/dev/evdev/uinput.c
386
if (events & (POLLOUT | POLLWRNORM))
sys/dev/evdev/uinput.c
387
revents |= (events & (POLLOUT | POLLWRNORM));
sys/dev/evdev/uinput.c
389
if (events & (POLLIN | POLLRDNORM)) {
sys/dev/evdev/uinput.c
392
revents = events & (POLLIN | POLLRDNORM);
sys/dev/firewire/fwdev.c
820
fw_poll(struct cdev *dev, int events, fw_proc *td)
sys/dev/firewire/fwdev.c
827
return fwmem_poll(dev, events, td);
sys/dev/firewire/fwdev.c
832
if (events & tmp) {
sys/dev/firewire/fwdev.c
839
if (events & tmp) {
sys/dev/firewire/fwmem.c
428
fwmem_poll(struct cdev *dev, int events, fw_proc *td)
sys/dev/gpio/gpioc.c
1001
revents |= events & (POLLIN | POLLRDNORM);
sys/dev/gpio/gpioc.c
170
rv = &priv->events[priv->evidx_head++];
sys/dev/gpio/gpioc.c
181
rv = &priv->events[priv->evidx_tail++];
sys/dev/gpio/gpioc.c
553
event = &priv->events[privpin->firstevent + 1];
sys/dev/gpio/gpioc.c
680
free(priv->events, M_GPIOC);
sys/dev/gpio/gpioc.c
708
priv->events = malloc(priv->numevents * sizeof(struct gpioc_pin_event),
sys/dev/gpio/gpioc.c
88
struct gpioc_pin_event *events;
sys/dev/gpio/gpioc.c
935
free(priv->events, M_GPIOC);
sys/dev/gpio/gpioc.c
936
priv->events = tmp;
sys/dev/gpio/gpioc.c
980
gpioc_poll(struct cdev *dev, int events, struct thread *td)
sys/dev/gpio/gpioc.c
999
if (events & (POLLIN | POLLRDNORM)) {
sys/dev/hid/hidraw.c
947
hidraw_poll(struct cdev *dev, int events, struct thread *td)
sys/dev/hid/hidraw.c
956
if (events & (POLLOUT | POLLWRNORM) && (sc->sc_fflags & FWRITE))
sys/dev/hid/hidraw.c
957
revents |= events & (POLLOUT | POLLWRNORM);
sys/dev/hid/hidraw.c
958
if (events & (POLLIN | POLLRDNORM) && (sc->sc_fflags & FREAD)) {
sys/dev/hid/hidraw.c
961
revents |= events & (POLLIN | POLLRDNORM);
sys/dev/hid/u2f.c
476
u2f_poll(struct cdev *dev, int events, struct thread *td)
sys/dev/hid/u2f.c
485
if (events & (POLLOUT | POLLWRNORM) && (sc->sc_fflags & FWRITE))
sys/dev/hid/u2f.c
486
revents |= events & (POLLOUT | POLLWRNORM);
sys/dev/hid/u2f.c
487
if (events & (POLLIN | POLLRDNORM) && (sc->sc_fflags & FREAD)) {
sys/dev/hid/u2f.c
490
revents |= events & (POLLIN | POLLRDNORM);
sys/dev/hyperv/utilities/hv_kvp.c
820
hv_kvp_dev_daemon_poll(struct cdev *dev, int events, struct thread *td)
sys/dev/hyperv/utilities/hv_snapshot.c
588
hv_vss_dev_daemon_poll(struct cdev *dev, int events, struct thread *td)
sys/dev/hyperv/utilities/hv_snapshot.c
668
hv_appvss_dev_poll(struct cdev *dev, int events, struct thread *td)
sys/dev/iwn/if_iwn.c
7852
memcpy(wimax.events, iwn6050_wimax_events,
sys/dev/iwn/if_iwn.c
7859
memset(wimax.events, 0, sizeof wimax.events);
sys/dev/iwn/if_iwnreg.h
869
} __packed events[16];
sys/dev/kbd/kbd.c
652
genkbdpoll(struct cdev *dev, int events, struct thread *td)
sys/dev/kbd/kbd.c
664
} else if (events & (POLLIN | POLLRDNORM)) {
sys/dev/kbd/kbd.c
666
revents = events & (POLLIN | POLLRDNORM);
sys/dev/mlx5/driver.h
332
int events;
sys/dev/mpr/mpr.c
2309
uint8_t events[16];
sys/dev/mpr/mpr.c
2311
bzero(events, 16);
sys/dev/mpr/mpr.c
2312
setbit(events, MPI2_EVENT_LOG_DATA);
sys/dev/mpr/mpr.c
2313
setbit(events, MPI2_EVENT_LOG_ENTRY_ADDED);
sys/dev/mpr/mpr.c
2315
mpr_register_events(sc, events, mpr_log_evt_handler, NULL,
sys/dev/mpr/mpr_sas.c
721
uint8_t events[16];
sys/dev/mpr/mpr_sas.c
723
bzero(events, 16);
sys/dev/mpr/mpr_sas.c
724
setbit(events, MPI2_EVENT_SAS_DEVICE_STATUS_CHANGE);
sys/dev/mpr/mpr_sas.c
725
setbit(events, MPI2_EVENT_SAS_DISCOVERY);
sys/dev/mpr/mpr_sas.c
726
setbit(events, MPI2_EVENT_SAS_BROADCAST_PRIMITIVE);
sys/dev/mpr/mpr_sas.c
727
setbit(events, MPI2_EVENT_SAS_INIT_DEVICE_STATUS_CHANGE);
sys/dev/mpr/mpr_sas.c
728
setbit(events, MPI2_EVENT_SAS_INIT_TABLE_OVERFLOW);
sys/dev/mpr/mpr_sas.c
729
setbit(events, MPI2_EVENT_SAS_TOPOLOGY_CHANGE_LIST);
sys/dev/mpr/mpr_sas.c
730
setbit(events, MPI2_EVENT_SAS_ENCL_DEVICE_STATUS_CHANGE);
sys/dev/mpr/mpr_sas.c
731
setbit(events, MPI2_EVENT_IR_CONFIGURATION_CHANGE_LIST);
sys/dev/mpr/mpr_sas.c
732
setbit(events, MPI2_EVENT_IR_VOLUME);
sys/dev/mpr/mpr_sas.c
733
setbit(events, MPI2_EVENT_IR_PHYSICAL_DISK);
sys/dev/mpr/mpr_sas.c
734
setbit(events, MPI2_EVENT_IR_OPERATION_STATUS);
sys/dev/mpr/mpr_sas.c
735
setbit(events, MPI2_EVENT_TEMP_THRESHOLD);
sys/dev/mpr/mpr_sas.c
736
setbit(events, MPI2_EVENT_SAS_DEVICE_DISCOVERY_ERROR);
sys/dev/mpr/mpr_sas.c
738
setbit(events, MPI2_EVENT_ACTIVE_CABLE_EXCEPTION);
sys/dev/mpr/mpr_sas.c
740
setbit(events, MPI2_EVENT_PCIE_DEVICE_STATUS_CHANGE);
sys/dev/mpr/mpr_sas.c
741
setbit(events, MPI2_EVENT_PCIE_ENUMERATION);
sys/dev/mpr/mpr_sas.c
742
setbit(events, MPI2_EVENT_PCIE_TOPOLOGY_CHANGE_LIST);
sys/dev/mpr/mpr_sas.c
746
mpr_register_events(sc, events, mprsas_evt_handler, NULL,
sys/dev/mps/mps.c
2150
u32 events[MPI2_EVENT_NOTIFY_EVENTMASK_WORDS];
sys/dev/mps/mps.c
2152
bzero(events, 16);
sys/dev/mps/mps.c
2153
setbit(events, MPI2_EVENT_LOG_DATA);
sys/dev/mps/mps.c
2154
setbit(events, MPI2_EVENT_LOG_ENTRY_ADDED);
sys/dev/mps/mps.c
2156
mps_register_events(sc, events, mps_log_evt_handler, NULL,
sys/dev/mps/mps_sas.c
678
u32 events[MPI2_EVENT_NOTIFY_EVENTMASK_WORDS];
sys/dev/mps/mps_sas.c
680
bzero(events, 16);
sys/dev/mps/mps_sas.c
681
setbit(events, MPI2_EVENT_SAS_DEVICE_STATUS_CHANGE);
sys/dev/mps/mps_sas.c
682
setbit(events, MPI2_EVENT_SAS_DISCOVERY);
sys/dev/mps/mps_sas.c
683
setbit(events, MPI2_EVENT_SAS_BROADCAST_PRIMITIVE);
sys/dev/mps/mps_sas.c
684
setbit(events, MPI2_EVENT_SAS_INIT_DEVICE_STATUS_CHANGE);
sys/dev/mps/mps_sas.c
685
setbit(events, MPI2_EVENT_SAS_INIT_TABLE_OVERFLOW);
sys/dev/mps/mps_sas.c
686
setbit(events, MPI2_EVENT_SAS_TOPOLOGY_CHANGE_LIST);
sys/dev/mps/mps_sas.c
687
setbit(events, MPI2_EVENT_SAS_ENCL_DEVICE_STATUS_CHANGE);
sys/dev/mps/mps_sas.c
688
setbit(events, MPI2_EVENT_IR_CONFIGURATION_CHANGE_LIST);
sys/dev/mps/mps_sas.c
689
setbit(events, MPI2_EVENT_IR_VOLUME);
sys/dev/mps/mps_sas.c
690
setbit(events, MPI2_EVENT_IR_PHYSICAL_DISK);
sys/dev/mps/mps_sas.c
691
setbit(events, MPI2_EVENT_IR_OPERATION_STATUS);
sys/dev/mps/mps_sas.c
692
setbit(events, MPI2_EVENT_LOG_ENTRY_ADDED);
sys/dev/mps/mps_sas.c
694
mps_register_events(sc, events, mpssas_evt_handler, NULL,
sys/dev/netmap/netmap.c
3654
netmap_poll(struct netmap_priv_d *priv, int events, NM_SELRECORD_T *sr)
sys/dev/netmap/netmap.c
3699
nm_prinf("device %s events 0x%x", na->name, events);
sys/dev/netmap/netmap.c
3700
want_tx = events & (POLLOUT | POLLWRNORM);
sys/dev/netmap/netmap.c
3701
want_rx = events & (POLLIN | POLLRDNORM);
sys/dev/netmap/netmap_freebsd.c
1379
netmap_knrw(struct knote *kn, long hint, int events)
sys/dev/netmap/netmap_freebsd.c
1393
revents = netmap_poll(priv, events, /*thread=*/NULL);
sys/dev/netmap/netmap_freebsd.c
1395
return (events & revents) ? 1 : 0;
sys/dev/netmap/netmap_freebsd.c
1481
freebsd_netmap_poll(struct cdev *cdevi __unused, int events, struct thread *td)
sys/dev/netmap/netmap_freebsd.c
1487
return netmap_poll(priv, events, td);
sys/dev/netmap/netmap_kern.h
1605
int netmap_poll(struct netmap_priv_d *, int events, NM_SELRECORD_T *td);
sys/dev/qat/qat_common/qat_hal.c
149
unsigned int *events)
sys/dev/qat/qat_common/qat_hal.c
155
qat_hal_rd_ae_csr(handle, ae, CTX_WAKEUP_EVENTS_INDIRECT, events);
sys/dev/qat/qat_common/qat_hal.c
474
unsigned int events)
sys/dev/qat/qat_common/qat_hal.c
483
qat_hal_wr_ae_csr(handle, ae, CTX_SIG_EVENTS_INDIRECT, events);
sys/dev/qat/qat_common/qat_hal.c
492
unsigned int events)
sys/dev/qat/qat_common/qat_hal.c
504
events);
sys/dev/qlnx/qlnxe/ecore_iov_api.h
367
u64 *events);
sys/dev/qlnx/qlnxe/ecore_iov_api.h
784
static OSAL_INLINE void ecore_iov_pf_get_and_clear_pending_events(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u64 OSAL_UNUSED *events) {}
sys/dev/qlnx/qlnxe/ecore_iwarp.c
3681
p_hwfn->p_rdma_info->events.affiliated_event(
sys/dev/qlnx/qlnxe/ecore_iwarp.c
3682
p_hwfn->p_rdma_info->events.context,
sys/dev/qlnx/qlnxe/ecore_rdma.c
588
struct ecore_rdma_events *events;
sys/dev/qlnx/qlnxe/ecore_rdma.c
590
events = &p_hwfn->p_rdma_info->events;
sys/dev/qlnx/qlnxe/ecore_rdma.c
592
events->unaffiliated_event = params->events->unaffiliated_event;
sys/dev/qlnx/qlnxe/ecore_rdma.c
593
events->affiliated_event = params->events->affiliated_event;
sys/dev/qlnx/qlnxe/ecore_rdma.c
594
events->context = params->events->context;
sys/dev/qlnx/qlnxe/ecore_rdma.h
117
struct ecore_rdma_events events;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
209
struct ecore_rdma_events events;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
334
struct ecore_rdma_events *events;
sys/dev/qlnx/qlnxe/ecore_roce.c
79
p_hwfn->p_rdma_info->events.affiliated_event(
sys/dev/qlnx/qlnxe/ecore_roce.c
80
p_hwfn->p_rdma_info->events.context,
sys/dev/qlnx/qlnxe/ecore_roce_api.h
198
struct ecore_rdma_events events;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
289
struct ecore_rdma_events *events;
sys/dev/qlnx/qlnxe/ecore_sriov.c
1988
u64 events)
sys/dev/qlnx/qlnxe/ecore_sriov.c
1994
if ((events & (1 << VLAN_ADDR_FORCED)) &&
sys/dev/qlnx/qlnxe/ecore_sriov.c
2004
u64 events)
sys/dev/qlnx/qlnxe/ecore_sriov.c
2012
if (events & (1 << MAC_ADDR_FORCED)) {
sys/dev/qlnx/qlnxe/ecore_sriov.c
2038
if (events & (1 << VLAN_ADDR_FORCED)) {
sys/dev/qlnx/qlnxe/ecore_sriov.c
2117
if (events)
sys/dev/qlnx/qlnxe/ecore_sriov.c
2118
ecore_iov_reconfigure_unicast_shadow(p_hwfn, p_vf, events);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4268
u64 *events)
sys/dev/qlnx/qlnxe/ecore_sriov.c
4272
OSAL_MEM_ZERO(events, sizeof(u64) * ECORE_VF_ARRAY_LENGTH);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4279
events[i / 64] |= 1ULL << (i % 64);
sys/dev/qlnx/qlnxe/qlnx_os.c
7990
uint64_t events[ECORE_VF_ARRAY_LENGTH];
sys/dev/qlnx/qlnxe/qlnx_os.c
8001
ecore_iov_pf_get_pending_events(p_hwfn, events);
sys/dev/qlnx/qlnxe/qlnx_os.c
8005
events[0], events[1], events[2]);
sys/dev/qlnx/qlnxe/qlnx_os.c
8009
if (!(events[i / 64] & (1ULL << (i % 64))))
sys/dev/qlnx/qlnxr/qlnxr_def.h
353
struct ecore_rdma_events events;
sys/dev/qlnx/qlnxr/qlnxr_os.c
741
struct ecore_rdma_events events;
sys/dev/qlnx/qlnxr/qlnxr_os.c
762
bzero(&events, sizeof(struct ecore_rdma_events));
sys/dev/qlnx/qlnxr/qlnxr_os.c
776
events.affiliated_event = qlnxr_affiliated_event;
sys/dev/qlnx/qlnxr/qlnxr_os.c
777
events.unaffiliated_event = qlnxr_unaffiliated_event;
sys/dev/qlnx/qlnxr/qlnxr_os.c
778
events.context = dev;
sys/dev/qlnx/qlnxr/qlnxr_os.c
780
in_params->events = &events;
sys/dev/random/randomdev.c
350
randomdev_poll(struct cdev *dev __unused, int events, struct thread *td __unused)
sys/dev/random/randomdev.c
353
if (events & (POLLIN | POLLRDNORM)) {
sys/dev/random/randomdev.c
355
events &= (POLLIN | POLLRDNORM);
sys/dev/random/randomdev.c
359
return (events);
sys/dev/sfxge/common/efx.h
667
__in boolean_t events);
sys/dev/sfxge/common/efx_mac.c
797
__in boolean_t events)
sys/dev/sfxge/common/efx_mac.c
813
if ((rc = emop->emo_stats_periodic(enp, esmp, period_ms, events)) != 0)
sys/dev/sfxge/common/efx_mcdi.c
1826
int events = (action == EFX_STATS_ENABLE_EVENTS);
sys/dev/sfxge/common/efx_mcdi.c
1839
MAC_STATS_IN_PERIODIC_CHANGE, enable | events | disable,
sys/dev/sfxge/common/efx_mcdi.c
1840
MAC_STATS_IN_PERIODIC_ENABLE, enable | events,
sys/dev/sfxge/common/efx_mcdi.c
1841
MAC_STATS_IN_PERIODIC_NOEVENT, !events,
sys/dev/sfxge/common/efx_mcdi.c
1842
MAC_STATS_IN_PERIOD_MS, (enable | events) ? period_ms : 0);
sys/dev/sfxge/common/efx_mcdi.c
1844
if (enable || events || upload) {
sys/dev/sfxge/common/efx_mcdi.c
1953
__in boolean_t events)
sys/dev/sfxge/common/efx_mcdi.c
1966
else if (events)
sys/dev/sfxge/common/efx_mcdi.h
234
__in boolean_t events);
sys/dev/snp/snp.c
315
snp_poll(struct cdev *dev, int events, struct thread *td)
sys/dev/snp/snp.c
322
return (events &
sys/dev/snp/snp.c
327
if (events & (POLLIN | POLLRDNORM)) {
sys/dev/snp/snp.c
332
revents |= events & (POLLIN | POLLRDNORM);
sys/dev/sound/midi/midi.c
493
midi_poll(struct cdev *i_dev, int events, struct thread *td)
sys/dev/sound/midi/midi.c
505
if (events & (POLLIN | POLLRDNORM)) {
sys/dev/sound/midi/midi.c
507
revents |= events & (POLLIN | POLLRDNORM);
sys/dev/sound/midi/midi.c
511
if (events & (POLLOUT | POLLWRNORM)) {
sys/dev/sound/midi/midi.c
513
revents |= events & (POLLOUT | POLLWRNORM);
sys/dev/sound/pcm/dsp.c
1861
dsp_poll(struct cdev *i_dev, int events, struct thread *td)
sys/dev/sound/pcm/dsp.c
1873
return (events & (POLLHUP | POLLPRI | POLLIN |
sys/dev/sound/pcm/dsp.c
1885
e = (events & (POLLOUT | POLLWRNORM));
sys/dev/sound/pcm/dsp.c
1891
e = (events & (POLLIN | POLLRDNORM));
sys/dev/tcp_log/tcp_log_dev.c
399
tcp_log_dev_poll(struct cdev *dev __unused, int events, struct thread *td)
sys/dev/tcp_log/tcp_log_dev.c
410
return (events);
sys/dev/tcp_log/tcp_log_dev.c
413
if (events & (POLLIN | POLLRDNORM)) {
sys/dev/tcp_log/tcp_log_dev.c
424
revents = events & (POLLIN | POLLRDNORM);
sys/dev/tcp_log/tcp_log_dev.c
434
revents = events;
sys/dev/tcp_log/tcp_log_dev.c
86
static int tcp_log_dev_poll(struct cdev *dev __unused, int events,
sys/dev/usb/usb_dev.c
1296
usb_poll(struct cdev* dev, int events, struct thread* td)
sys/dev/usb/usb_dev.c
1306
return (events &
sys/dev/usb/usb_dev.c
1313
if ((events & (POLLOUT | POLLWRNORM)) &&
sys/dev/usb/usb_dev.c
1343
revents |= events & (POLLOUT | POLLWRNORM);
sys/dev/usb/usb_dev.c
1351
if ((events & (POLLIN | POLLRDNORM)) &&
sys/dev/usb/usb_dev.c
1381
revents |= events & (POLLIN | POLLRDNORM);
sys/dev/vkbd/vkbd.c
444
vkbd_dev_poll(struct cdev *dev, int events, struct thread *td)
sys/dev/vkbd/vkbd.c
457
if (events & (POLLIN | POLLRDNORM)) {
sys/dev/vkbd/vkbd.c
459
revents |= events & (POLLIN | POLLRDNORM);
sys/dev/vkbd/vkbd.c
464
if (events & (POLLOUT | POLLWRNORM)) {
sys/dev/vkbd/vkbd.c
466
revents |= events & (POLLOUT | POLLWRNORM);
sys/dev/vt/vt_sysmouse.c
470
sysmouse_poll(struct cdev *dev, int events, struct thread *td)
sys/dev/vt/vt_sysmouse.c
475
if (events & (POLLIN|POLLRDNORM)) {
sys/dev/vt/vt_sysmouse.c
477
revents = events & (POLLIN|POLLRDNORM);
sys/dev/xen/evtchn/evtchn_dev.c
526
evtchn_poll(struct cdev *dev, int events, struct thread *td)
sys/dev/xen/evtchn/evtchn_dev.c
536
mask = events & (POLLOUT | POLLWRNORM);
sys/dev/xen/evtchn/evtchn_dev.c
539
if (events & (POLLIN | POLLRDNORM)) {
sys/dev/xen/evtchn/evtchn_dev.c
541
mask |= events & (POLLIN | POLLRDNORM);
sys/dev/xen/xenstore/xenstore_dev.c
392
xs_dev_poll(struct cdev *dev, int events, struct thread *td)
sys/dev/xen/xenstore/xenstore_dev.c
402
mask = events & (POLLOUT | POLLWRNORM);
sys/dev/xen/xenstore/xenstore_dev.c
404
if (events & (POLLIN | POLLRDNORM)) {
sys/dev/xen/xenstore/xenstore_dev.c
406
mask |= events & (POLLIN | POLLRDNORM);
sys/fs/cuse/cuse.c
1392
cuse_server_poll(struct cdev *dev, int events, struct thread *td)
sys/fs/cuse/cuse.c
1394
return (events & (POLLHUP | POLLPRI | POLLIN |
sys/fs/cuse/cuse.c
1873
cuse_client_poll(struct cdev *dev, int events, struct thread *td)
sys/fs/cuse/cuse.c
1889
if (events & (POLLPRI | POLLIN | POLLRDNORM))
sys/fs/cuse/cuse.c
1892
if (events & (POLLOUT | POLLWRNORM))
sys/fs/cuse/cuse.c
1895
if (events & POLLHUP)
sys/fs/cuse/cuse.c
1920
revents |= (events & (POLLPRI | POLLIN | POLLRDNORM));
sys/fs/cuse/cuse.c
1922
revents |= (events & (POLLOUT | POLLWRNORM));
sys/fs/cuse/cuse.c
1924
revents |= (events & POLLHUP);
sys/fs/cuse/cuse.c
1930
return (events & (POLLHUP | POLLPRI | POLLIN |
sys/fs/devfs/devfs_vnops.c
1409
devfs_poll_f(struct file *fp, int events, struct ucred *cred, struct thread *td)
sys/fs/devfs/devfs_vnops.c
1419
error = vnops.fo_poll(fp, events, cred, td);
sys/fs/devfs/devfs_vnops.c
1422
error = dsw->d_poll(dev, events, td);
sys/fs/fuse/fuse_device.c
279
fuse_device_poll(struct cdev *dev, int events, struct thread *td)
sys/fs/fuse/fuse_device.c
286
return (events &
sys/fs/fuse/fuse_device.c
289
if (events & (POLLIN | POLLRDNORM)) {
sys/fs/fuse/fuse_device.c
292
revents |= events & (POLLIN | POLLRDNORM);
sys/fs/fuse/fuse_device.c
297
if (events & (POLLOUT | POLLWRNORM)) {
sys/fs/fuse/fuse_device.c
298
revents |= events & (POLLOUT | POLLWRNORM);
sys/fs/fuse/fuse_kernel.h
845
uint32_t events;
sys/geom/geom_event.c
261
TAILQ_REMOVE(&g_events, ep, events);
sys/geom/geom_event.c
311
TAILQ_FOREACH_SAFE(ep, &g_events, events, epn) {
sys/geom/geom_event.c
320
TAILQ_REMOVE(&g_events, ep, events);
sys/geom/geom_event.c
367
TAILQ_INSERT_TAIL(&g_events, ep, events);
sys/geom/geom_event.c
67
TAILQ_ENTRY(g_event) events;
sys/i386/linux/linux_proto.h
1126
char events_l_[PADL_(struct epoll_event *)]; struct epoll_event * events; char events_r_[PADR_(struct epoll_event *)];
sys/i386/linux/linux_proto.h
1696
char events_l_[PADL_(struct epoll_event *)]; struct epoll_event * events; char events_r_[PADR_(struct epoll_event *)];
sys/i386/linux/linux_proto.h
837
char events_l_[PADL_(struct epoll_event *)]; struct epoll_event * events; char events_r_[PADR_(struct epoll_event *)];
sys/i386/linux/linux_systrace_args.c
1810
uarg[a++] = (intptr_t)p->events; /* struct epoll_event * */
sys/i386/linux/linux_systrace_args.c
2315
uarg[a++] = (intptr_t)p->events; /* struct epoll_event * */
sys/i386/linux/linux_systrace_args.c
3295
uarg[a++] = (intptr_t)p->events; /* struct epoll_event * */
sys/kern/kern_conf.c
340
no_poll(struct cdev *dev __unused, int events, struct thread *td __unused)
sys/kern/kern_conf.c
343
return (poll_no_poll(events));
sys/kern/kern_conf.c
462
giant_poll(struct cdev *dev, int events, struct thread *td)
sys/kern/kern_conf.c
471
retval = dsw->d_gianttrick->d_poll(dev, events, td);
sys/kern/kern_descrip.c
5451
badfo_poll(struct file *fp, int events, struct ucred *active_cred,
sys/kern/kern_descrip.c
5527
path_poll(struct file *fp, int events, struct ucred *active_cred,
sys/kern/kern_descrip.c
5584
invfo_poll(struct file *fp, int events, struct ucred *active_cred,
sys/kern/kern_descrip.c
5588
return (poll_no_poll(events));
sys/kern/kern_devctl.c
317
devpoll(struct cdev *dev, int events, struct thread *td)
sys/kern/kern_devctl.c
322
if (events & (POLLIN | POLLRDNORM)) {
sys/kern/kern_devctl.c
324
revents = events & (POLLIN | POLLRDNORM);
sys/kern/kern_event.c
2359
kqueue_poll(struct file *fp, int events, struct ucred *active_cred,
sys/kern/kern_event.c
2370
if (events & (POLLIN | POLLRDNORM)) {
sys/kern/kern_event.c
2372
revents |= events & (POLLIN | POLLRDNORM);
sys/kern/kern_jaildesc.c
303
jaildesc_poll(struct file *fp, int events, struct ucred *active_cred,
sys/kern/subr_log.c
179
logpoll(struct cdev *dev, int events, struct thread *td)
sys/kern/subr_log.c
183
if (events & (POLLIN | POLLRDNORM)) {
sys/kern/subr_log.c
186
revents |= events & (POLLIN | POLLRDNORM);
sys/kern/sys_eventfd.c
276
eventfd_poll(struct file *fp, int events, struct ucred *active_cred,
sys/kern/sys_eventfd.c
285
if ((events & (POLLIN | POLLRDNORM)) != 0 && efd->efd_count > 0)
sys/kern/sys_eventfd.c
286
revents |= events & (POLLIN | POLLRDNORM);
sys/kern/sys_eventfd.c
287
if ((events & (POLLOUT | POLLWRNORM)) != 0 && UINT64_MAX - 1 >
sys/kern/sys_eventfd.c
289
revents |= events & (POLLOUT | POLLWRNORM);
sys/kern/sys_generic.c
1038
poll_no_poll(int events)
sys/kern/sys_generic.c
1047
if (events & ~POLLSTANDARD)
sys/kern/sys_generic.c
1050
return (events & (POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM));
sys/kern/sys_generic.c
1401
selsetbits(fd_mask **ibits, fd_mask **obits, int idx, fd_mask bit, int events)
sys/kern/sys_generic.c
1408
if ((events & select_flags[msk]) == 0)
sys/kern/sys_generic.c
1735
fd->revents = fo_poll(fp, fd->events, td->td_ucred, td);
sys/kern/sys_generic.c
1799
fds->revents = fo_poll(fp, fds->events,
sys/kern/sys_generic.c
1826
selsocket(struct socket *so, int events, struct timeval *tvp, struct thread *td)
sys/kern/sys_generic.c
1860
if (so->so_proto->pr_sopoll(so, events, td) != 0) {
sys/kern/sys_pipe.c
1498
pipe_poll(struct file *fp, int events, struct ucred *active_cred,
sys/kern/sys_pipe.c
1517
if (fp->f_flag & FREAD && events & (POLLIN | POLLRDNORM))
sys/kern/sys_pipe.c
1519
revents |= events & (POLLIN | POLLRDNORM);
sys/kern/sys_pipe.c
1521
if (fp->f_flag & FWRITE && events & (POLLOUT | POLLWRNORM))
sys/kern/sys_pipe.c
1527
revents |= events & (POLLOUT | POLLWRNORM);
sys/kern/sys_pipe.c
1529
levents = events &
sys/kern/sys_pipe.c
1533
events |= POLLINIGNEOF;
sys/kern/sys_pipe.c
1535
if ((events & POLLINIGNEOF) == 0) {
sys/kern/sys_pipe.c
1538
revents |= (events & (POLLIN | POLLRDNORM));
sys/kern/sys_procdesc.c
430
procdesc_poll(struct file *fp, int events, struct ucred *active_cred,
sys/kern/sys_socket.c
282
soo_poll(struct file *fp, int events, struct ucred *active_cred,
sys/kern/sys_socket.c
293
return (so->so_proto->pr_sopoll(so, events, td));
sys/kern/sys_timerfd.c
259
timerfd_poll(struct file *fp, int events, struct ucred *active_cred,
sys/kern/sys_timerfd.c
266
if ((events & (POLLIN | POLLRDNORM)) != 0 &&
sys/kern/sys_timerfd.c
268
revents |= events & (POLLIN | POLLRDNORM);
sys/kern/tty.c
647
ttydev_poll(struct cdev *dev, int events, struct thread *td)
sys/kern/tty.c
654
return ((events & (POLLIN|POLLRDNORM)) | POLLHUP);
sys/kern/tty.c
656
if (events & (POLLIN|POLLRDNORM)) {
sys/kern/tty.c
659
revents |= events & (POLLIN|POLLRDNORM);
sys/kern/tty.c
665
} else if (events & (POLLOUT|POLLWRNORM)) {
sys/kern/tty.c
668
revents |= events & (POLLOUT|POLLWRNORM);
sys/kern/tty.c
672
if (events & (POLLIN|POLLRDNORM))
sys/kern/tty.c
674
if (events & (POLLOUT|POLLWRNORM))
sys/kern/tty_pts.c
384
ptsdev_poll(struct file *fp, int events, struct ucred *active_cred,
sys/kern/tty_pts.c
396
return ((events & (POLLIN|POLLRDNORM)) | POLLHUP);
sys/kern/tty_pts.c
399
if (events & (POLLIN|POLLRDNORM)) {
sys/kern/tty_pts.c
403
revents |= events & (POLLIN|POLLRDNORM);
sys/kern/tty_pts.c
405
if (events & (POLLOUT|POLLWRNORM)) {
sys/kern/tty_pts.c
408
revents |= events & (POLLOUT|POLLWRNORM);
sys/kern/tty_pts.c
423
if (events & (POLLIN|POLLRDNORM))
sys/kern/tty_pts.c
425
if (events & (POLLOUT|POLLWRNORM))
sys/kern/uipc_mqueue.c
2497
mqf_poll(struct file *fp, int events, struct ucred *active_cred,
sys/kern/uipc_mqueue.c
2504
if (events & (POLLIN | POLLRDNORM)) {
sys/kern/uipc_mqueue.c
2506
revents |= events & (POLLIN | POLLRDNORM);
sys/kern/uipc_mqueue.c
2512
if (events & POLLOUT) {
sys/kern/uipc_socket.c
4474
sopoll_generic(struct socket *so, int events, struct thread *td)
sys/kern/uipc_socket.c
4480
if (!(events & (POLLIN | POLLRDNORM)))
sys/kern/uipc_socket.c
4483
revents = events & (POLLIN | POLLRDNORM);
sys/kern/uipc_socket.c
4484
else if ((events & POLLINIGNEOF) == 0 && so->so_error)
sys/kern/uipc_socket.c
4485
revents = (events & (POLLIN | POLLRDNORM)) | POLLHUP;
sys/kern/uipc_socket.c
4494
if (events & (POLLIN | POLLRDNORM))
sys/kern/uipc_socket.c
4496
revents |= events & (POLLIN | POLLRDNORM);
sys/kern/uipc_socket.c
4497
if (events & (POLLOUT | POLLWRNORM))
sys/kern/uipc_socket.c
4499
revents |= events & (POLLOUT | POLLWRNORM);
sys/kern/uipc_socket.c
4500
if (events & (POLLPRI | POLLRDBAND))
sys/kern/uipc_socket.c
4503
revents |= events & (POLLPRI | POLLRDBAND);
sys/kern/uipc_socket.c
4504
if ((events & POLLINIGNEOF) == 0) {
sys/kern/uipc_socket.c
4506
revents |= events & (POLLIN | POLLRDNORM);
sys/kern/uipc_socket.c
4512
revents |= events & POLLRDHUP;
sys/kern/uipc_socket.c
4514
if (events &
sys/kern/uipc_socket.c
4519
if (events & (POLLOUT | POLLWRNORM)) {
sys/kern/uipc_usrreq.c
1682
uipc_sopoll_stream_or_seqpacket(struct socket *so, int events,
sys/kern/uipc_usrreq.c
1694
if (!(events & (POLLIN | POLLRDNORM)))
sys/kern/uipc_usrreq.c
1697
revents = events & (POLLIN | POLLRDNORM);
sys/kern/uipc_usrreq.c
1699
revents = (events & (POLLIN | POLLRDNORM)) | POLLHUP;
sys/kern/uipc_usrreq.c
1710
if (events & (POLLIN | POLLRDNORM | POLLRDHUP)) {
sys/kern/uipc_usrreq.c
1714
revents |= events & (POLLIN | POLLRDNORM);
sys/kern/uipc_usrreq.c
1716
revents |= events &
sys/kern/uipc_usrreq.c
1724
if (events & (POLLOUT | POLLWRNORM)) {
sys/kern/uipc_usrreq.c
1732
revents |= events &
sys/kern/vfs_inotify.c
294
inotify_poll(struct file *fp, int events, struct ucred *cred, struct thread *td)
sys/kern/vfs_inotify.c
303
if ((events & (POLLIN | POLLRDNORM)) != 0 && sc->npending > 0)
sys/kern/vfs_inotify.c
304
revents |= events & (POLLIN | POLLRDNORM);
sys/kern/vfs_subr.c
5307
vn_pollrecord(struct vnode *vp, struct thread *td, int events)
sys/kern/vfs_subr.c
5312
if (vp->v_pollinfo->vpi_revents & events) {
sys/kern/vfs_subr.c
5320
events &= vp->v_pollinfo->vpi_revents;
sys/kern/vfs_subr.c
5321
vp->v_pollinfo->vpi_revents &= ~events;
sys/kern/vfs_subr.c
5324
return (events);
sys/kern/vfs_subr.c
5326
vp->v_pollinfo->vpi_events |= events;
sys/kern/vfs_vnops.c
1900
vn_poll(struct file *fp, int events, struct ucred *active_cred,
sys/kern/vfs_vnops.c
1917
error = VOP_POLL(vp, events, fp->f_cred, td);
sys/net/bpf.c
2002
bpfpoll(struct cdev *dev, int events, struct thread *td)
sys/net/bpf.c
2008
return (events &
sys/net/bpf.c
2014
revents = events & (POLLOUT | POLLWRNORM);
sys/net/bpf.c
2017
if (events & (POLLIN | POLLRDNORM)) {
sys/net/bpf.c
2019
revents |= events & (POLLIN | POLLRDNORM);
sys/net/if_tuntap.c
2082
tunpoll(struct cdev *dev, int events, struct thread *td)
sys/net/if_tuntap.c
2090
if (events & (POLLIN | POLLRDNORM)) {
sys/net/if_tuntap.c
2094
revents |= events & (POLLIN | POLLRDNORM);
sys/net/if_tuntap.c
2101
revents |= events & (POLLOUT | POLLWRNORM);
sys/net/netmap_legacy.h
229
int events;
sys/net/netmap_user.h
569
prd.events = fds->events;
sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
712
if (!bit_test(ng_btsocket_hci_raw_sec_filter->events, event))
sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
810
memset(&ng_btsocket_hci_raw_sec_filter->events, 0xff,
sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
811
sizeof(ng_btsocket_hci_raw_sec_filter->events));
sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
814
f = ng_btsocket_hci_raw_sec_filter->events;
sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
96
bitstr_t bit_decl(events, 0xff);
sys/netgraph/ng_device.c
604
ngdpoll(struct cdev *dev, int events, struct thread *td)
sys/netgraph/ng_device.c
609
if (events & (POLLIN | POLLRDNORM) &&
sys/netgraph/ng_device.c
611
revents |= events & (POLLIN | POLLRDNORM);
sys/netinet/sctp_usrreq.c
2066
struct sctp_event_subscribe *events;
sys/netinet/sctp_usrreq.c
2068
SCTP_CHECK_AND_CAST(events, optval, struct sctp_event_subscribe, *optsize);
sys/netinet/sctp_usrreq.c
2069
memset(events, 0, sizeof(struct sctp_event_subscribe));
sys/netinet/sctp_usrreq.c
2072
events->sctp_data_io_event = 1;
sys/netinet/sctp_usrreq.c
2075
events->sctp_association_event = 1;
sys/netinet/sctp_usrreq.c
2078
events->sctp_address_event = 1;
sys/netinet/sctp_usrreq.c
2081
events->sctp_send_failure_event = 1;
sys/netinet/sctp_usrreq.c
2084
events->sctp_peer_error_event = 1;
sys/netinet/sctp_usrreq.c
2087
events->sctp_shutdown_event = 1;
sys/netinet/sctp_usrreq.c
2090
events->sctp_partial_delivery_event = 1;
sys/netinet/sctp_usrreq.c
2093
events->sctp_adaptation_layer_event = 1;
sys/netinet/sctp_usrreq.c
2096
events->sctp_authentication_event = 1;
sys/netinet/sctp_usrreq.c
2099
events->sctp_sender_dry_event = 1;
sys/netinet/sctp_usrreq.c
2102
events->sctp_stream_reset_event = 1;
sys/netinet/sctp_usrreq.c
4992
struct sctp_event_subscribe *events;
sys/netinet/sctp_usrreq.c
4994
SCTP_CHECK_AND_CAST(events, optval, struct sctp_event_subscribe, optsize);
sys/netinet/sctp_usrreq.c
4997
if (events->sctp_data_io_event) {
sys/netinet/sctp_usrreq.c
5003
if (events->sctp_association_event) {
sys/netinet/sctp_usrreq.c
5009
if (events->sctp_address_event) {
sys/netinet/sctp_usrreq.c
5015
if (events->sctp_send_failure_event) {
sys/netinet/sctp_usrreq.c
5021
if (events->sctp_peer_error_event) {
sys/netinet/sctp_usrreq.c
5027
if (events->sctp_shutdown_event) {
sys/netinet/sctp_usrreq.c
5033
if (events->sctp_partial_delivery_event) {
sys/netinet/sctp_usrreq.c
5039
if (events->sctp_adaptation_layer_event) {
sys/netinet/sctp_usrreq.c
5045
if (events->sctp_authentication_event) {
sys/netinet/sctp_usrreq.c
5051
if (events->sctp_sender_dry_event) {
sys/netinet/sctp_usrreq.c
5057
if (events->sctp_stream_reset_event) {
sys/netinet/sctp_usrreq.c
5065
if (events->sctp_association_event) {
sys/netinet/sctp_usrreq.c
5070
if (events->sctp_address_event) {
sys/netinet/sctp_usrreq.c
5075
if (events->sctp_send_failure_event) {
sys/netinet/sctp_usrreq.c
5080
if (events->sctp_peer_error_event) {
sys/netinet/sctp_usrreq.c
5085
if (events->sctp_shutdown_event) {
sys/netinet/sctp_usrreq.c
5090
if (events->sctp_partial_delivery_event) {
sys/netinet/sctp_usrreq.c
5095
if (events->sctp_adaptation_layer_event) {
sys/netinet/sctp_usrreq.c
5100
if (events->sctp_authentication_event) {
sys/netinet/sctp_usrreq.c
5105
if (events->sctp_sender_dry_event) {
sys/netinet/sctp_usrreq.c
5110
if (events->sctp_stream_reset_event) {
sys/netinet/sctp_usrreq.c
5121
if (events->sctp_sender_dry_event) {
sys/netpfil/ipfilter/netinet/mlfk_ipl.c
145
static int ipfpoll(struct cdev *dev, int events, struct thread *td);
sys/netpfil/ipfilter/netinet/mlfk_ipl.c
159
static int ipfpoll(dev_t dev, int events, struct proc *td);
sys/netpfil/ipfilter/netinet/mlfk_ipl.c
436
ipfpoll(struct cdev *dev, int events, struct thread *td)
sys/netpfil/ipfilter/netinet/mlfk_ipl.c
438
ipfpoll(dev_t dev, int events, struct proc *td)
sys/netpfil/ipfilter/netinet/mlfk_ipl.c
456
if ((events & (POLLIN | POLLRDNORM)) && ipf_log_canread(&V_ipfmain, unit))
sys/netpfil/ipfilter/netinet/mlfk_ipl.c
457
revents |= events & (POLLIN | POLLRDNORM);
sys/netpfil/ipfilter/netinet/mlfk_ipl.c
461
if ((events & (POLLIN | POLLRDNORM)) && ipf_auth_waiting(&V_ipfmain))
sys/netpfil/ipfilter/netinet/mlfk_ipl.c
462
revents |= events & (POLLIN | POLLRDNORM);
sys/netpfil/ipfilter/netinet/mlfk_ipl.c
465
if ((events & (POLLIN | POLLRDNORM)) && ipf_sync_canread(&V_ipfmain))
sys/netpfil/ipfilter/netinet/mlfk_ipl.c
466
revents |= events & (POLLIN | POLLRDNORM);
sys/netpfil/ipfilter/netinet/mlfk_ipl.c
467
if ((events & (POLLOUT | POLLWRNORM)) && ipf_sync_canwrite(&V_ipfmain))
sys/netpfil/ipfilter/netinet/mlfk_ipl.c
468
revents |= events & (POLLOUT | POLLWRNORM);
sys/netpfil/ipfilter/netinet/mlfk_ipl.c
476
if ((revents == 0) && ((events & (POLLIN|POLLRDNORM)) != 0))
sys/ofed/drivers/infiniband/core/ib_ucm.c
1139
if (!list_empty(&file->events))
sys/ofed/drivers/infiniband/core/ib_ucm.c
1161
INIT_LIST_HEAD(&file->events);
sys/ofed/drivers/infiniband/core/ib_ucm.c
160
while (!list_empty(&ctx->events)) {
sys/ofed/drivers/infiniband/core/ib_ucm.c
162
uevent = list_entry(ctx->events.next,
sys/ofed/drivers/infiniband/core/ib_ucm.c
189
INIT_LIST_HEAD(&ctx->events);
sys/ofed/drivers/infiniband/core/ib_ucm.c
373
list_add_tail(&uevent->file_list, &ctx->file->events);
sys/ofed/drivers/infiniband/core/ib_ucm.c
374
list_add_tail(&uevent->ctx_list, &ctx->events);
sys/ofed/drivers/infiniband/core/ib_ucm.c
402
while (list_empty(&file->events)) {
sys/ofed/drivers/infiniband/core/ib_ucm.c
409
!list_empty(&file->events)))
sys/ofed/drivers/infiniband/core/ib_ucm.c
415
uevent = list_entry(file->events.next, struct ib_ucm_event, file_list);
sys/ofed/drivers/infiniband/core/ib_ucm.c
74
struct list_head events;
sys/ofed/drivers/infiniband/core/ib_ucm.c
88
struct list_head events; /* list of pending events. */
sys/powerpc/powernv/opal_dev.c
123
uint64_t events;
sys/powerpc/powernv/opal_dev.c
129
events = 0;
sys/powerpc/powernv/opal_dev.c
131
opal_call(OPAL_POLL_EVENTS, vtophys(&events));
sys/powerpc/powernv/opal_dev.c
132
if (be64toh(events) & OPAL_EVENT_MSG_PENDING)
sys/powerpc/powernv/opal_dev.c
427
uint64_t events = 0;
sys/powerpc/powernv/opal_dev.c
430
vtophys(&events));
sys/powerpc/powernv/opal_dev.c
432
if (be64toh(events) != 0 && opal_hb_proc != NULL)
sys/security/audit/audit_pipe.c
981
audit_pipe_poll(struct cdev *dev, int events, struct thread *td)
sys/security/audit/audit_pipe.c
990
if (events & (POLLIN | POLLRDNORM)) {
sys/security/audit/audit_pipe.c
993
revents |= events & (POLLIN | POLLRDNORM);
sys/sys/conf.h
120
typedef int d_poll_t(struct cdev *dev, int events, struct thread *td);
sys/sys/file.h
113
typedef int fo_poll_t(struct file *fp, int events,
sys/sys/file.h
392
fo_poll(struct file *fp, int events, struct ucred *active_cred,
sys/sys/file.h
396
return ((*fp->f_ops->fo_poll)(fp, events, active_cred, td));
sys/sys/poll.h
47
short events; /* events we are interested in */
sys/sys/socketvar.h
529
int sopoll_generic(struct socket *so, int events, struct thread *td);
sys/sys/socketvar.h
568
int selsocket(struct socket *so, int events, struct timeval *tv,
sys/sys/systm.h
496
int poll_no_poll(int events);
sys/sys/vnode.h
798
int vn_pollrecord(struct vnode *vp, struct thread *p, int events);
sys/x86/acpica/acpi_apm.c
389
apmpoll(struct cdev *dev, int events, struct thread *td)
sys/x86/acpica/acpi_apm.c
398
revents |= events & (POLLIN | POLLRDNORM);
tests/sys/aio/aio_test.c
1759
struct kevent events[1];
tests/sys/aio/aio_test.c
1777
nevents = kevent(kq, NULL, 0, events, 1, NULL);
tests/sys/aio/aio_test.c
1779
ATF_CHECK_EQ(events[0].ident, (uintptr_t) &iocb);
tests/sys/aio/aio_test.c
1780
ATF_CHECK_EQ(events[0].filter, EVFILT_AIO);
tests/sys/aio/aio_test.c
1781
ATF_CHECK_EQ(events[0].flags, EV_EOF | EV_ONESHOT);
tests/sys/aio/aio_test.c
1782
ATF_CHECK_EQ(events[0].fflags, 0);
tests/sys/aio/aio_test.c
1783
ATF_CHECK_EQ(events[0].data, 0);
tests/sys/aio/aio_test.c
1784
ATF_CHECK_EQ((uintptr_t)events[0].udata, 0xdeadbeef);
tests/sys/aio/aio_test.c
1792
nevents = kevent(kq, NULL, 0, events, 1, &timeout);
tests/sys/aio/aio_test.c
280
struct kevent events[1];
tests/sys/aio/aio_test.c
284
nevents = kevent(kq, NULL, 0, events, 1, NULL);
tests/sys/aio/aio_test.c
286
ATF_CHECK_EQ(events[0].ident, (uintptr_t) aio);
tests/sys/aio/aio_test.c
287
ATF_CHECK_EQ(events[0].filter, EVFILT_AIO);
tests/sys/aio/aio_test.c
288
ATF_CHECK_EQ(events[0].flags, EV_EOF);
tests/sys/aio/aio_test.c
289
ATF_CHECK_EQ(events[0].fflags, 0);
tests/sys/aio/aio_test.c
290
ATF_CHECK_EQ(events[0].data, 0);
tests/sys/aio/aio_test.c
291
ATF_CHECK_EQ((uintptr_t)events[0].udata, 0xdeadbeef);
tests/sys/audit/utils.c
266
fd[0].events = POLLIN;
tests/sys/capsicum/capability-fd.cc
548
pollfd.events = POLLIN | POLLERR | POLLHUP;
tests/sys/capsicum/linux.cc
174
poll_fd.events = POLLIN;
tests/sys/capsicum/linux.cc
225
poll_fd.events = POLLIN;
tests/sys/capsicum/linux.cc
296
eev.events = EPOLLIN|EPOLLOUT|EPOLLPRI;
tests/sys/capsicum/linux.cc
301
eev.events = EPOLLIN|EPOLLOUT;
tests/sys/capsicum/linux.cc
308
eev.events = 0;
tests/sys/capsicum/linux.cc
313
EXPECT_EQ(EPOLLIN, eev.events & EPOLLIN);
tests/sys/capsicum/linux.cc
464
poll_fd.events = POLLIN;
tests/sys/capsicum/linux.cc
77
poll_fd.events = POLLIN;
tests/sys/capsicum/procdesc.cc
358
fdp.events = POLLIN | POLLERR | POLLHUP;
tests/sys/capsicum/procdesc.cc
410
fdp.events = POLLIN | POLLERR | POLLHUP;
tests/sys/capsicum/sctp.cc
134
struct sctp_event_subscribe events;
tests/sys/capsicum/sctp.cc
135
memset(&events, 0, sizeof(events));
tests/sys/capsicum/sctp.cc
136
events.sctp_association_event = 1;
tests/sys/capsicum/sctp.cc
137
events.sctp_data_io_event = 1;
tests/sys/capsicum/sctp.cc
138
EXPECT_NOTCAPABLE(setsockopt(cap_sock_rw, IPPROTO_SCTP, SCTP_EVENTS, &events, sizeof(events)));
tests/sys/capsicum/sctp.cc
139
len = sizeof(events);
tests/sys/capsicum/sctp.cc
140
EXPECT_NOTCAPABLE(getsockopt(cap_sock_rw, IPPROTO_SCTP, SCTP_EVENTS, &events, &len));
tests/sys/capsicum/sctp.cc
141
memset(&events, 0, sizeof(events));
tests/sys/capsicum/sctp.cc
142
events.sctp_association_event = 1;
tests/sys/capsicum/sctp.cc
143
events.sctp_data_io_event = 1;
tests/sys/capsicum/sctp.cc
144
EXPECT_OK(setsockopt(cap_sock_all, IPPROTO_SCTP, SCTP_EVENTS, &events, sizeof(events)));
tests/sys/capsicum/sctp.cc
145
len = sizeof(events);
tests/sys/capsicum/sctp.cc
146
EXPECT_OK(getsockopt(cap_sock_all, IPPROTO_SCTP, SCTP_EVENTS, &events, &len));
tests/sys/capsicum/select.cc
111
cap_fd[ii].events = POLLIN|POLLOUT;
tests/sys/capsicum/select.cc
114
cap_fd[kCapCount].events = POLLIN|POLLOUT;
tests/sys/capsicum/select.cc
121
cap_fd[kCapCount + 1].events = POLLIN|POLLOUT;
tests/sys/fifo/fifo_io.c
868
fds[0].events = POLLIN | POLLOUT | POLLERR;
tests/sys/file/path_test.c
503
pollfd.events = POLLIN;
tests/sys/file/path_test.c
508
pollfd.events = POLLOUT;
tests/sys/fs/fusefs/mockfs.cc
1025
struct kevent events[1];
tests/sys/fs/fusefs/mockfs.cc
1035
nready = kevent(m_kq, &changes[0], 1, &events[0], 1,
tests/sys/fs/fusefs/mockfs.cc
1038
ASSERT_EQ(events[0].ident, (uintptr_t)m_fuse_fd);
tests/sys/fs/fusefs/mockfs.cc
1039
if (events[0].flags & EV_ERROR)
tests/sys/fs/fusefs/mockfs.cc
1040
FAIL() << strerror(events[0].data);
tests/sys/fs/fusefs/mockfs.cc
1041
else if (events[0].flags & EV_EOF)
tests/sys/fs/fusefs/mockfs.cc
1042
FAIL() << strerror(events[0].fflags);
tests/sys/fs/fusefs/mockfs.cc
1043
m_nready = events[0].data;
tests/sys/fs/fusefs/mockfs.cc
1047
fds[0].events = POLLOUT;
tests/sys/fs/fusefs/mockfs.cc
940
struct kevent events[1];
tests/sys/fs/fusefs/mockfs.cc
956
nready = kevent(m_kq, &changes[0], 1, &events[0], 1,
tests/sys/fs/fusefs/mockfs.cc
962
ASSERT_EQ(events[0].ident, (uintptr_t)m_fuse_fd);
tests/sys/fs/fusefs/mockfs.cc
963
if (events[0].flags & EV_ERROR)
tests/sys/fs/fusefs/mockfs.cc
964
FAIL() << strerror(events[0].data);
tests/sys/fs/fusefs/mockfs.cc
965
else if (events[0].flags & EV_EOF)
tests/sys/fs/fusefs/mockfs.cc
966
FAIL() << strerror(events[0].fflags);
tests/sys/fs/fusefs/mockfs.cc
967
m_nready = events[0].data;
tests/sys/fs/fusefs/mockfs.cc
972
fds[0].events = POLLIN;
tests/sys/kern/inotify_test.c
187
watch_file(int ifd, int events, char *path)
tests/sys/kern/inotify_test.c
196
wd = inotify_add_watch(ifd, path, events);
tests/sys/kern/inotify_test.c
203
watch_dir(int ifd, int events, char *path)
tests/sys/kern/inotify_test.c
212
wd = inotify_add_watch(ifd, path, events);
tests/sys/kern/ktls_test.c
208
pfd.events = POLLOUT;
tests/sys/kern/listener_wakeup.c
167
.events = (POLLIN | POLLPRI | POLLRDNORM | POLLWRNORM |
tests/sys/kern/ptrace_test.c
1559
int events, status;
tests/sys/kern/ptrace_test.c
1573
events = 0;
tests/sys/kern/ptrace_test.c
1574
ATF_REQUIRE(ptrace(PT_SET_EVENT_MASK, fpid, (caddr_t)&events,
tests/sys/kern/ptrace_test.c
1575
sizeof(events)) == 0);
tests/sys/kern/ptrace_test.c
1594
int events, status;
tests/sys/kern/ptrace_test.c
1608
events = PTRACE_EXEC;
tests/sys/kern/ptrace_test.c
1609
ATF_REQUIRE(ptrace(PT_SET_EVENT_MASK, fpid, (caddr_t)&events,
tests/sys/kern/ptrace_test.c
1610
sizeof(events)) == 0);
tests/sys/kern/ptrace_test.c
1639
int events, status;
tests/sys/kern/ptrace_test.c
1655
ATF_REQUIRE(ptrace(PT_GET_EVENT_MASK, fpid, (caddr_t)&events,
tests/sys/kern/ptrace_test.c
1656
sizeof(events)) == 0);
tests/sys/kern/ptrace_test.c
1657
ATF_REQUIRE(events & PTRACE_FORK);
tests/sys/kern/ptrace_test.c
1659
ATF_REQUIRE(ptrace(PT_GET_EVENT_MASK, fpid, (caddr_t)&events,
tests/sys/kern/ptrace_test.c
1660
sizeof(events)) == 0);
tests/sys/kern/ptrace_test.c
1661
ATF_REQUIRE(!(events & PTRACE_FORK));
tests/sys/kern/ptrace_test.c
1665
ATF_REQUIRE(ptrace(PT_GET_EVENT_MASK, fpid, (caddr_t)&events,
tests/sys/kern/ptrace_test.c
1666
sizeof(events)) == 0);
tests/sys/kern/ptrace_test.c
1667
ATF_REQUIRE(events & PTRACE_LWP);
tests/sys/kern/ptrace_test.c
1669
ATF_REQUIRE(ptrace(PT_GET_EVENT_MASK, fpid, (caddr_t)&events,
tests/sys/kern/ptrace_test.c
1670
sizeof(events)) == 0);
tests/sys/kern/ptrace_test.c
1671
ATF_REQUIRE(!(events & PTRACE_LWP));
tests/sys/kern/ptrace_test.c
1693
int events, status;
tests/sys/kern/ptrace_test.c
1707
ATF_REQUIRE(ptrace(PT_GET_EVENT_MASK, fpid, (caddr_t)&events,
tests/sys/kern/ptrace_test.c
1708
sizeof(events)) == 0);
tests/sys/kern/ptrace_test.c
1709
events |= PTRACE_VFORK;
tests/sys/kern/ptrace_test.c
1710
ATF_REQUIRE(ptrace(PT_SET_EVENT_MASK, fpid, (caddr_t)&events,
tests/sys/kern/ptrace_test.c
1711
sizeof(events)) == 0);
tests/sys/kern/ptrace_test.c
1741
int events, status;
tests/sys/kern/ptrace_test.c
1758
ATF_REQUIRE(ptrace(PT_GET_EVENT_MASK, children[0], (caddr_t)&events,
tests/sys/kern/ptrace_test.c
1759
sizeof(events)) == 0);
tests/sys/kern/ptrace_test.c
1760
events |= PTRACE_FORK | PTRACE_VFORK;
tests/sys/kern/ptrace_test.c
1761
ATF_REQUIRE(ptrace(PT_SET_EVENT_MASK, children[0], (caddr_t)&events,
tests/sys/kern/ptrace_test.c
1762
sizeof(events)) == 0);
tests/sys/kern/ptrace_test.c
3942
int events, status;
tests/sys/kern/ptrace_test.c
3989
ATF_REQUIRE(ptrace(PT_GET_EVENT_MASK, fpid, (caddr_t)&events,
tests/sys/kern/ptrace_test.c
3990
sizeof(events)) == 0);
tests/sys/kern/ptrace_test.c
3991
events &= ~PTRACE_SYSCALL;
tests/sys/kern/ptrace_test.c
3992
ATF_REQUIRE(ptrace(PT_SET_EVENT_MASK, fpid, (caddr_t)&events,
tests/sys/kern/ptrace_test.c
3993
sizeof(events)) == 0);
tests/sys/kern/ptrace_test.c
4016
int events, status;
tests/sys/kern/ptrace_test.c
4146
ATF_REQUIRE(ptrace(PT_GET_EVENT_MASK, fpid, (caddr_t)&events,
tests/sys/kern/ptrace_test.c
4147
sizeof(events)) == 0);
tests/sys/kern/ptrace_test.c
4148
events &= ~PTRACE_SYSCALL;
tests/sys/kern/ptrace_test.c
4149
ATF_REQUIRE(ptrace(PT_SET_EVENT_MASK, fpid, (caddr_t)&events,
tests/sys/kern/ptrace_test.c
4150
sizeof(events)) == 0);
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
265
struct pollfd pfd = { .fd = timerfd, .events = POLLIN };
tests/sys/kern/timerfd.c
582
struct pollfd pfd = { .fd = timerfd, .events = POLLIN };
tests/sys/kern/timerfd.c
633
struct pollfd pfd = { .fd = timerfd, .events = POLLIN };
tests/sys/kern/timerfd.c
648
struct pollfd pfd = { .fd = timerfd, .events = POLLIN };
tests/sys/kern/timerfd.c
681
struct pollfd pfd = { .fd = timerfd, .events = POLLIN };
tests/sys/kern/timerfd.c
69
struct pollfd pfd = { .fd = timerfd, .events = POLLIN };
tests/sys/kern/timerfd.c
698
struct pollfd pfd = { .fd = timerfd, .events = POLLIN };
tests/sys/kern/timerfd.c
734
struct pollfd pfd = { .fd = timerfd, .events = POLLIN };
tests/sys/kern/timerfd.c
762
struct pollfd pfd = { .fd = timerfd, .events = POLLIN };
tests/sys/kern/timerfd.c
781
struct pollfd pfd = { .fd = timerfd, .events = POLLIN };
tests/sys/kern/timerfd.c
942
struct pollfd pfd = { .fd = timerfd, .events = POLLIN };
tests/sys/kern/unix_stream.c
150
.events = ctx->poll_events,
tests/sys/net/routing/rtsock_common.h
680
pfd.events = POLLIN;
tests/sys/netinet/socket_afinet.c
137
pfd.events = POLLIN | POLLOUT;
tests/sys/netinet/socket_afinet.c
152
pfd.events = POLLIN;
tests/sys/netinet/socket_afinet.c
201
pfd.events = POLLIN | POLLOUT | POLLRDHUP;
tests/sys/netinet/socket_afinet.c
214
pfd.events = POLLIN | POLLOUT | POLLRDHUP;
tests/sys/netinet/socket_afinet.c
235
pfd.events = POLLRDHUP;
tests/sys/sound/polling.c
140
pfd[0].events = POLLIN;
tests/sys/sound/polling.c
142
pfd[1].events = POLLOUT;
tools/regression/netinet/tcpfullwindowrst/tcpfullwindowrsttest.c
100
pfd[0].events = POLLOUT;
tools/regression/netinet/tcpfullwindowrst/tcpfullwindowrsttest.c
102
pfd[1].events = POLLOUT;
tools/regression/poll/pipepoll.c
101
pfd.events = POLLIN;
tools/regression/poll/pipepoll.c
22
decode_events(int events)
tools/regression/poll/pipepoll.c
27
switch (events) {
tools/regression/poll/pipepoll.c
38
asprintf(&ncresult, "%#x", events);
tools/regression/poll/pipeselect.c
29
decode_events(int events)
tools/regression/poll/pipeselect.c
31
return (events ? "set" : "clear");
tools/regression/poll/sockpoll.c
111
pfd0.events = POLLIN | POLLOUT;
tools/regression/poll/sockpoll.c
113
pfd1.events = POLLIN | POLLOUT;
tools/regression/poll/sockpoll.c
223
pfd1.events |= POLLRDHUP;
tools/regression/poll/sockpoll.c
25
decode_events(int events, char *out, size_t out_size)
tools/regression/poll/sockpoll.c
31
if (events == 0) {
tools/regression/poll/sockpoll.c
37
if (events & (x)) { \
tools/regression/poll/sockpoll.c
55
unknown = events & ~KNOWN_FLAGS;
tools/regression/security/cap_test/cap_test_capabilities.c
392
pollfd.events = POLLIN | POLLERR | POLLHUP;
tools/regression/sockets/udp_pingpong/udp_pingpong.c
249
tcp->pfds[i].events = POLLIN;
tools/regression/sockets/udp_pingpong/udp_pingpong.c
294
tcp->pfds[i].events = POLLIN;
tools/test/gpioevents/gpioevents.c
260
fds.events = POLLIN | POLLRDNORM;
tools/tools/netmap/bridge.c
320
pollfd[0].events = pollfd[1].events = 0;
tools/tools/netmap/bridge.c
338
pollfd[1].events |= POLLOUT;
tools/tools/netmap/bridge.c
340
pollfd[0].events |= POLLIN;
tools/tools/netmap/bridge.c
342
pollfd[0].events |= POLLOUT;
tools/tools/netmap/bridge.c
344
pollfd[1].events |= POLLIN;
tools/tools/netmap/bridge.c
353
pollfd[0].events,
tools/tools/netmap/bridge.c
358
pollfd[1].events,
tools/tools/netmap/ctrs.h
9
uint64_t pkts, bytes, events;
tools/tools/netmap/lb.c
914
pollfd[polli].events = POLLOUT;
tools/tools/netmap/lb.c
920
pollfd[polli].events = POLLIN;
tools/tools/netmap/pkt-gen.c
1386
struct pollfd pfd = { .fd = targ->fd, .events = POLLIN };
tools/tools/netmap/pkt-gen.c
1461
targ->ctr.events = event;
tools/tools/netmap/pkt-gen.c
1585
struct pollfd pfd = { .fd = targ->fd, .events = POLLIN };
tools/tools/netmap/pkt-gen.c
1679
struct pollfd pfd = { .fd = targ->fd, .events = POLLOUT };
tools/tools/netmap/pkt-gen.c
1723
targ->ctr.events = sent;
tools/tools/netmap/pkt-gen.c
1738
targ->ctr.events = sent;
tools/tools/netmap/pkt-gen.c
1837
targ->ctr.events = event;
tools/tools/netmap/pkt-gen.c
1869
targ->ctr.events = event;
tools/tools/netmap/pkt-gen.c
1926
struct pollfd pfd = { .fd = targ->fd, .events = POLLIN };
tools/tools/netmap/pkt-gen.c
1966
targ->ctr.events++;
tools/tools/netmap/pkt-gen.c
1975
targ->ctr.events++;
tools/tools/netmap/pkt-gen.c
2019
cur.events++;
tools/tools/netmap/pkt-gen.c
2047
struct pollfd pfd = { .fd = targ->fd, .events = POLLOUT };
tools/tools/netmap/pkt-gen.c
2200
targ->ctr.events = event;
tools/tools/netmap/pkt-gen.c
2221
targ->ctr.events = event;
tools/tools/netmap/pkt-gen.c
2257
struct pollfd pfd = { .fd = targ->fd, .events = POLLIN };
tools/tools/netmap/pkt-gen.c
2417
cur.events++;
tools/tools/netmap/pkt-gen.c
2457
(unsigned long long)cur->events, size, delta);
tools/tools/netmap/pkt-gen.c
2465
abs = cur->pkts / (double)(cur->events);
tools/tools/netmap/pkt-gen.c
2717
prev.pkts = prev.bytes = prev.events = 0;
tools/tools/netmap/pkt-gen.c
2729
cur.pkts = cur.bytes = cur.events = 0;
tools/tools/netmap/pkt-gen.c
2737
cur.events += targs[i].ctr.events;
tools/tools/netmap/pkt-gen.c
2745
x.events = cur.events - prev.events;
tools/tools/netmap/pkt-gen.c
2747
abs = (x.events > 0) ? (x.pkts / (double) x.events) : 0;
tools/tools/netmap/pkt-gen.c
2794
cur.pkts = cur.bytes = cur.events = 0;
tools/tools/netmap/pkt-gen.c
2820
cur.events += targs[i].ctr.events;
tools/tools/netrate/netreceive/netreceive.c
106
fds.events = POLLIN;
usr.bin/calendar/calendar.h
124
void event_continue(struct event *events, char *txt);
usr.bin/calendar/dates.c
383
*e = d->events;
usr.bin/calendar/dates.c
388
*e = d->events;
usr.bin/calendar/dates.c
394
*e = d->events;
usr.bin/calendar/dates.c
401
*e = d->events;
usr.bin/calendar/dates.c
455
d->events = e;
usr.bin/calendar/dates.c
64
struct event *events;
usr.bin/calendar/io.c
556
event_continue(events[i], buf);
usr.bin/calendar/io.c
594
events[i] = event_add(year[i], month[i], day[i],
usr.bin/calendar/io.c
75
static struct event *events[MAXCOUNT];
usr.bin/genl/genl.c
370
pfd.events = POLLIN | POLLERR;
usr.bin/kdump/kdump.c
2337
print_mask_arg0(sysdecode_pollfd_events, pfd->events);
usr.bin/mail/tests/mailx_signal_test.c
101
fds[0].events = POLLIN;
usr.bin/mail/tests/mailx_signal_test.c
103
fds[1].events = POLLIN;
usr.bin/talk/ctl_transact.c
59
pfd[0].events = POLLIN;
usr.bin/talk/io.c
108
fds[0].events = POLLIN;
usr.bin/talk/io.c
110
fds[1].events = POLLIN;
usr.bin/truss/syscalls.c
1989
xlookup_bits(poll_flags, pfd[i].events));
usr.bin/whois/whois.c
333
fds[i].events = POLLERR | POLLHUP |
usr.bin/whois/whois.c
397
if (fds[j].fd == -1 || fds[j].events == 0 ||
usr.bin/whois/whois.c
403
fds[j].events = 0;
usr.sbin/apmd/apmd.c
262
p = events[n].cmdlist;
usr.sbin/apmd/apmd.c
270
events[n].cmdlist = q;
usr.sbin/apmd/apmd.c
341
if (events[i].cmdlist) {
usr.sbin/apmd/apmd.c
358
if ((p = events[i].cmdlist)) {
usr.sbin/apmd/apmd.c
359
fprintf(stderr, "apm_event %s {\n", events[i].name);
usr.sbin/apmd/apmd.c
394
if (events[i].cmdlist) {
usr.sbin/apmd/apmd.c
404
if ((p = events[i].cmdlist))
usr.sbin/apmd/apmd.c
406
events[i].cmdlist = NULL;
usr.sbin/apmd/apmd.c
496
syslog(LOG_INFO, "apm event: %s", events[apmevent.type].name);
usr.sbin/apmd/apmd.c
498
status = exec_event_cmd(&events[apmevent.type]);
usr.sbin/apmd/apmd.c
547
status = exec_event_cmd(&events[PMEV_POWERSTATECHANGE]);
usr.sbin/apmd/apmd.c
63
struct event_config events[EVENT_MAX] = {
usr.sbin/apmd/apmd.h
99
extern struct event_config events[EVENT_MAX];
usr.sbin/bhyve/pci_virtio_input.c
134
struct vtinput_event_elem *events;
usr.sbin/bhyve/pci_virtio_input.c
474
void *newPtr = realloc(queue->events,
usr.sbin/bhyve/pci_virtio_input.c
481
queue->events = newPtr;
usr.sbin/bhyve/pci_virtio_input.c
486
struct vtinput_event *event = &queue->events[queue->idx].event;
usr.sbin/bhyve/pci_virtio_input.c
549
queue->events[i].iov = iov;
usr.sbin/bhyve/pci_virtio_input.c
550
queue->events[i].idx = req.idx;
usr.sbin/bhyve/pci_virtio_input.c
558
struct vtinput_event_elem event = queue->events[i];
usr.sbin/bhyve/pci_virtio_input.c
695
sc->vsc_eventqueue.events = calloc(
usr.sbin/bhyve/pci_virtio_input.c
698
if (sc->vsc_eventqueue.events == NULL) {
usr.sbin/bhyve/pci_virtio_input.c
753
if (sc->vsc_eventqueue.events)
usr.sbin/bhyve/pci_virtio_input.c
754
free(sc->vsc_eventqueue.events);
usr.sbin/bhyve/slirp/libslirp.h
79
typedef int (*SlirpAddPollCb)(int fd, int events, void *opaque);
usr.sbin/bhyve/slirp/slirp-helper.c
133
slirpev2pollev(int events)
usr.sbin/bhyve/slirp/slirp-helper.c
138
if (events & SLIRP_POLL_IN)
usr.sbin/bhyve/slirp/slirp-helper.c
140
if (events & SLIRP_POLL_OUT)
usr.sbin/bhyve/slirp/slirp-helper.c
142
if (events & SLIRP_POLL_PRI)
usr.sbin/bhyve/slirp/slirp-helper.c
144
if (events & SLIRP_POLL_ERR)
usr.sbin/bhyve/slirp/slirp-helper.c
146
if (events & SLIRP_POLL_HUP)
usr.sbin/bhyve/slirp/slirp-helper.c
152
pollev2slirpev(int events)
usr.sbin/bhyve/slirp/slirp-helper.c
157
if (events & POLLIN)
usr.sbin/bhyve/slirp/slirp-helper.c
159
if (events & POLLOUT)
usr.sbin/bhyve/slirp/slirp-helper.c
161
if (events & POLLPRI)
usr.sbin/bhyve/slirp/slirp-helper.c
163
if (events & POLLERR)
usr.sbin/bhyve/slirp/slirp-helper.c
165
if (events & POLLHUP)
usr.sbin/bhyve/slirp/slirp-helper.c
171
slirp_addpoll(struct slirp_priv *priv, int fd, int events)
usr.sbin/bhyve/slirp/slirp-helper.c
195
pollfd->events = slirpev2pollev(events);
usr.sbin/bhyve/slirp/slirp-helper.c
203
slirp_addpoll_cb(int fd, int events, void *param)
usr.sbin/bhyve/slirp/slirp-helper.c
208
return (slirp_addpoll(priv, fd, events));
usr.sbin/bhyve/slirp/slirp-helper.c
226
if ((pollfd->events & POLLHUP) == 0)
usr.sbin/fifolog/fifolog_writer/fifolog_writer.c
98
pfd[0].events = POLLIN;
usr.sbin/mfiutil/mfi_evt.c
703
MFI_COMMAND(show, events, show_events);
usr.sbin/moused/moused/quirks.c
835
struct input_event events[32];
usr.sbin/moused/moused/quirks.c
836
size_t nevents = ARRAY_LENGTH(events);
usr.sbin/moused/moused/quirks.c
840
if (!parse_evcode_property(value, events, &nevents) ||
usr.sbin/moused/moused/quirks.c
845
p->value.tuples.tuples[i].first = events[i].type;
usr.sbin/moused/moused/quirks.c
846
p->value.tuples.tuples[i].second = events[i].code;
usr.sbin/moused/moused/quirks.c
847
p->value.tuples.tuples[i].third = events[i].value;
usr.sbin/moused/moused/util.c
306
parse_evcode_property(const char *prop, struct input_event *events, size_t *nevents)
usr.sbin/moused/moused/util.c
354
memcpy(events, evs, ncodes * sizeof *events);
usr.sbin/moused/moused/util.h
410
bool parse_evcode_property(const char *prop, struct input_event *events, size_t *nevents);
usr.sbin/mptutil/mpt_evt.c
164
MPT_COMMAND(show, events, show_events);
usr.sbin/ngctl/main.c
277
{ .fd = csock, .events = POLLIN },
usr.sbin/ngctl/main.c
278
{ .fd = dsock, .events = POLLIN },
usr.sbin/ngctl/main.c
383
{ .fd = csock, .events = POLLIN },
usr.sbin/ngctl/main.c
384
{ .fd = dsock, .events = POLLIN },
usr.sbin/ngctl/main.c
385
{ .fd = STDIN_FILENO, .events = POLLIN },
usr.sbin/ngctl/msg.c
67
{ .fd = csock, .events = POLLIN },
usr.sbin/pmc/cmd_pmc_filter.cc
198
char *events, char *processes, char *threads, bool exclusive, bool json, int infd,
usr.sbin/pmc/cmd_pmc_filter.cc
227
if (events)
usr.sbin/pmc/cmd_pmc_filter.cc
228
parse_events(events, eventlist, &eventcount, cpuid);
usr.sbin/pmc/cmd_pmc_filter.cc
300
char *lwps, *pids, *events, *processes, *threads;
usr.sbin/pmc/cmd_pmc_filter.cc
307
threads = processes = lwps = pids = events = NULL;
usr.sbin/pmc/cmd_pmc_filter.cc
313
events = strdup(optarg);
usr.sbin/pmc/cmd_pmc_filter.cc
356
pmc_filter_handler(lwplist, lwpcount, pidlist, pidcount, events,
usr.sbin/route6d/route6d.c
704
set[0].events = POLLIN;
usr.sbin/route6d/route6d.c
716
set[1].events = POLLIN;
usr.sbin/rpcbind/rpcb_svc_com.c
1093
p->events = MASKVAL;
usr.sbin/rpcbind/rpcb_svc_com.c
1098
p->events = MASKVAL;
usr.sbin/rpcbind/rpcb_svc_com.c
1109
if (p->events)
usr.sbin/rtadvd/control.c
75
pfds[0].events = POLLIN;
usr.sbin/rtadvd/rtadvd.c
277
set[PFD_RAWSOCK].events = POLLIN;
usr.sbin/rtadvd/rtadvd.c
281
set[PFD_RTSOCK].events = POLLIN;
usr.sbin/rtadvd/rtadvd.c
285
set[PFD_CSOCK].events = POLLIN;
usr.sbin/rtsold/rtsold.c
119
struct kevent events[2];
usr.sbin/rtsold/rtsold.c
255
EV_SET(&events[0], rtsock, EVFILT_READ, EV_ADD, 0, 0, NULL);
usr.sbin/rtsold/rtsold.c
256
EV_SET(&events[1], rcvsock, EVFILT_READ, EV_ADD, 0, 0, NULL);
usr.sbin/rtsold/rtsold.c
257
if (kevent(kq, events, 2, NULL, 0, NULL) < 0) {
usr.sbin/rtsold/rtsold.c
322
error = kevent(kq, NULL, 0, &events[0], 1, timeout);
usr.sbin/rtsold/rtsold.c
330
if (events[0].ident == (uintptr_t)rtsock)
usr.sbin/syslogd/syslogd.c
3368
int events, pipefd[2], status;
usr.sbin/syslogd/syslogd.c
3382
pollfd.events = POLLHUP;
usr.sbin/syslogd/syslogd.c
3383
events = poll(&pollfd, 1, maxwait * 1000);
usr.sbin/syslogd/syslogd.c
3384
if (events == -1)
usr.sbin/syslogd/syslogd.c
3386
else if (events == 0)
usr.sbin/traceroute6/traceroute6.c
1059
pfd[0].events = POLLIN;
usr.sbin/virtual_oss/virtual_bt_speaker/bt_speaker.c
272
pfd[0].events = POLLIN | POLLRDNORM;
usr.sbin/virtual_oss/virtual_bt_speaker/bt_speaker.c
276
pfd[1].events = POLLIN | POLLRDNORM;
usr.sbin/virtual_oss/virtual_bt_speaker/bt_speaker.c
280
pfd[2].events = POLLIN | POLLRDNORM;
usr.sbin/virtual_oss/virtual_oss/httpd.c
690
fds[c].events = (POLLIN | POLLRDNORM | POLLRDBAND | POLLPRI |
usr.sbin/virtual_oss/virtual_oss/main.c
1558
vclient_poll(struct cuse_dev *pdev, int fflags, int events)
usr.sbin/virtual_oss/virtual_oss/main.c
1569
if ((events & CUSE_POLL_READ) && (fflags & CUSE_FFLAG_READ)) {
usr.sbin/virtual_oss/virtual_oss/main.c
1574
if ((events & CUSE_POLL_WRITE) && (fflags & CUSE_FFLAG_WRITE)) {
usr.sbin/ypldap/ldapclient.c
152
client_dispatch_dns(int fd, short events, void *p)
usr.sbin/ypldap/ldapclient.c
166
if ((events & (EV_READ | EV_WRITE)) == 0)
usr.sbin/ypldap/ldapclient.c
169
if (events & EV_READ) {
usr.sbin/ypldap/ldapclient.c
175
if (events & EV_WRITE) {
usr.sbin/ypldap/ldapclient.c
253
client_dispatch_parent(int fd, short events, void *p)
usr.sbin/ypldap/ldapclient.c
262
if ((events & (EV_READ | EV_WRITE)) == 0)
usr.sbin/ypldap/ldapclient.c
265
if (events & EV_READ) {
usr.sbin/ypldap/ldapclient.c
271
if (events & EV_WRITE) {
usr.sbin/ypldap/ldapclient.c
409
env.sc_iev->events = EV_READ;
usr.sbin/ypldap/ldapclient.c
413
event_set(&env.sc_iev->ev, env.sc_iev->ibuf.fd, env.sc_iev->events,
usr.sbin/ypldap/ldapclient.c
417
env.sc_iev_dns->events = EV_READ;
usr.sbin/ypldap/ldapclient.c
422
env.sc_iev_dns->events, env.sc_iev_dns->handler, &env);
usr.sbin/ypldap/ypldap.c
350
main_dispatch_client(int fd, short events, void *p)
usr.sbin/ypldap/ypldap.c
360
if ((events & (EV_READ | EV_WRITE)) == 0)
usr.sbin/ypldap/ypldap.c
363
if (events & EV_READ) {
usr.sbin/ypldap/ypldap.c
369
if (events & EV_WRITE) {
usr.sbin/ypldap/ypldap.c
593
env.sc_iev->events = EV_READ;
usr.sbin/ypldap/ypldap.c
595
event_set(&env.sc_iev->ev, env.sc_iev->ibuf.fd, env.sc_iev->events,
usr.sbin/ypldap/ypldap.c
632
iev->events = EV_READ;
usr.sbin/ypldap/ypldap.c
634
iev->events |= EV_WRITE;
usr.sbin/ypldap/ypldap.c
637
event_set(&iev->ev, iev->ibuf.fd, iev->events, iev->handler, iev->data);
usr.sbin/ypldap/ypldap.h
142
short events;
usr.sbin/ypldap/ypldap_dns.c
111
env.sc_iev->events = EV_READ;
usr.sbin/ypldap/ypldap_dns.c
115
event_set(&env.sc_iev->ev, env.sc_iev->ibuf.fd, env.sc_iev->events,
usr.sbin/ypldap/ypldap_dns.c
126
dns_dispatch_imsg(int fd, short events, void *p)
usr.sbin/ypldap/ypldap_dns.c
139
if ((events & (EV_READ | EV_WRITE)) == 0)
usr.sbin/ypldap/ypldap_dns.c
142
if (events & EV_READ) {
usr.sbin/ypldap/ypldap_dns.c
148
if (events & EV_WRITE) {