Lines Matching defs:ev
224 dmsg (D_EVENT_WAIT, "WE_CTL n=%d ev=%p rwflags=0x%04x arg=" ptr_format,
354 dmsg (D_EVENT_WAIT, "[%d] ev=%p rwflags=0x%04x arg=" ptr_format,
497 struct epoll_event ev;
500 dmsg (D_EVENT_WAIT, "EP_DEL ev=%d", (int)event);
503 CLEAR (ev);
504 epoll_ctl (eps->epfd, EPOLL_CTL_DEL, event, &ev);
511 struct epoll_event ev;
513 CLEAR (ev);
515 ev.data.ptr = arg;
517 ev.events |= EPOLLIN;
519 ev.events |= EPOLLOUT;
521 dmsg (D_EVENT_WAIT, "EP_CTL fd=%d rwflags=0x%04x ev=0x%08x arg=" ptr_format,
524 (unsigned int)ev.events,
525 (ptr_type)ev.data.ptr);
527 if (epoll_ctl (eps->epfd, EPOLL_CTL_MOD, event, &ev) < 0)
531 if (epoll_ctl (eps->epfd, EPOLL_CTL_ADD, event, &ev) < 0)
554 const struct epoll_event *ev = eps->events;
559 if (ev->events & (EPOLLIN|EPOLLPRI|EPOLLERR|EPOLLHUP))
561 if (ev->events & EPOLLOUT)
563 esr->arg = ev->data.ptr;
564 dmsg (D_EVENT_WAIT, "EP_WAIT[%d] rwflags=0x%04x ev=0x%08x arg=" ptr_format,
565 i, esr->rwflags, ev->events, (ptr_type)ev->data.ptr);
566 ++ev;
648 dmsg (D_EVENT_WAIT, "PO_DEL ev=%d", (int)event);
698 dmsg (D_EVENT_WAIT, "PO_CTL rwflags=0x%04x ev=%d arg=" ptr_format,
848 dmsg (D_EVENT_WAIT, "SE_DEL ev=%d", (int)event);
866 dmsg (D_EVENT_WAIT, "SE_CTL rwflags=0x%04x ev=%d fast=%d cap=%d maxfd=%d arg=" ptr_format,