Lines Matching refs:eventItem

217     struct epoll_event eventItem;  in EventHub()  local
218 memset(&eventItem, 0, sizeof(eventItem)); in EventHub()
219 eventItem.events = EPOLLIN; in EventHub()
220 eventItem.data.u32 = EPOLL_ID_INOTIFY; in EventHub()
221 result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mINotifyFd, &eventItem); in EventHub()
239 eventItem.data.u32 = EPOLL_ID_WAKE; in EventHub()
240 result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mWakeReadPipeFd, &eventItem); in EventHub()
813 const struct epoll_event& eventItem = mPendingEventItems[mPendingEventIndex++]; in getEvents() local
814 if (eventItem.data.u32 == EPOLL_ID_INOTIFY) { in getEvents()
815 if (eventItem.events & EPOLLIN) { in getEvents()
818 ALOGW("Received unexpected epoll event 0x%08x for INotify.", eventItem.events); in getEvents()
823 if (eventItem.data.u32 == EPOLL_ID_WAKE) { in getEvents()
824 if (eventItem.events & EPOLLIN) { in getEvents()
834 eventItem.events); in getEvents()
839 ssize_t deviceIndex = mDevices.indexOfKey(eventItem.data.u32); in getEvents()
842 eventItem.events, eventItem.data.u32); in getEvents()
847 if (eventItem.events & EPOLLIN) { in getEvents()
963 } else if (eventItem.events & EPOLLHUP) { in getEvents()
970 eventItem.events, device->identifier.name.string()); in getEvents()
1086 struct epoll_event eventItem; in registerDeviceForEpollLocked() local
1087 memset(&eventItem, 0, sizeof(eventItem)); in registerDeviceForEpollLocked()
1088 eventItem.events = EPOLLIN; in registerDeviceForEpollLocked()
1090 eventItem.events |= EPOLLWAKEUP; in registerDeviceForEpollLocked()
1092 eventItem.data.u32 = device->id; in registerDeviceForEpollLocked()
1093 if (epoll_ctl(mEpollFd, EPOLL_CTL_ADD, device->fd, &eventItem)) { in registerDeviceForEpollLocked()