Home
last modified time | relevance | path

Searched refs:BEV_UPCAST (Results 1 – 6 of 6) sorted by relevance

/external/libevent/
Dbufferevent.c581 BEV_UPCAST(bufev); in _bufferevent_incref_and_lock()
591 struct bufferevent_private *d = BEV_UPCAST(donor);
592 struct bufferevent_private *r = BEV_UPCAST(recipient);
703 if (BEV_UPCAST(bufev)->lock) in bufferevent_enable_locking()
707 if (!lock && underlying && BEV_UPCAST(underlying)->lock) { in bufferevent_enable_locking()
708 lock = BEV_UPCAST(underlying)->lock; in bufferevent_enable_locking()
709 BEV_UPCAST(bufev)->lock = lock; in bufferevent_enable_locking()
710 BEV_UPCAST(bufev)->own_lock = 0; in bufferevent_enable_locking()
715 BEV_UPCAST(bufev)->lock = lock; in bufferevent_enable_locking()
716 BEV_UPCAST(bufev)->own_lock = 1; in bufferevent_enable_locking()
[all …]
Dbufferevent-internal.h376 #define BEV_UPCAST(b) EVUTIL_UPCAST((b), struct bufferevent_private, bev) macro
384 struct bufferevent_private *locking = BEV_UPCAST(b); \
390 struct bufferevent_private *locking = BEV_UPCAST(b); \
Dbufferevent_ratelim.c823 bevp = BEV_UPCAST(bev); in bufferevent_get_read_limit()
842 bevp = BEV_UPCAST(bev); in bufferevent_get_write_limit()
858 r = _bufferevent_get_read_max(BEV_UPCAST(bev)); in bufferevent_get_max_to_read()
868 r = _bufferevent_get_write_max(BEV_UPCAST(bev)); in bufferevent_get_max_to_write()
907 bevp = BEV_UPCAST(bev); in bufferevent_decrement_read_limit()
936 bevp = BEV_UPCAST(bev); in bufferevent_decrement_write_limit()
Dbufferevent_filter.c228 if (BEV_UPCAST(bevf->underlying)->refcnt < 2) { in be_filter_destruct()
Dbufferevent_async.c372 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in be_async_destruct()
Dbufferevent_openssl.c1189 if (BEV_UPCAST(bev_ssl->underlying)->refcnt < 2) { in be_openssl_destruct()