Home
last modified time | relevance | path

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

/external/libevent/
Dbufferevent_ratelim.c285 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()
[all …]
Dbufferevent-internal.h149 struct event refill_bucket_event; member
Dbufferevent.c730 struct event *e = &bufev_private->rate_limiting->refill_bucket_event; in bufferevent_decref_and_unlock_()