Searched refs:events (Results 276 - 300 of 454) sorted by relevance

<<111213141516171819

/freebsd-current/sys/geom/vinum/
H A Dgeom_vinum_var.h223 TAILQ_ENTRY(gv_event) events; member in struct:gv_event
/freebsd-current/sys/dev/firewire/
H A Dfwdev.c820 fw_poll(struct cdev *dev, int events, fw_proc *td) argument
827 return fwmem_poll(dev, events, td);
832 if (events & tmp) {
839 if (events & tmp) {
/freebsd-current/tools/tools/netrate/netreceive/
H A Dnetreceive.c106 fds.events = POLLIN;
/freebsd-current/tests/sys/audit/
H A Dutils.c266 fd[0].events = POLLIN;
/freebsd-current/contrib/libfido2/src/
H A Dhid_netbsd.c187 pfd.events = POLLIN;
H A Dhid_openbsd.c139 pfd.events = POLLIN;
/freebsd-current/usr.sbin/bhyve/
H A Dlibslirp.h79 typedef int (*SlirpAddPollCb)(int fd, int events, void *opaque);
119 /* Kick the io-thread, to signal that new events may be processed because some TCP buffer
/freebsd-current/tests/sys/kern/
H A Dlistener_wakeup.c167 .events = (POLLIN | POLLPRI | POLLRDNORM | POLLWRNORM |
/freebsd-current/cddl/usr.sbin/zfsd/
H A Dcase_file.cc37 * However, we only serialize to disk those events that need to be preserved
439 * Discard any tentative I/O error events for
456 * Otherwise, leave it in the unconsumed events list so that the
910 CaseFile::SerializeEvList(const EventList events, int fd, argument
913 if (events.empty())
915 for (EventList::const_iterator curEvent = events.begin();
916 curEvent != events.end(); curEvent++) {
954 * XXX: This method assumes that events may not contain embedded newlines. If
955 * ever events can contain embedded newlines, then CaseFile must switch
/freebsd-current/sys/dev/netmap/
H A Dnetmap_freebsd.c1368 * just return 1 (events ready), since we are not able to do better.
1369 * In the latter case we use netmap_poll() to see which events are
1373 netmap_knrw(struct knote *kn, long hint, int events) argument
1387 revents = netmap_poll(priv, events, /*thread=*/NULL);
1389 return (events & revents) ? 1 : 0;
1460 freebsd_netmap_poll(struct cdev *cdevi __unused, int events, struct thread *td) argument
1466 return netmap_poll(priv, events, td);
/freebsd-current/sys/dev/mps/
H A Dmps_sas.c674 u32 events[MPI2_EVENT_NOTIFY_EVENTMASK_WORDS]; local
676 bzero(events, 16);
677 setbit(events, MPI2_EVENT_SAS_DEVICE_STATUS_CHANGE);
678 setbit(events, MPI2_EVENT_SAS_DISCOVERY);
679 setbit(events, MPI2_EVENT_SAS_BROADCAST_PRIMITIVE);
680 setbit(events, MPI2_EVENT_SAS_INIT_DEVICE_STATUS_CHANGE);
681 setbit(events, MPI2_EVENT_SAS_INIT_TABLE_OVERFLOW);
682 setbit(events, MPI2_EVENT_SAS_TOPOLOGY_CHANGE_LIST);
683 setbit(events, MPI2_EVENT_SAS_ENCL_DEVICE_STATUS_CHANGE);
684 setbit(events, MPI2_EVENT_IR_CONFIGURATION_CHANGE_LIS
[all...]
/freebsd-current/sys/dev/qlnx/qlnxe/
H A Decore_rdma.c588 struct ecore_rdma_events *events; local
590 events = &p_hwfn->p_rdma_info->events;
592 events->unaffiliated_event = params->events->unaffiliated_event;
593 events->affiliated_event = params->events->affiliated_event;
594 events->context = params->events->context;
H A Decore_rdma_api.h209 struct ecore_rdma_events events; member in struct:ecore_rdma_device
334 struct ecore_rdma_events *events; member in struct:ecore_rdma_start_in_params
821 /* Slow/Error path events start from here */
899 iwarp_event_handler event_cb; /* Callback func for delivering events */
H A Decore_iov_api.h367 u64 *events);
784 static OSAL_INLINE void ecore_iov_pf_get_and_clear_pending_events(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u64 OSAL_UNUSED *events) {} argument
/freebsd-current/contrib/ntp/sntp/libevent/test/
H A Dregress.c481 short events = EV_CLOSED | (et ? EV_ET : 0) | (persist ? EV_PERSIST : 0); local
492 ev = event_new(base, pair[0], events, record_event_cb, &got_event);
516 tt_int_op(got_event, ==, (events & ~EV_PERSIST));
692 short events[16]; member in struct:persist_active_timeout_called
708 c->events[c->n] = event;
747 tt_int_op(res.events[0], ==, EV_READ);
748 tt_int_op(res.events[1], ==, EV_TIMEOUT);
749 tt_int_op(res.events[2], ==, EV_TIMEOUT);
852 /* Make sure we can free the base with some events in. */
873 fork_signal_cb(evutil_socket_t fd, short events, voi argument
[all...]
/freebsd-current/contrib/libevent/test/
H A Dregress.c481 short events = EV_CLOSED | (et ? EV_ET : 0) | (persist ? EV_PERSIST : 0); local
492 ev = event_new(base, pair[0], events, record_event_cb, &got_event);
516 tt_int_op(got_event, ==, (events & ~EV_PERSIST));
692 short events[16]; member in struct:persist_active_timeout_called
708 c->events[c->n] = event;
747 tt_int_op(res.events[0], ==, EV_READ);
748 tt_int_op(res.events[1], ==, EV_TIMEOUT);
749 tt_int_op(res.events[2], ==, EV_TIMEOUT);
852 /* Make sure we can free the base with some events in. */
873 fork_signal_cb(evutil_socket_t fd, short events, voi argument
[all...]
/freebsd-current/sys/dev/usb/
H A Dusb_dev.c1295 usb_poll(struct cdev* dev, int events, struct thread* td) argument
1305 return (events &
1312 if ((events & (POLLOUT | POLLWRNORM)) &&
1342 revents |= events & (POLLOUT | POLLWRNORM);
1350 if ((events & (POLLIN | POLLRDNORM)) &&
1380 revents |= events & (POLLIN | POLLRDNORM);
1433 * The queue is used for events that should be
1550 * The queue is used for events that should be
/freebsd-current/contrib/ntp/sntp/libevent/
H A Devdns.c234 char write_waiting; /* true if we are waiting for EV_WRITE events */
399 static void nameserver_ready_callback(evutil_socket_t fd, short events, void *arg);
414 static void server_port_ready_callback(evutil_socket_t fd, short events, void *arg);
419 static void evdns_request_timeout_callback(evutil_socket_t fd, short events, void *arg);
492 nameserver_prod_callback(evutil_socket_t fd, short events, void *arg) { argument
495 (void)events;
1471 /* We have no more pending requests; stop listening for 'writeable' events. */
1484 /* if waiting is true then we ask libevent for EV_WRITE events, otherwise */
1485 /* we stop these events. */
1509 nameserver_ready_callback(evutil_socket_t fd, short events, voi argument
1529 server_port_ready_callback(evutil_socket_t fd, short events, void *arg) argument
2177 evdns_request_timeout_callback(evutil_socket_t fd, short events, void *arg) argument
[all...]
/freebsd-current/contrib/libevent/
H A Devdns.c234 char write_waiting; /* true if we are waiting for EV_WRITE events */
399 static void nameserver_ready_callback(evutil_socket_t fd, short events, void *arg);
414 static void server_port_ready_callback(evutil_socket_t fd, short events, void *arg);
419 static void evdns_request_timeout_callback(evutil_socket_t fd, short events, void *arg);
492 nameserver_prod_callback(evutil_socket_t fd, short events, void *arg) { argument
495 (void)events;
1471 /* We have no more pending requests; stop listening for 'writeable' events. */
1484 /* if waiting is true then we ask libevent for EV_WRITE events, otherwise */
1485 /* we stop these events. */
1509 nameserver_ready_callback(evutil_socket_t fd, short events, voi argument
1529 server_port_ready_callback(evutil_socket_t fd, short events, void *arg) argument
2177 evdns_request_timeout_callback(evutil_socket_t fd, short events, void *arg) argument
[all...]
/freebsd-current/sys/dev/sfxge/common/
H A Defx_mac.c797 __in boolean_t events)
813 if ((rc = emop->emo_stats_periodic(enp, esmp, period_ms, events)) != 0)
793 efx_mac_stats_periodic( __in efx_nic_t *enp, __in efsys_mem_t *esmp, __in uint16_t period_ms, __in boolean_t events) argument
/freebsd-current/tools/regression/sockets/udp_pingpong/
H A Dudp_pingpong.c249 tcp->pfds[i].events = POLLIN;
294 tcp->pfds[i].events = POLLIN;
/freebsd-current/sys/kern/
H A Dtty.c648 ttydev_poll(struct cdev *dev, int events, struct thread *td) argument
655 return ((events & (POLLIN|POLLRDNORM)) | POLLHUP);
657 if (events & (POLLIN|POLLRDNORM)) {
660 revents |= events & (POLLIN|POLLRDNORM);
666 } else if (events & (POLLOUT|POLLWRNORM)) {
669 revents |= events & (POLLOUT|POLLWRNORM);
673 if (events & (POLLIN|POLLRDNORM))
675 if (events & (POLLOUT|POLLWRNORM))
/freebsd-current/crypto/openssh/
H A Dssh-keyscan.c434 read_wait[s].events = POLLIN;
458 read_wait[s].events = 0;
/freebsd-current/contrib/ntp/ntpd/
H A Drefclock_true.c151 const char *events[] = {"Init", "Huh", "F18", "F50", "F51", "Satellite", variable
153 #define eventStr(x) (((int)x<(int)e_Max) ? events[(int)x] : "?")
/freebsd-current/contrib/tnftp/
H A Dtnftp.h140 short events; member in struct:pollfd

Completed in 257 milliseconds

<<111213141516171819