Lines Matching full:partner
54 struct bufferevent *partner = ctx; in readcb() local
59 if (!partner) { in readcb()
63 dst = bufferevent_get_output(partner); in readcb()
70 bufferevent_setcb(partner, readcb, drained_writecb, in readcb()
72 bufferevent_setwatermark(partner, EV_WRITE, MAX_OUTPUT/2, in readcb()
81 struct bufferevent *partner = ctx; in drained_writecb() local
85 bufferevent_setcb(bev, readcb, NULL, eventcb, partner); in drained_writecb()
87 if (partner) in drained_writecb()
88 bufferevent_enable(partner, EV_READ); in drained_writecb()
104 struct bufferevent *partner = ctx; in eventcb() local
123 if (partner) { in eventcb()
128 bufferevent_get_output(partner))) { in eventcb()
132 bufferevent_setcb(partner, in eventcb()
135 bufferevent_disable(partner, EV_READ); in eventcb()
139 bufferevent_free(partner); in eventcb()