Lines Matching refs:be_ops
72 bufev->be_ops->disable(bufev, EV_READ); in bufferevent_suspend_read()
85 bufev->be_ops->enable(bufev, EV_READ); in bufferevent_unsuspend_read()
96 bufev->be_ops->disable(bufev, EV_WRITE); in bufferevent_suspend_write()
109 bufev->be_ops->enable(bufev, EV_WRITE); in bufferevent_unsuspend_write()
298 bufev->be_ops = ops; in bufferevent_init_common()
422 if (impl_events && bufev->be_ops->enable(bufev, impl_events) < 0) in bufferevent_enable()
447 if (bufev->be_ops->adj_timeouts) in bufferevent_set_timeouts()
448 r = bufev->be_ops->adj_timeouts(bufev); in bufferevent_set_timeouts()
490 if (bufev->be_ops->disable(bufev, event) < 0) in bufferevent_disable_hard()
505 if (bufev->be_ops->disable(bufev, event) < 0) in bufferevent_disable()
571 if (bufev->be_ops->flush) in bufferevent_flush()
572 r = bufev->be_ops->flush(bufev, iotype, mode); in bufferevent_flush()
621 if (bufev->be_ops->destruct) in _bufferevent_decref_and_unlock()
622 bufev->be_ops->destruct(bufev); in _bufferevent_decref_and_unlock()
650 mm_free(((char*)bufev) - bufev->be_ops->mem_offset); in _bufferevent_decref_and_unlock()
738 if (bev->be_ops->ctrl) in bufferevent_setfd()
739 res = bev->be_ops->ctrl(bev, BEV_CTRL_SET_FD, &d); in bufferevent_setfd()
751 if (bev->be_ops->ctrl) in bufferevent_getfd()
752 res = bev->be_ops->ctrl(bev, BEV_CTRL_GET_FD, &d); in bufferevent_getfd()
763 if (bev->be_ops->ctrl) in _bufferevent_cancel_all()
764 bev->be_ops->ctrl(bev, BEV_CTRL_CANCEL_ALL, &d); in _bufferevent_cancel_all()
785 if (bev->be_ops->ctrl) in bufferevent_get_underlying()
786 res = bev->be_ops->ctrl(bev, BEV_CTRL_GET_UNDERLYING, &d); in bufferevent_get_underlying()