Home
last modified time | relevance | path

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

/freebsd/contrib/ntp/sntp/libevent/
H A Dbufferevent.c69 struct bufferevent_private *bufev_private = BEV_UPCAST(bufev); in bufferevent_suspend_read_()
80 struct bufferevent_private *bufev_private = BEV_UPCAST(bufev); in bufferevent_unsuspend_read_()
91 struct bufferevent_private *bufev_private = BEV_UPCAST(bufev); in bufferevent_suspend_write_()
102 struct bufferevent_private *bufev_private = BEV_UPCAST(bufev); in bufferevent_unsuspend_write_()
244 struct bufferevent_private *p = BEV_UPCAST(bufev); in bufferevent_run_readcb_()
260 struct bufferevent_private *p = BEV_UPCAST(bufev); in bufferevent_run_writecb_()
288 struct bufferevent_private *p = BEV_UPCAST(bufev); in bufferevent_run_eventcb_()
484 struct bufferevent_private *bufev_private = BEV_UPCAST(bufev); in bufferevent_enable()
559 struct bufferevent_private *bufev_private = BEV_UPCAST(bufev); in bufferevent_disable_hard_()
597 struct bufferevent_private *bufev_private = BEV_UPCAST(bufev); in bufferevent_setwatermark()
[all …]
H A Dbufferevent_sock.c102 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in bufferevent_socket_get_conn_address_()
110 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in bufferevent_socket_set_conn_address_fd_()
123 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in bufferevent_socket_set_conn_address_()
134 struct bufferevent_private *bufev_p = BEV_UPCAST(bufev); in bufferevent_socket_outbuf_cb()
152 struct bufferevent_private *bufev_p = BEV_UPCAST(bufev); in bufferevent_readcb()
233 struct bufferevent_private *bufev_p = BEV_UPCAST(bufev); in bufferevent_writecb()
383 struct bufferevent_private *bufev_p = BEV_UPCAST(bev); in bufferevent_socket_connect()
461 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in bufferevent_connect_getaddrinfo_cb()
499 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in bufferevent_socket_connect_hostname()
531 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in bufferevent_socket_get_dns_error()
[all …]
H A Dbufferevent_ratelim.c563 struct bufferevent_private *bevp = BEV_UPCAST(bev); in bufferevent_set_rate_limit()
739 struct bufferevent_private *bevp = BEV_UPCAST(bev); in bufferevent_add_to_rate_limit_group()
790 struct bufferevent_private *bevp = BEV_UPCAST(bev); in bufferevent_remove_from_rate_limit_group_internal_()
824 bevp = BEV_UPCAST(bev); in bufferevent_get_read_limit()
843 bevp = BEV_UPCAST(bev); in bufferevent_get_write_limit()
859 bevp = BEV_UPCAST(bev); in bufferevent_set_max_single_read()
873 bevp = BEV_UPCAST(bev); in bufferevent_set_max_single_write()
888 r = BEV_UPCAST(bev)->max_single_read; in bufferevent_get_max_single_read()
899 r = BEV_UPCAST(bev)->max_single_write; in bufferevent_get_max_single_write()
909 r = bufferevent_get_read_max_(BEV_UPCAST(bev)); in bufferevent_get_max_to_read()
[all …]
H A Dbufferevent-internal.h478 #define BEV_UPCAST(b) EVUTIL_UPCAST((b), struct bufferevent_private, bev) macro
486 struct bufferevent_private *locking = BEV_UPCAST(b); \
492 struct bufferevent_private *locking = BEV_UPCAST(b); \
H A 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()
H A Dbufferevent_async.c396 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in be_async_destruct()
H A Dbufferevent_openssl.c1207 if (BEV_UPCAST(bev_ssl->underlying)->refcnt < 2) { in be_openssl_unlink()
/freebsd/contrib/libevent/
H A Dbufferevent.c69 struct bufferevent_private *bufev_private = BEV_UPCAST(bufev); in bufferevent_suspend_read_()
80 struct bufferevent_private *bufev_private = BEV_UPCAST(bufev); in bufferevent_unsuspend_read_()
91 struct bufferevent_private *bufev_private = BEV_UPCAST(bufev); in bufferevent_suspend_write_()
102 struct bufferevent_private *bufev_private = BEV_UPCAST(bufev); in bufferevent_unsuspend_write_()
244 struct bufferevent_private *p = BEV_UPCAST(bufev); in bufferevent_run_readcb_()
260 struct bufferevent_private *p = BEV_UPCAST(bufev); in bufferevent_run_writecb_()
288 struct bufferevent_private *p = BEV_UPCAST(bufev); in bufferevent_run_eventcb_()
484 struct bufferevent_private *bufev_private = BEV_UPCAST(bufev); in bufferevent_enable()
559 struct bufferevent_private *bufev_private = BEV_UPCAST(bufev); in bufferevent_disable_hard_()
597 struct bufferevent_private *bufev_private = BEV_UPCAST(bufev); in bufferevent_setwatermark()
[all …]
H A Dbufferevent_sock.c102 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in bufferevent_socket_get_conn_address_()
110 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in bufferevent_socket_set_conn_address_fd_()
123 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in bufferevent_socket_set_conn_address_()
134 struct bufferevent_private *bufev_p = BEV_UPCAST(bufev); in bufferevent_socket_outbuf_cb()
152 struct bufferevent_private *bufev_p = BEV_UPCAST(bufev); in bufferevent_readcb()
233 struct bufferevent_private *bufev_p = BEV_UPCAST(bufev); in bufferevent_writecb()
383 struct bufferevent_private *bufev_p = BEV_UPCAST(bev); in bufferevent_socket_connect()
461 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in bufferevent_connect_getaddrinfo_cb()
499 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in bufferevent_socket_connect_hostname()
531 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in bufferevent_socket_get_dns_error()
[all …]
H A Dbufferevent_ratelim.c563 struct bufferevent_private *bevp = BEV_UPCAST(bev); in bufferevent_set_rate_limit()
739 struct bufferevent_private *bevp = BEV_UPCAST(bev); in bufferevent_add_to_rate_limit_group()
790 struct bufferevent_private *bevp = BEV_UPCAST(bev); in bufferevent_remove_from_rate_limit_group_internal_()
824 bevp = BEV_UPCAST(bev); in bufferevent_get_read_limit()
843 bevp = BEV_UPCAST(bev); in bufferevent_get_write_limit()
859 bevp = BEV_UPCAST(bev); in bufferevent_set_max_single_read()
873 bevp = BEV_UPCAST(bev); in bufferevent_set_max_single_write()
888 r = BEV_UPCAST(bev)->max_single_read; in bufferevent_get_max_single_read()
899 r = BEV_UPCAST(bev)->max_single_write; in bufferevent_get_max_single_write()
909 r = bufferevent_get_read_max_(BEV_UPCAST(bev)); in bufferevent_get_max_to_read()
[all …]
H A Dbufferevent-internal.h478 #define BEV_UPCAST(b) EVUTIL_UPCAST((b), struct bufferevent_private, bev) macro
486 struct bufferevent_private *locking = BEV_UPCAST(b); \
492 struct bufferevent_private *locking = BEV_UPCAST(b); \
H A 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()
H A Dbufferevent_async.c396 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in be_async_destruct()
H A Dbufferevent_openssl.c1207 if (BEV_UPCAST(bev_ssl->underlying)->refcnt < 2) { in be_openssl_unlink()