Lines Matching refs:refill_bucket_event
285 if (event_add(&bev->rate_limiting->refill_bucket_event, in bufferevent_decrement_read_buckets_()
290 event_del(&bev->rate_limiting->refill_bucket_event); in bufferevent_decrement_read_buckets_()
323 if (event_add(&bev->rate_limiting->refill_bucket_event, in bufferevent_decrement_write_buckets_()
328 event_del(&bev->rate_limiting->refill_bucket_event); in bufferevent_decrement_write_buckets_()
435 event_add(&bev->rate_limiting->refill_bucket_event, in bev_refill_callback_()
579 if (event_initialized(&rlim->refill_bucket_event)) in bufferevent_set_rate_limit()
580 event_del(&rlim->refill_bucket_event); in bufferevent_set_rate_limit()
608 EVUTIL_ASSERT(event_initialized(&rlim->refill_bucket_event)); in bufferevent_set_rate_limit()
609 event_del(&rlim->refill_bucket_event); in bufferevent_set_rate_limit()
611 event_assign(&rlim->refill_bucket_event, bev->ev_base, in bufferevent_set_rate_limit()
628 event_add(&rlim->refill_bucket_event, &cfg->tick_timeout); in bufferevent_set_rate_limit()
749 event_assign(&rlim->refill_bucket_event, bev->ev_base, in bufferevent_add_to_rate_limit_group()
982 if (event_add(&bevp->rate_limiting->refill_bucket_event, in bufferevent_decrement_read_limit()
987 event_del(&bevp->rate_limiting->refill_bucket_event); in bufferevent_decrement_read_limit()
1011 if (event_add(&bevp->rate_limiting->refill_bucket_event, in bufferevent_decrement_write_limit()
1016 event_del(&bevp->rate_limiting->refill_bucket_event); in bufferevent_decrement_write_limit()