Home
last modified time | relevance | path

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

/external/libevent/
Dbufferevent_ratelim.c286 bufferevent_suspend_read(&bev->bev, BEV_SUSPEND_BW); in _bufferevent_decrement_read_buckets()
290 } else if (bev->read_suspended & BEV_SUSPEND_BW) { in _bufferevent_decrement_read_buckets()
291 if (!(bev->write_suspended & BEV_SUSPEND_BW)) in _bufferevent_decrement_read_buckets()
293 bufferevent_unsuspend_read(&bev->bev, BEV_SUSPEND_BW); in _bufferevent_decrement_read_buckets()
324 bufferevent_suspend_write(&bev->bev, BEV_SUSPEND_BW); in _bufferevent_decrement_write_buckets()
328 } else if (bev->write_suspended & BEV_SUSPEND_BW) { in _bufferevent_decrement_write_buckets()
329 if (!(bev->read_suspended & BEV_SUSPEND_BW)) in _bufferevent_decrement_write_buckets()
331 bufferevent_unsuspend_write(&bev->bev, BEV_SUSPEND_BW); in _bufferevent_decrement_write_buckets()
417 if ((bev->read_suspended & BEV_SUSPEND_BW)) { in _bev_refill_callback()
419 bufferevent_unsuspend_read(&bev->bev, BEV_SUSPEND_BW); in _bev_refill_callback()
[all …]
Dbufferevent-internal.h54 #define BEV_SUSPEND_BW 0x02 macro