Home
last modified time | relevance | path

Searched refs:BEV_SUSPEND_BW (Results 1 – 2 of 2) sorted by relevance

/external/libevent/
Dbufferevent_ratelim.c284 bufferevent_suspend_read_(&bev->bev, BEV_SUSPEND_BW); in bufferevent_decrement_read_buckets_()
288 } else if (bev->read_suspended & BEV_SUSPEND_BW) { in bufferevent_decrement_read_buckets_()
289 if (!(bev->write_suspended & BEV_SUSPEND_BW)) in bufferevent_decrement_read_buckets_()
291 bufferevent_unsuspend_read_(&bev->bev, BEV_SUSPEND_BW); in bufferevent_decrement_read_buckets_()
322 bufferevent_suspend_write_(&bev->bev, BEV_SUSPEND_BW); in bufferevent_decrement_write_buckets_()
326 } else if (bev->write_suspended & BEV_SUSPEND_BW) { in bufferevent_decrement_write_buckets_()
327 if (!(bev->read_suspended & BEV_SUSPEND_BW)) in bufferevent_decrement_write_buckets_()
329 bufferevent_unsuspend_write_(&bev->bev, BEV_SUSPEND_BW); in bufferevent_decrement_write_buckets_()
415 if ((bev->read_suspended & BEV_SUSPEND_BW)) { in bev_refill_callback_()
417 bufferevent_unsuspend_read_(&bev->bev, BEV_SUSPEND_BW); in bev_refill_callback_()
[all …]
Dbufferevent-internal.h67 #define BEV_SUSPEND_BW 0x02 macro