Lines Matching refs:ev_flags
222 if (!(ev->ev_flags & EVLIST_INTERNAL)) { in event_base_free()
236 if (!(ev->ev_flags & EVLIST_INTERNAL)) { in event_base_free()
285 if (base->sig.ev_signal.ev_flags & EVLIST_ACTIVE) in event_reinit()
626 ev->ev_flags = EVLIST_INIT; in event_set()
641 if (ev->ev_flags != EVLIST_INIT) in event_base_set()
658 if (ev->ev_flags & EVLIST_ACTIVE) in event_priority_set()
678 if (ev->ev_flags & EVLIST_INSERTED) in event_pending()
680 if (ev->ev_flags & EVLIST_ACTIVE) in event_pending()
682 if (ev->ev_flags & EVLIST_TIMEOUT) in event_pending()
715 assert(!(ev->ev_flags & ~EVLIST_ALL)); in event_add()
721 if (tv != NULL && !(ev->ev_flags & EVLIST_TIMEOUT)) { in event_add()
728 !(ev->ev_flags & (EVLIST_INSERTED|EVLIST_ACTIVE))) { in event_add()
745 if (ev->ev_flags & EVLIST_TIMEOUT) in event_add()
751 if ((ev->ev_flags & EVLIST_ACTIVE) && in event_add()
795 assert(!(ev->ev_flags & ~EVLIST_ALL)); in event_del()
803 if (ev->ev_flags & EVLIST_TIMEOUT) in event_del()
806 if (ev->ev_flags & EVLIST_ACTIVE) in event_del()
809 if (ev->ev_flags & EVLIST_INSERTED) { in event_del()
821 if (ev->ev_flags & EVLIST_ACTIVE) { in event_active()
930 if (!(ev->ev_flags & queue)) in event_queue_remove()
934 if (~ev->ev_flags & EVLIST_INTERNAL) in event_queue_remove()
937 ev->ev_flags &= ~queue; in event_queue_remove()
958 if (ev->ev_flags & queue) { in event_queue_insert()
967 if (~ev->ev_flags & EVLIST_INTERNAL) in event_queue_insert()
970 ev->ev_flags |= queue; in event_queue_insert()