Lines Matching refs:evbase
186 base->evbase = NULL; in event_base_new()
187 for (i = 0; eventops[i] && !base->evbase; i++) { in event_base_new()
190 base->evbase = base->evsel->init(base); in event_base_new()
193 if (base->evbase == NULL) in event_base_new()
249 base->evsel->dealloc(base, base->evbase); in event_base_free()
271 void *evbase = base->evbase; in event_reinit() local
292 base->evsel->dealloc(base, base->evbase); in event_reinit()
293 evbase = base->evbase = evsel->init(base); in event_reinit()
294 if (base->evbase == NULL) in event_reinit()
299 if (evsel->add(evbase, ev) == -1) in event_reinit()
468 void *evbase = base->evbase; in event_base_loop() local
516 res = evsel->dispatch(base, evbase, tv_p); in event_base_loop()
704 void *evbase = base->evbase; in event_add() local
729 res = evsel->add(evbase, ev); in event_add()
782 void *evbase; in event_del() local
793 evbase = base->evbase; in event_del()
811 return (evsel->del(evbase, ev)); in event_del()