Lines Matching refs:BEV_SUSPEND_BW
286 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()
423 if ((bev->write_suspended & BEV_SUSPEND_BW)) { in _bev_refill_callback()
425 bufferevent_unsuspend_write(&bev->bev, BEV_SUSPEND_BW); in _bev_refill_callback()
577 bufferevent_unsuspend_read(bev, BEV_SUSPEND_BW); in bufferevent_set_rate_limit()
578 bufferevent_unsuspend_write(bev, BEV_SUSPEND_BW); in bufferevent_set_rate_limit()
615 bufferevent_unsuspend_read(bev, BEV_SUSPEND_BW); in bufferevent_set_rate_limit()
617 bufferevent_suspend_read(bev, BEV_SUSPEND_BW); in bufferevent_set_rate_limit()
621 bufferevent_unsuspend_write(bev, BEV_SUSPEND_BW); in bufferevent_set_rate_limit()
623 bufferevent_suspend_write(bev, BEV_SUSPEND_BW); in bufferevent_set_rate_limit()
913 bufferevent_suspend_read(bev, BEV_SUSPEND_BW); in bufferevent_decrement_read_limit()
918 if (!(bevp->write_suspended & BEV_SUSPEND_BW)) in bufferevent_decrement_read_limit()
920 bufferevent_unsuspend_read(bev, BEV_SUSPEND_BW); in bufferevent_decrement_read_limit()
942 bufferevent_suspend_write(bev, BEV_SUSPEND_BW); in bufferevent_decrement_write_limit()
947 if (!(bevp->read_suspended & BEV_SUSPEND_BW)) in bufferevent_decrement_write_limit()
949 bufferevent_unsuspend_write(bev, BEV_SUSPEND_BW); in bufferevent_decrement_write_limit()