Searched refs:curEpollEvent (Results 1 – 4 of 4) sorted by relevance
92 struct epoll_event *curEpollEvent; in MainLoop() local108 for (i = 0, curEpollEvent = &events[0]; i < nevents; ++i, curEpollEvent++) { in MainLoop()109 if (curEpollEvent->events & EPOLLHUP) { in MainLoop()111 HandleEventEpollHup(curEpollEvent); in MainLoop()114 if (curEpollEvent->events & EPOLLERR) { in MainLoop()118 if ((curEpollEvent->events & EPOLLPRI) && curEpollEvent->data.fd == kswapdMonitorFd_) { in MainLoop()125 void KswapdObserver::HandleEventEpollHup(struct epoll_event *curEpollEvent) in HandleEventEpollHup() argument127 if (epoll_ctl(epollfd_, EPOLL_CTL_DEL, curEpollEvent->data.fd, NULL) < 0) { in HandleEventEpollHup()130 if (curEpollEvent->data.fd >= 0) { in HandleEventEpollHup()131 close(curEpollEvent->data.fd); in HandleEventEpollHup()[all …]
153 struct epoll_event *curEpollEvent; in MainLoop() local167 for (i = 0, curEpollEvent = &events[0]; i < nevents; ++i, curEpollEvent++) { in MainLoop()168 if ((curEpollEvent->events & EPOLLHUP) && curEpollEvent->data.ptr) { in MainLoop()170 handlerInfo_ = (struct LevelHandler*)curEpollEvent->data.ptr; in MainLoop()175 if (curEpollEvent->events & EPOLLERR) in MainLoop()177 if (curEpollEvent->data.ptr) { in MainLoop()178 HandleEpollEvent(curEpollEvent); in MainLoop()184 void MemoryPressureObserver::HandleEpollEvent(struct epoll_event *curEpollEvent) in HandleEpollEvent() argument186 handlerInfo_ = (struct LevelHandler*)curEpollEvent->data.ptr; in HandleEpollEvent()188 handlerInfo_->handler(handlerInfo_->data, curEpollEvent->events); in HandleEpollEvent()
42 void HandleEventEpollHup(struct epoll_event *curEpollEvent);
90 void HandleEpollEvent(struct epoll_event *curEpollEvent);