Home
last modified time | relevance | path

Searched refs:bev_pair (Results 1 – 1 of 1) sorted by relevance

/external/libevent/
Dbufferevent_pair.c64 #define downcast(bev_pair) (&(bev_pair)->bev.bev) argument
213 struct bufferevent_pair *bev_pair = arg; in be_pair_outbuf_cb() local
214 struct bufferevent_pair *partner = bev_pair->partner; in be_pair_outbuf_cb()
216 incref_and_lock(downcast(bev_pair)); in be_pair_outbuf_cb()
221 if (be_pair_wants_to_talk(bev_pair, partner)) { in be_pair_outbuf_cb()
222 be_pair_transfer(downcast(bev_pair), downcast(partner), 0); in be_pair_outbuf_cb()
226 decref_and_unlock(downcast(bev_pair)); in be_pair_outbuf_cb()