Home
last modified time | relevance | path

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

/external/libevent/
Dbufferevent.c69 struct bufferevent_private *bufev_private = BEV_UPCAST(bufev); in bufferevent_suspend_read_() local
71 if (!bufev_private->read_suspended) in bufferevent_suspend_read_()
73 bufev_private->read_suspended |= what; in bufferevent_suspend_read_()
80 struct bufferevent_private *bufev_private = BEV_UPCAST(bufev); in bufferevent_unsuspend_read_() local
82 bufev_private->read_suspended &= ~what; in bufferevent_unsuspend_read_()
83 if (!bufev_private->read_suspended && (bufev->enabled & EV_READ)) in bufferevent_unsuspend_read_()
91 struct bufferevent_private *bufev_private = BEV_UPCAST(bufev); in bufferevent_suspend_write_() local
93 if (!bufev_private->write_suspended) in bufferevent_suspend_write_()
95 bufev_private->write_suspended |= what; in bufferevent_suspend_write_()
102 struct bufferevent_private *bufev_private = BEV_UPCAST(bufev); in bufferevent_unsuspend_write_() local
[all …]
Dbufferevent_filter.c444 struct bufferevent_private *bufev_private = BEV_UPCAST(bufev); in be_filter_read_nolock_() local
448 EVUTIL_ASSERT(bufev_private->refcnt >= 0); in be_filter_read_nolock_()
451 if (bufev_private->refcnt > 0) { in be_filter_read_nolock_()
533 struct bufferevent_private *bufev_private = BEV_UPCAST(bev); in be_filter_writecb() local
539 EVUTIL_ASSERT(bufev_private->refcnt >= 0); in be_filter_writecb()
542 if (bufev_private->refcnt > 0) { in be_filter_writecb()
555 struct bufferevent_private *bufev_private = BEV_UPCAST(bev); in be_filter_eventcb() local
560 EVUTIL_ASSERT(bufev_private->refcnt >= 0); in be_filter_eventcb()
563 if (bufev_private->refcnt > 0) { in be_filter_eventcb()
Dbufferevent_ratelim.c926 struct bufferevent_private *bufev_private = BEV_UPCAST(bev); in bufferevent_get_token_bucket_cfg() local
931 if (bufev_private->rate_limiting) { in bufferevent_get_token_bucket_cfg()
932 cfg = bufev_private->rate_limiting->cfg; in bufferevent_get_token_bucket_cfg()