Home
last modified time | relevance | path

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

/external/libevent/
Dbufferevent.c660 BEV_UPCAST(bufev); in bufferevent_incref_and_lock_()
670 struct bufferevent_private *d = BEV_UPCAST(donor);
671 struct bufferevent_private *r = BEV_UPCAST(recipient);
817 if (BEV_UPCAST(bufev)->lock) in bufferevent_enable_locking_()
821 if (!lock && underlying && BEV_UPCAST(underlying)->lock) { in bufferevent_enable_locking_()
822 lock = BEV_UPCAST(underlying)->lock; in bufferevent_enable_locking_()
823 BEV_UPCAST(bufev)->lock = lock; in bufferevent_enable_locking_()
824 BEV_UPCAST(bufev)->own_lock = 0; in bufferevent_enable_locking_()
829 BEV_UPCAST(bufev)->lock = lock; in bufferevent_enable_locking_()
830 BEV_UPCAST(bufev)->own_lock = 1; in bufferevent_enable_locking_()
[all …]
Dbufferevent_ratelim.c827 bevp = BEV_UPCAST(bev); in bufferevent_get_read_limit()
846 bevp = BEV_UPCAST(bev); in bufferevent_get_write_limit()
862 bevp = BEV_UPCAST(bev); in bufferevent_set_max_single_read()
876 bevp = BEV_UPCAST(bev); in bufferevent_set_max_single_write()
891 r = BEV_UPCAST(bev)->max_single_read; in bufferevent_get_max_single_read()
902 r = BEV_UPCAST(bev)->max_single_write; in bufferevent_get_max_single_write()
912 r = bufferevent_get_read_max_(BEV_UPCAST(bev)); in bufferevent_get_max_to_read()
922 r = bufferevent_get_write_max_(BEV_UPCAST(bev)); in bufferevent_get_max_to_write()
929 struct bufferevent_private *bufev_private = BEV_UPCAST(bev); in bufferevent_get_token_bucket_cfg()
978 bevp = BEV_UPCAST(bev); in bufferevent_decrement_read_limit()
[all …]
Dbufferevent-internal.h446 #define BEV_UPCAST(b) EVUTIL_UPCAST((b), struct bufferevent_private, bev) macro
454 struct bufferevent_private *locking = BEV_UPCAST(b); \
460 struct bufferevent_private *locking = BEV_UPCAST(b); \
Dbufferevent_filter.c240 if (BEV_UPCAST(bevf->underlying)->refcnt < 2) { in be_filter_unlink()
444 struct bufferevent_private *bufev_private = BEV_UPCAST(bufev); in be_filter_read_nolock_()
533 struct bufferevent_private *bufev_private = BEV_UPCAST(bev); in be_filter_writecb()
555 struct bufferevent_private *bufev_private = BEV_UPCAST(bev); in be_filter_eventcb()
Dbufferevent_async.c374 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in be_async_destruct()
Dbufferevent_openssl.c1203 if (BEV_UPCAST(bev_ssl->underlying)->refcnt < 2) { in be_openssl_unlink()