Lines Matching refs:bev_p
56 struct bufferevent_pair *bev_p;
59 bev_p = EVUTIL_UPCAST(bev, struct bufferevent_pair, bev.bev);
60 EVUTIL_ASSERT(bev_p->bev.bev.be_ops == &bufferevent_ops_pair);
61 return bev_p;
232 struct bufferevent_pair *bev_p = upcast(bufev);
233 struct bufferevent_pair *partner = bev_p->partner;
245 be_pair_wants_to_talk(partner, bev_p)) {
250 be_pair_wants_to_talk(bev_p, partner)) {
271 struct bufferevent_pair *bev_p = upcast(bev);
273 if (bev_p->partner) {
274 bev_p->partner->partner = NULL;
275 bev_p->partner = NULL;
285 struct bufferevent_pair *bev_p = upcast(bev);
288 if (!bev_p->partner)
291 partner = downcast(bev_p->partner);
312 struct bufferevent_pair *bev_p;
314 bev_p = upcast(bev);
315 if (! bev_p)
319 if (bev_p->partner)
320 partner = downcast(bev_p->partner);