Home
last modified time | relevance | path

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

/external/libevent/
Dbufferevent_ratelim.c287 if (event_add(&bev->rate_limiting->refill_bucket_event, in _bufferevent_decrement_read_buckets()
292 event_del(&bev->rate_limiting->refill_bucket_event); in _bufferevent_decrement_read_buckets()
325 if (event_add(&bev->rate_limiting->refill_bucket_event, in _bufferevent_decrement_write_buckets()
330 event_del(&bev->rate_limiting->refill_bucket_event); in _bufferevent_decrement_write_buckets()
437 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 evtimer_assign(&rlim->refill_bucket_event, bev->ev_base, in bufferevent_set_rate_limit()
[all …]
Dbufferevent.c634 if (event_initialized(&bufev_private->rate_limiting->refill_bucket_event)) in _bufferevent_decref_and_unlock()
635 event_del(&bufev_private->rate_limiting->refill_bucket_event); in _bufferevent_decref_and_unlock()
636 event_debug_unassign(&bufev_private->rate_limiting->refill_bucket_event); in _bufferevent_decref_and_unlock()
Dbufferevent-internal.h132 struct event refill_bucket_event; member