Lines Matching refs:eventItem
466 struct epoll_event eventItem; in InputHub() local
467 memset(&eventItem, 0, sizeof(eventItem)); in InputHub()
468 eventItem.events = EPOLLIN; in InputHub()
470 eventItem.events |= EPOLLWAKEUP; in InputHub()
472 eventItem.data.u32 = mINotifyFd; in InputHub()
473 int result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mINotifyFd, &eventItem); in InputHub()
483 eventItem.data.u32 = mWakeEventFd; in InputHub()
484 result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mWakeEventFd, &eventItem); in InputHub()
570 const struct epoll_event& eventItem = pendingEventItems[i]; in poll() local
572 int dataFd = static_cast<int>(eventItem.data.u32); in poll()
574 if (eventItem.events & EPOLLIN) { in poll()
577 ALOGW("Received unexpected epoll event 0x%08x for INotify.", eventItem.events); in poll()
583 if (eventItem.events & EPOLLIN) { in poll()
592 eventItem.events); in poll()
608 if (eventItem.events & EPOLLIN) { in poll()
636 } else if (eventItem.events & EPOLLHUP) { in poll()
641 eventItem.events, inputFd); in poll()
765 struct epoll_event eventItem{}; in openNode() struct
766 eventItem.events = EPOLLIN; in openNode()
768 eventItem.events |= EPOLLWAKEUP; in openNode()
770 eventItem.data.u32 = fd; in openNode()
771 if (epoll_ctl(mEpollFd, EPOLL_CTL_ADD, fd, &eventItem)) { in openNode()