Lines Matching refs:ev_read
391 r = bufferevent_add_event_(&bev->ev_read, &bev->timeout_read); in start_reading()
415 r = bufferevent_add_event_(&bev->ev_read, in start_writing()
431 event_del(&bev->ev_read); in stop_reading()
845 event_del(&bev_ssl->bev.bev.ev_read); in consider_reading()
971 if (event_initialized(&bev->ev_read) && fd < 0) { in be_openssl_auto_fd()
972 fd = event_get_fd(&bev->ev_read); in be_openssl_auto_fd()
990 if (event_initialized(&bev->ev_read)) { in set_open_callbacks()
991 rpending = event_pending(&bev->ev_read, EV_READ, NULL); in set_open_callbacks()
994 event_del(&bev->ev_read); in set_open_callbacks()
998 event_assign(&bev->ev_read, bev->ev_base, fd, in set_open_callbacks()
1006 r1 = bufferevent_add_event_(&bev->ev_read, &bev->timeout_read); in set_open_callbacks()
1033 int fd = event_get_fd(&bev_ssl->bev.bev.ev_read); in do_handshake()
1098 if (event_initialized(&bev->ev_read)) { in set_handshake_callbacks()
1099 event_del(&bev->ev_read); in set_handshake_callbacks()
1103 event_assign(&bev->ev_read, bev->ev_base, fd, in set_handshake_callbacks()
1311 data->fd = event_get_fd(&bev_ssl->underlying->ev_read); in be_openssl_ctrl()
1313 data->fd = event_get_fd(&bev->ev_read); in be_openssl_ctrl()