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 = in bufferevent_suspend_read_() local
72 if (!bufev_private->read_suspended) in bufferevent_suspend_read_()
74 bufev_private->read_suspended |= what; in bufferevent_suspend_read_()
81 struct bufferevent_private *bufev_private = in bufferevent_unsuspend_read_() local
84 bufev_private->read_suspended &= ~what; in bufferevent_unsuspend_read_()
85 if (!bufev_private->read_suspended && (bufev->enabled & EV_READ)) in bufferevent_unsuspend_read_()
93 struct bufferevent_private *bufev_private = in bufferevent_suspend_write_() local
96 if (!bufev_private->write_suspended) in bufferevent_suspend_write_()
98 bufev_private->write_suspended |= what; in bufferevent_suspend_write_()
105 struct bufferevent_private *bufev_private = 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.c929 struct bufferevent_private *bufev_private = BEV_UPCAST(bev); in bufferevent_get_token_bucket_cfg() local
934 if (bufev_private->rate_limiting) { in bufferevent_get_token_bucket_cfg()
935 cfg = bufev_private->rate_limiting->cfg; in bufferevent_get_token_bucket_cfg()