Home | History | Annotate | Download | only in libevent

Lines Matching full:epdp

211 grow(struct evport_data *epdp, int factor)
214 int oldsize = epdp->ed_nevents;
218 check_evportop(epdp);
220 tmp = mm_realloc(epdp->ed_fds, sizeof(struct fd_info) * newsize);
223 epdp->ed_fds = tmp;
224 memset((char*) (epdp->ed_fds + oldsize), 0,
226 epdp->ed_nevents = newsize;
228 check_evportop(epdp);
239 reassociate(struct evport_data *epdp, struct fd_info *fdip, int fd)
244 if (port_associate(epdp->ed_port, PORT_SOURCE_FD,
251 check_evportop(epdp);
265 struct evport_data *epdp = base->evbase;
296 if (epdp->ed_pending[i] != -1) {
297 fdi = &(epdp->ed_fds[epdp->ed_pending[i]]);
301 int fd = epdp->ed_pending[i];
302 reassociate(epdp, fdi, fd);
303 epdp->ed_pending[i] = -1;
309 res = port_getn(epdp->ed_port, pevtlist, EVENTS_PER_GETN,
333 check_evportop(epdp);
335 epdp->ed_pending[i] = fd;
357 EVUTIL_ASSERT(epdp->ed_nevents > fd);
358 fdi = &(epdp->ed_fds[fd]);
363 check_evportop(epdp);