Lines Matching refs:eventItem
452 struct epoll_event eventItem; in InputHub() local
453 memset(&eventItem, 0, sizeof(eventItem)); in InputHub()
454 eventItem.events = EPOLLIN; in InputHub()
456 eventItem.events |= EPOLLWAKEUP; in InputHub()
458 eventItem.data.u32 = mINotifyFd; in InputHub()
459 int result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mINotifyFd, &eventItem); in InputHub()
469 eventItem.data.u32 = mWakeEventFd; in InputHub()
470 result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mWakeEventFd, &eventItem); in InputHub()
556 const struct epoll_event& eventItem = pendingEventItems[i]; in poll() local
558 int dataFd = static_cast<int>(eventItem.data.u32); in poll()
560 if (eventItem.events & EPOLLIN) { in poll()
563 ALOGW("Received unexpected epoll event 0x%08x for INotify.", eventItem.events); in poll()
569 if (eventItem.events & EPOLLIN) { in poll()
578 eventItem.events); in poll()
594 if (eventItem.events & EPOLLIN) { in poll()
622 } else if (eventItem.events & EPOLLHUP) { in poll()
627 eventItem.events, inputFd); in poll()
750 struct epoll_event eventItem{}; in openNode() struct
751 eventItem.events = EPOLLIN; in openNode()
753 eventItem.events |= EPOLLWAKEUP; in openNode()
755 eventItem.data.u32 = fd; in openNode()
756 if (epoll_ctl(mEpollFd, EPOLL_CTL_ADD, fd, &eventItem)) { in openNode()