Lines Matching defs:ev
1051 isc_socketevent_t *ev = (isc_socketevent_t *)event;
1053 INSIST(ISC_LIST_EMPTY(ev->bufferlist));
1055 (ev->destroy)(event);
1062 isc_socketevent_t *ev;
1064 ev = (isc_socketevent_t *)isc_event_allocate(sock->manager->mctx,
1067 sizeof(*ev));
1068 if (ev == NULL)
1071 ev->result = ISC_R_IOERROR; // XXXMLG temporary change to detect failure to set
1072 ISC_LINK_INIT(ev, ev_link);
1073 ISC_LIST_INIT(ev->bufferlist);
1074 ev->region.base = NULL;
1075 ev->n = 0;
1076 ev->offset = 0;
1077 ev->attributes = 0;
1078 ev->destroy = ev->ev_destroy;
1079 ev->ev_destroy = destroy_socketevent;
1081 return (ev);