Searched defs:events (Results 151 - 175 of 220) sorted by last modified time

123456789

/freebsd-head/sys/x86/acpica/
H A Dacpi_apm.c390 apmpoll(struct cdev *dev, int events, struct thread *td) argument
399 revents |= events & (POLLIN | POLLRDNORM);
/freebsd-head/usr.bin/calendar/
H A Ddates.c66 struct event *events; member in struct:cal_day
384 *e = d->events;
389 *e = d->events;
395 *e = d->events;
402 *e = d->events;
451 e->next = d->events;
452 d->events = e;
/freebsd-head/usr.sbin/apmd/
H A Dapmd.c68 struct event_config events[EVENT_MAX] = { variable in typeref:struct:event_config
85 * List of battery events
267 p = events[n].cmdlist;
275 events[n].cmdlist = q;
344 /* enable events */
346 if (events[i].cmdlist) {
363 if ((p = events[i].cmdlist)) {
364 fprintf(stderr, "apm_event %s {\n", events[i].name);
397 /* disable events */
399 if (events[
[all...]
/freebsd-head/sys/dev/firewire/
H A Dfwdev.c822 fw_poll(struct cdev *dev, int events, fw_proc *td) argument
829 return fwmem_poll(dev, events, td);
834 if (events & tmp) {
841 if (events & tmp) {
/freebsd-head/contrib/ofed/librdmacm/
H A Dpreload.c901 rfds[i].events = fds[i].events;
916 int fd, events, i = 0; local
919 events = (readfds && FD_ISSET(fd, readfds)) ? POLLIN : 0;
921 events |= POLLOUT;
923 if (events || (exceptfds && FD_ISSET(fd, exceptfds))) {
925 fds[i++].events = events;
H A Drsocket.c1536 event.events = EPOLLIN;
2943 static int rs_poll_rs(struct rsocket *rs, int events, argument
2956 if ((events & POLLIN) && rs_conn_have_rdata(rs))
2958 if ((events & POLLOUT) && rs_can_send(rs))
2972 if ((events & POLLIN) && rs_have_rdata(rs))
2974 if ((events & POLLOUT) && ds_can_send(rs))
2982 fds.events = events;
2999 if (events & POLLOUT)
3001 if (events
[all...]
/freebsd-head/contrib/ofed/opensm/include/complib/
H A Dcl_threadpool.h98 unsigned events; member in struct:_cl_thread_pool
114 * events
115 * events counter
/freebsd-head/lib/libthread_db/
H A Dlibthr_db.c333 pt_ta_set_event(const td_thragent_t *ta, td_thr_events_t *events) argument
343 mask |= *events;
350 pt_ta_clear_event(const td_thragent_t *ta, td_thr_events_t *events) argument
360 mask &= ~*events;
H A Dthread_db.c71 td_ta_clear_event(const td_thragent_t *ta, td_thr_events_t *events) argument
73 return (ta->ta_ops->to_ta_clear_event(ta, events));
124 td_ta_set_event(const td_thragent_t *ta, td_thr_events_t *events) argument
126 return (ta->ta_ops->to_ta_set_event(ta, events));
146 td_thr_clear_event(const td_thrhandle_t *th, td_thr_events_t *events) argument
149 return (ta->ta_ops->to_thr_clear_event(th, events));
220 td_thr_set_event(const td_thrhandle_t *th, td_thr_events_t *events) argument
223 return (ta->ta_ops->to_thr_set_event(th, events));
/freebsd-head/lib/libusb/
H A Dlibusb.h263 short events; member in struct:libusb_pollfd
279 typedef void (*libusb_pollfd_added_cb) (int fd, short events, void *user_data);
564 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);
/freebsd-head/share/examples/scsi_target/
H A Dscsi_target.c402 struct kevent events[MAX_EVENTS]; local
410 /* Set up some default events */
411 EV_SET(&events[0], SIGHUP, EVFILT_SIGNAL, EV_ADD|EV_ENABLE, 0, 0, 0);
412 EV_SET(&events[1], SIGINT, EVFILT_SIGNAL, EV_ADD|EV_ENABLE, 0, 0, 0);
413 EV_SET(&events[2], SIGTERM, EVFILT_SIGNAL, EV_ADD|EV_ENABLE, 0, 0, 0);
414 EV_SET(&events[3], targ_fd, EVFILT_READ, EV_ADD|EV_ENABLE, 0, 0, 0);
415 if (kevent(kq_fd, events, 4, NULL, 0, NULL) < 0)
429 retval = kevent(kq_fd, NULL, 0, events, MAX_EVENTS, tptr);
440 errx(1, "kevent returned more events than allocated?");
443 /* Process all received events
[all...]
/freebsd-head/sys/kern/
H A Dsubr_log.c183 logpoll(struct cdev *dev, int events, struct thread *td) argument
187 if (events & (POLLIN | POLLRDNORM)) {
190 revents |= events & (POLLIN | POLLRDNORM);
/freebsd-head/sys/contrib/ncsw/Peripherals/FM/MACSEC/
H A Dfm_macsec_master.c73 uint32_t events,event,i; local
77 events = GET_UINT32(p_FmMacsec->p_FmMacsecRegs->evr);
78 events |= GET_UINT32(p_FmMacsec->p_FmMacsecRegs->ever);
79 WRITE_UINT32(p_FmMacsec->p_FmMacsecRegs->evr,events);
82 if (events & FM_MACSEC_EV_TX_SC_NEXT_PN(i))
956 p_FmMacsec->events |= bitMask;
958 p_FmMacsec->events &= ~bitMask;
963 WRITE_UINT32(p_FmMacsec->p_FmMacsecRegs->ever, p_FmMacsec->events);
1004 p_FmMacsec->events = DEFAULT_events;
H A Dfm_macsec_master.h463 uint32_t events; member in struct:__anon56
H A Dfm_macsec_secy.h134 uint32_t events; member in struct:__anon62
/freebsd-head/sys/contrib/ncsw/Peripherals/FM/Pcd/
H A Dfman_kg.c305 /* clear the forced events */
399 uint32_t *events,
405 *events = ioread32be(&regs->fmkg_eer);
407 *events &= mask;
411 if (*events & FM_EX_KG_KEYSIZE_OVERFLOW) {
419 iowrite32be(*events, &regs->fmkg_eer);
398 fman_kg_get_exception(struct fman_kg_regs *regs, uint32_t *events, uint32_t *scheme_ids, bool clear) argument
/freebsd-head/sys/contrib/ncsw/Peripherals/FM/Rtc/
H A Dfm_rtc.c96 register uint32_t events; local
101 events = fman_rtc_check_and_clear_event(p_MemMap);
102 if (events & FMAN_RTC_TMR_TEVENT_ALM1)
112 if (events & FMAN_RTC_TMR_TEVENT_ALM2)
122 if (events & FMAN_RTC_TMR_TEVENT_PP1)
127 if (events & FMAN_RTC_TMR_TEVENT_PP2)
132 if (events & FMAN_RTC_TMR_TEVENT_ETS1)
137 if (events & FMAN_RTC_TMR_TEVENT_ETS2)
666 t_Error FM_RTC_EnableInterrupt(t_Handle h_FmRtc, uint32_t events) argument
674 fman_rtc_enable_interupt(p_Rtc->p_MemMap, events);
680 FM_RTC_DisableInterrupt(t_Handle h_FmRtc, uint32_t events) argument
[all...]
H A Dfman_rtc.c68 void fman_rtc_ack_event(struct rtc_regs *regs, uint32_t events) argument
70 iowrite32be(events, &regs->tmr_tevent);
95 void fman_rtc_enable_interupt(struct rtc_regs *regs, uint32_t events) argument
97 fman_rtc_set_interrupt_mask(regs, fman_rtc_get_interrupt_mask(regs) | events);
100 void fman_rtc_disable_interupt(struct rtc_regs *regs, uint32_t events) argument
102 fman_rtc_set_interrupt_mask(regs, fman_rtc_get_interrupt_mask(regs) & ~events);
/freebsd-head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dltm.c52 const TValue *luaT_gettm (Table *events, TMS event, TString *ename) { argument
53 const TValue *tm = luaH_getstr(events, ename);
56 events->flags |= cast_byte(1u<<event); /* cache this fact */
/freebsd-head/sys/dev/hyperv/utilities/
H A Dhv_kvp.c823 hv_kvp_dev_daemon_poll(struct cdev *dev, int events, struct thread *td) argument
H A Dhv_snapshot.c591 hv_vss_dev_daemon_poll(struct cdev *dev, int events, struct thread *td) argument
671 hv_appvss_dev_poll(struct cdev *dev, int events, struct thread *td) argument
/freebsd-head/usr.sbin/ypldap/
H A Dldapclient.c153 client_dispatch_dns(int fd, short events, void *p) argument
167 if ((events & (EV_READ | EV_WRITE)) == 0)
170 if (events & EV_READ) {
176 if (events & EV_WRITE) {
254 client_dispatch_parent(int fd, short events, void *p) argument
263 if ((events & (EV_READ | EV_WRITE)) == 0)
266 if (events & EV_READ) {
272 if (events & EV_WRITE) {
410 env.sc_iev->events = EV_READ;
414 event_set(&env.sc_iev->ev, env.sc_iev->ibuf.fd, env.sc_iev->events,
[all...]
H A Dypldap_dns.c112 env.sc_iev->events = EV_READ;
116 event_set(&env.sc_iev->ev, env.sc_iev->ibuf.fd, env.sc_iev->events,
127 dns_dispatch_imsg(int fd, short events, void *p) argument
140 if ((events & (EV_READ | EV_WRITE)) == 0)
143 if (events & EV_READ) {
149 if (events & EV_WRITE) {
/freebsd-head/crypto/openssh/openbsd-compat/
H A Dbsd-poll.h36 short events; member in struct:pollfd
/freebsd-head/contrib/ntp/lib/isc/
H A Dtask.c52 * an integrated event loop for socket, timer, and other generic task events.
111 isc_eventlist_t events; member in struct:isc__task
204 isc_eventlist_t *events);
207 void *tag, isc_eventlist_t *events);
300 REQUIRE(EMPTY(task->events));
354 INIT_LIST(task->events);
427 INSIST(EMPTY(task->events));
435 * Note that we post shutdown events LIFO.
442 ENQUEUE(task->events, event, ev_link);
488 INSIST(EMPTY(task->events));
638 dequeue_events(isc__task_t *task, void *sender, isc_eventtype_t first, isc_eventtype_t last, void *tag, isc_eventlist_t *events, isc_boolean_t purging) argument
683 isc_eventlist_t events; local
766 isc__task_unsendrange(isc_task_t *task, void *sender, isc_eventtype_t first, isc_eventtype_t last, void *tag, isc_eventlist_t *events) argument
781 isc__task_unsend(isc_task_t *task, void *sender, isc_eventtype_t type, void *tag, isc_eventlist_t *events) argument
[all...]

Completed in 154 milliseconds

123456789