Lines Matching refs:ev_events
116 assert(ev->ev_events & EV_READ); in poll_check_ok()
122 assert(ev->ev_events & EV_WRITE); in poll_check_ok()
193 if (r_ev && (res & r_ev->ev_events)) { in poll_dispatch()
194 event_active(r_ev, res & r_ev->ev_events, 1); in poll_dispatch()
196 if (w_ev && w_ev != r_ev && (res & w_ev->ev_events)) { in poll_dispatch()
197 event_active(w_ev, res & w_ev->ev_events, 1); in poll_dispatch()
211 if (ev->ev_events & EV_SIGNAL) in poll_add()
213 if (!(ev->ev_events & (EV_READ|EV_WRITE))) in poll_add()
292 if (ev->ev_events & EV_WRITE) { in poll_add()
296 if (ev->ev_events & EV_READ) { in poll_add()
316 if (ev->ev_events & EV_SIGNAL) in poll_del()
319 if (!(ev->ev_events & (EV_READ|EV_WRITE))) in poll_del()
329 if (ev->ev_events & EV_READ) { in poll_del()
333 if (ev->ev_events & EV_WRITE) { in poll_del()