Lines Matching refs:ev_base
1743 ev->ev_base = base; in event_assign()
1791 ev->ev_base = base; in event_base_set()
1854 if (pri < 0 || pri >= ev->ev_base->nactivequeues) in event_priority_set()
1871 if (EVUTIL_FAILURE_CHECK(ev->ev_base == NULL)) { in event_pending()
1876 EVBASE_ACQUIRE_LOCK(ev->ev_base, th_base_lock); in event_pending()
1894 evutil_timeradd(&ev->ev_base->tv_clock_diff, &tmp, tv); in event_pending()
1900 EVBASE_RELEASE_LOCK(ev->ev_base, th_base_lock); in event_pending()
1920 *base_out = event->ev_base; in event_get_assignment()
1948 return ev->ev_base; in event_get_base()
1977 if (EVUTIL_FAILURE_CHECK(!ev->ev_base)) { in event_add()
1982 EVBASE_ACQUIRE_LOCK(ev->ev_base, th_base_lock); in event_add()
1986 EVBASE_RELEASE_LOCK(ev->ev_base, th_base_lock); in event_add()
2048 struct event_base *base = ev->ev_base; in event_add_internal()
2199 if (EVUTIL_FAILURE_CHECK(!ev->ev_base)) { in event_del()
2204 EVBASE_ACQUIRE_LOCK(ev->ev_base, th_base_lock); in event_del()
2208 EVBASE_RELEASE_LOCK(ev->ev_base, th_base_lock); in event_del()
2224 if (ev->ev_base == NULL) in event_del_internal()
2227 EVENT_BASE_ASSERT_LOCKED(ev->ev_base); in event_del_internal()
2234 base = ev->ev_base; in event_del_internal()
2291 if (EVUTIL_FAILURE_CHECK(!ev->ev_base)) { in event_active()
2296 EVBASE_ACQUIRE_LOCK(ev->ev_base, th_base_lock); in event_active()
2302 EVBASE_RELEASE_LOCK(ev->ev_base, th_base_lock); in event_active()
2321 base = ev->ev_base; in event_active_nolock()