Lines Matching defs:events

56 	uint16				events;
72 virtual status_t Notify(select_info* info, uint16 events);
217 if (resultEvents ? fds[i].revents : fds[i].events)
228 uint16 events = resultEvents ? fds->revents : fds->events;
229 if (events != 0) {
231 fEntries[i].events = events;
268 if ((fEntries[i].events & kEventNames[k].event) != 0) {
284 uint16 events;
422 wait_for_objects_sync::Notify(select_info* info, uint16 events)
427 atomic_or(&info->events, events);
429 // only wake up the waiting select()/poll() call if the events
431 if (info->selected_events & events)
471 sync->set[fd].events = 0;
516 PRINT(("common_select(): events deselected\n"));
518 // collect the events that have happened in the meantime
530 // Clear sets to store the received events
539 if (readSet && sync->set[fd].events & (SELECT_FLAG(B_SELECT_READ)
545 && sync->set[fd].events & (SELECT_FLAG(B_SELECT_WRITE)
551 && sync->set[fd].events & SELECT_FLAG(B_SELECT_ERROR)) {
586 // initialize events masks
587 sync->set[i].selected_events = fds[i].events
589 sync->set[i].events = 0;
593 sync->set[i].events = POLLNVAL;
627 // collect the events that have happened in the meantime
637 fds[i].revents = sync->set[i].events
678 // initialize events masks
679 sync->set[i].selected_events = infos[i].events
681 sync->set[i].events = 0;
682 infos[i].events = 0;
685 sync->set[i].events = B_EVENT_INVALID;
686 infos[i].events = B_EVENT_INVALID;
702 if ((infos[i].events & B_EVENT_INVALID) == 0)
706 // collect the events that have happened in the meantime
711 infos[i].events = sync->set[i].events
713 if (infos[i].events != 0)
731 notify_select_events(select_info* info, uint16 events)
734 events));
739 return info->sync->Notify(info, events);
744 notify_select_events_list(select_info* list, uint16 events)
749 notify_select_events(info, events);
794 entry->events = 0;
799 entry->events |= SELECT_FLAG(event);
847 entry->events &= ~SELECT_FLAG(event);
850 if (entry->events == 0) {
896 if (entry->events & SELECT_FLAG(event))