Home | History | Annotate | Download | only in utils

Lines Matching refs:ev

428     struct epoll_event ev;
429 memset(&ev, 0, sizeof(ev));
431 ev.events = EPOLLIN | EPOLLWAKEUP;
432 ev.data.fd = timerContainer.getTimerFd();
436 ev.data.ptr = &timerContainer;
438 epoll_ctl(mFd, EPOLL_CTL_ADD, timerContainer.getTimerFd(), &ev);
449 struct epoll_event ev[2];
452 int fds = epoll_wait(mFd, ev, 2, -1);
461 LocTimerContainer* container = (LocTimerContainer*)(ev[i].data.ptr);
465 epoll_ctl(mFd, EPOLL_CTL_DEL, ev[i].data.fd, NULL);