Searched refs:bevf (Results 1 – 2 of 2) sorted by relevance
135 be_underlying_writebuf_full(struct bufferevent_filtered *bevf, in be_underlying_writebuf_full() argument138 struct bufferevent *u = bevf->underlying; in be_underlying_writebuf_full()147 be_readbuf_full(struct bufferevent_filtered *bevf, in be_readbuf_full() argument150 struct bufferevent *bufev = downcast(bevf); in be_readbuf_full()231 struct bufferevent_filtered *bevf = upcast(bev); in be_filter_unlink() local232 EVUTIL_ASSERT(bevf); in be_filter_unlink()234 if (bevf->bev.options & BEV_OPT_CLOSE_ON_FREE) { in be_filter_unlink()240 if (BEV_UPCAST(bevf->underlying)->refcnt < 2) { in be_filter_unlink()244 bufferevent_free(bevf->underlying); in be_filter_unlink()247 if (bevf->underlying) { in be_filter_unlink()[all …]
1206 struct bufferevent *bev = NULL, *bevf = NULL; in test_bufferevent_socket_filter_inactive() local1210 bevf = bufferevent_filter_new(bev, NULL, NULL, 0, NULL, NULL); in test_bufferevent_socket_filter_inactive()1211 tt_assert(bevf); in test_bufferevent_socket_filter_inactive()1214 if (bevf) in test_bufferevent_socket_filter_inactive()1215 bufferevent_free(bevf); in test_bufferevent_socket_filter_inactive()