Searched refs:bevp (Results 1 – 5 of 5) sorted by relevance
563 struct bufferevent_private *bevp = in bufferevent_set_rate_limit() local575 if (bevp->rate_limiting) { in bufferevent_set_rate_limit()576 rlim = bevp->rate_limiting; in bufferevent_set_rate_limit()590 if (bevp->rate_limiting && bevp->rate_limiting->cfg == cfg) { in bufferevent_set_rate_limit()595 if (bevp->rate_limiting == NULL) { in bufferevent_set_rate_limit()599 bevp->rate_limiting = rlim; in bufferevent_set_rate_limit()601 rlim = bevp->rate_limiting; in bufferevent_set_rate_limit()613 -1, EV_FINALIZE, bev_refill_callback_, bevp); in bufferevent_set_rate_limit()740 struct bufferevent_private *bevp = in bufferevent_add_to_rate_limit_group() local744 if (!bevp->rate_limiting) { in bufferevent_add_to_rate_limit_group()[all …]
305 #define BEV_IS_SOCKET(bevp) ((bevp)->be_ops == &bufferevent_ops_socket) argument306 #define BEV_IS_FILTER(bevp) ((bevp)->be_ops == &bufferevent_ops_filter) argument307 #define BEV_IS_PAIR(bevp) ((bevp)->be_ops == &bufferevent_ops_pair) argument311 #define BEV_IS_ASYNC(bevp) ((bevp)->be_ops == &bufferevent_ops_async) argument313 #define BEV_IS_ASYNC(bevp) 0 argument
71 struct bufferevent_pair *bevp; in incref_and_lock() local73 bevp = upcast(b); in incref_and_lock()74 if (bevp->partner) in incref_and_lock()75 bufferevent_incref_and_lock_(downcast(bevp->partner)); in incref_and_lock()81 struct bufferevent_pair *bevp = upcast(b); in decref_and_unlock() local82 if (bevp->partner) in decref_and_unlock()83 bufferevent_decref_and_unlock_(downcast(bevp->partner)); in decref_and_unlock()
211 #define SCHEDULE_DEFERRED(bevp) \ argument214 (bevp)->bev.ev_base, \215 &(bevp)->deferred)) \216 bufferevent_incref_(&(bevp)->bev); \
509 struct bufferevent **bevp = ctx; in bufferevent_output_filter() local524 if (bevp && test_ok == 1) { in bufferevent_output_filter()526 bufferevent_write(*bevp, "-", 1); in bufferevent_output_filter()