Lines Matching refs:what
323 be_async_enable(struct bufferevent *buf, short what)
335 if (what & EV_READ)
337 if (what & EV_WRITE)
343 if (what & EV_READ)
345 if (what & EV_WRITE)
351 be_async_disable(struct bufferevent *bev, short what)
358 if (what & EV_READ) {
362 if (what & EV_WRITE) {
404 be_async_flush(struct bufferevent *bev, short what,
445 short what = BEV_EVENT_READING;
465 what |= BEV_EVENT_ERROR;
467 bufferevent_run_eventcb_(bev, what, 0);
469 what |= BEV_EVENT_EOF;
471 bufferevent_run_eventcb_(bev, what, 0);
484 short what = BEV_EVENT_WRITING;
508 what |= BEV_EVENT_ERROR;
510 bufferevent_run_eventcb_(bev, what, 0);
512 what |= BEV_EVENT_EOF;
514 bufferevent_run_eventcb_(bev, what, 0);