Lines Matching refs:ev_read
373 * ev_read and ev_write) start reading. Take the read-blocked-on-write flag
385 r = _bufferevent_add_event(&bev->ev_read, &bev->timeout_read);
394 * ev_read and ev_write) start writing. Take the write-blocked-on-read flag
406 r = _bufferevent_add_event(&bev->ev_read,
422 event_del(&bev->ev_read);
465 if (bev->enabled & EV_READ)
477 if (!(bev->enabled & EV_READ))
733 if (! (bev->bev.bev.enabled & EV_READ)) {
832 !(bev_ssl->bev.bev.enabled & EV_READ)) {
833 event_del(&bev_ssl->bev.bev.ev_read);
969 fd = event_get_fd(&bev->ev_read);
971 rpending = event_pending(&bev->ev_read, EV_READ, NULL);
973 event_del(&bev->ev_read);
976 event_assign(&bev->ev_read, bev->ev_base, fd,
977 EV_READ|EV_PERSIST, be_openssl_readeventcb, bev_ssl);
981 r1 = _bufferevent_add_event(&bev->ev_read, &bev->timeout_read);
1073 fd = event_get_fd(&bev->ev_read);
1075 event_del(&bev->ev_read);
1078 event_assign(&bev->ev_read, bev->ev_base, fd,
1079 EV_READ|EV_PERSIST, be_openssl_handshakeeventcb, bev_ssl);
1083 r1 = _bufferevent_add_event(&bev->ev_read, &bev->timeout_read);
1135 if (events & EV_READ)
1141 if (events & EV_READ)
1146 if (events & EV_READ)
1161 if (events & EV_READ)
1167 if (events & EV_READ)
1183 event_del(&bev->ev_read);
1225 if (event_pending(&bev->ev_read, EV_READ, NULL))
1226 r1 = _bufferevent_add_event(&bev->ev_read, &bev->timeout_read);
1266 data->fd = event_get_fd(&bev->ev_read);
1355 bufferevent_setwatermark(underlying, EV_READ, 0, 0);
1356 bufferevent_enable(underlying, EV_READ|EV_WRITE);
1361 bev_ssl->bev.bev.enabled = EV_READ|EV_WRITE;
1364 if (event_add(&bev_ssl->bev.bev.ev_read, NULL) < 0)